Re: [O] freemind.el does not convert org links to links in Freemind
This is how Freedmind natively outputs the same link: http://orgmode.org"; MODIFIED="1348041668536" POSITION="right" TEXT="test"/> I am not much at reading elisp, but it seems that the following code in org-freemind.el might be intended to achieve the above result. (defun org-freemind-convert-links-helper (matched) "Helper for `org-freemind-convert-links-from-org'. MATCHED is the link just matched." (let* ((link (match-string 1 matched)) (text (match-string 2 matched)) (ext (file-name-extension link)) (col-pos (org-string-match-p ":" link)) (is-img (and (image-type-from-file-name link) (let ((url-type (substring link 0 col-pos))) (member url-type '("file" "http" "https") ) (if is-img ;; Fix-me: I can't find a way to get the border to "shrink ;; wrap" around the image using . ;; ;; (concat "" ;; "" ;; "" ;; "" text "" ;; "") (concat "" "" "" "" text "" "") (concat "" text "" (defun org-freemind-convert-links-from-org (org-str) "Convert org links in ORG-STR to freemind links and return the result." (let ((fm-str (replace-regexp-in-string ;;(rx (not (any "[\"")) ;;(submatch ;; "http" ;; (opt ?\s) ;; "://" ;; (1+ ;; (any "-%.?@a-zA-Z0-9()_/:~=" "[^\"[]\\(http ?://[--:#%&()=?-Z_a-z~]+\\)" "[[\\1][\\1]]" org-str nil ;; fixedcase nil ;; literal 1 ;; subexp ))) (replace-regexp-in-string ;;(rx "[[" ;; (submatch (*? nonl)) ;; "][" ;; (submatch (*? nonl)) ;; "]]") "\\[\\[\\(.*?\\)]\\[\\(.*?\\)]]" ;;"\\2" 'org-freemind-convert-links-helper fm-str t t))) I am not trying to muddy the waters here, it is just that when I type a link into org-mode, I do not seem to get a usable freemind link as a result. On Tue, Sep 18, 2012 at 10:12 PM, Bill Day wrote: > Sorry, yes, I mistyped -- it is org-freemind.el. > > When I type: > > * Mind Map > ** test [[http://orgmode.org][Org Mode]] > > I get this: > > > > > http://orgmode.org][Org Mode]]"> > > > > > Is this the expected behavior? > > > > On Tue, Sep 18, 2012 at 3:30 AM, Bastien wrote: > >> Hi Bill, >> >> Bill Day writes: >> >> > I am using org-mode 7.9.1 and Freemind 0.9.0. Freemind.el seems to >> > convert nodes from org to Freemind with no problem, but it simply >> > copies the code for links from org to Freemind without converting >> > it. >> >> I'm not sure i understand -- are you talking about org-freemind.el? >> >> >> http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-freemind.el;hb=HEAD >> >> > Has anyone else had this problem? >> >> AFAIU I don't. >> >> This link in .org: >> >> A [[http://orgmode.org][link]]. >> >> gets exported as >> >> A http://orgmode.org";>link. >> >> in .mm >> >> HTH, >> >> -- >> Bastien >> > > > > -- > Bill Day > williamson@gmail.com > -- Bill Day williamson@gmail.com
Re: [O] html publish - typo in contrib/lisp/org-e-publish.el
Robert Klein writes: > Hi, there is a typo in org-e-publish.el. Publishing xxx.org results in a > file xxxhtml instead of xxx.html. Applied, thanks. -- Bastien
Re: [O] Same look and feel for clocktable and columnview
Hi Buddy (!), Buddy Butterfly writes: > I therefore ask, if it would be possible to have columnview and > clocktable be merged to have same functionality, look and feel? This is not possible. The clock table is actual text in your .org file, whereas the column view is just a special display of the your headlines, with some handy editing features. To get the column view display to be more like a clock table, you can use the CLOCKSUM (and CLOCKSUM_T) properties. But if i understand your request correctly, what you really want is to change the clock table itself. The column view editing features cannot be used in a clock table. But we surely can have more properties for the clocktable, so that it looks like exactly the way you want. The best way to move forward from here is to isolate small enhancements to the clock table and to describe them as separate feature requests. Hope you'll have time to do this! Thanks, -- Bastien
Re: [O] ELPA org-mode daily build(s)?
Hi Jason, Jason Dunsmore writes: > I linked /usr/bin/emacs to /usr/local/bin/emacs. Hopefully that will > fix it. Apparently it did, as the ELPA package has been correctly created. Thanks! -- Bastien
Re: [O] state of the art for html5 presentations?
John Hendy writes: >> You'll need to clone impress.js repo and copy over the js and css >> directories, to the directory of your html file. The README gives >> instructions for the same [ >> https://github.com/kinjo/org-impress-js.el#quick-start ] Great! I added this to Worg. -- Bastien
Re: [O] freemind.el does not convert org links to links in Freemind
Hi Bill, Bill Day writes: > Sorry, yes, I mistyped -- it is org-freemind.el. > > When I type: > > * Mind Map > ** test [[http://orgmode.org][Org Mode]] > > I get this: > > > > > http://orgmode.org][Org Mode]]"> > > > > > Is this the expected behavior? Nope. I fixed this by inserting the label of the link instead. So you should get HTH, -- Bastien
Re: [O] Habit setup help needed
Hi robert, Robert Horn writes: > It's blue until the > exclaimation point (18 September), then it has a red background, and the > future is red. This is captured on Tuesday, 18 september. > > Habit: HABIT [#A] Weekly GTD revi * ! > :home: (Providing a small screenshot will make it easier to get this idea?) > I thought that it should be blue from the asterisk until monday, because > that is the completed period. Then I expected green until friday, > because that's the interval from scheduled start work until the > deadline. Then I expected red for the time past the deadline. > > What is the right changes to make to get that effect? I'm trying to > capture that something should be done once per week, on a weekday. I'm not into habits very much, perhaps John and/or others might reply. -- Bastien
Re: [O] Digest configuration
Hi James, James Harkins writes: > So I suppose the maximum digest size is already configurable without > logging an issue with the mailman devs. Okay, I'll check this with the emacs-orgmode@ admins. Thanks, -- Bastien
[O] GTD in org mode - in which project is this action ?
Hi all, I've discovered emacs org-mode a few days ago, and I think I've finally found the tool I've been looking for for monthes. I'm a PhD student and I feel the need to organize my thoughts tasks and notes. I would like to implement a GTD-like workflow in org-mode. I used to use tiddlywiki ([mGSD]) and would like to find a similar workflow in orgmode. I have several projects, in different areas (research, administrative, etc.) for my work and my personal life. In each project, I would like to have a project's description, some todos, and a history (logbook). I've read this page [http://orgmode.org/worg/org-gtd-etc.html] and some of the tutorials related to GTD. However I'm still having (at least) one question. Given an action in a project, I would like to see the action's project in the agenda view, and even better, to order actions by project (or by context, then by project). Does somebody have any hints on how to do that ? Below is an export of the .org file I made for myself to determine how to implement my worflow. This is inspired by different tutorials and posts from this mailing list. There are still some open questions... Again, any hints are welcome ! Thanks ! Clement [mGSD]: http://mgsd-docs.tiddlyspace.com/ 1 Basic workflow : --- - catch everything in a scratch file - every week, empty scratch file and organize process information, refile TODOs, create projects, etc. Go through every active project and choose next actions (change state from TODO to NEXT). - DO things ! get a list of NEXT actions (using agenda view ?) in a given context. Possibly filter actions according to realm (personal/work) and area (administrative, research, etc.). Actions should also be ordered according to their projects. It would be something like : - Context 1 - project 1 - list of actions - project 2 - list of actions - Context 2 *I think the main difficulty is to get the project to which the action belongs as it is only a heading above the action. My first question is : should I use properties, tags , something else ?* 2 File organisation I will probably use different files for the different areas. - *scratch.org* (for quicknotes,todos, ideas of projects, to be organized/refiled later on during the weekly review) - Work inbox.org: tasks without project or things to be refiled (maybe redundant with the SCRATCH file?) research.org: some ongoing and or longterm projects bibliography: does not really contains projects but scientific notes about the articles I read, with TODOs/NEXT for things to read, tags.. One entry for each article. Maybe organised under some main entries. Project will often have links to bibliogrpahy entries. development: code development administrative: - Personal inbox.org: problem : same name as the work inbox (maybe use Pinbox and Winbox) perso.org: no need for now to make areas for personal things *Is there any way ( interest ?) to use subfolders to separate Work from Personal things ?* 3 Project -- 3.1 Project's contents : = 3.1.1 project description ~~ *Should I put it under another headline (description, outcome) or directly under the project's headline ? Any thoughts about this ?* Must be easily exported in html to a website giving an overview of my current research work (PUBLIC) . 3.1.2 Action list: ~~~ Actions will not published or in restricted acces (RESTRICTED, this means at least two levels of publication). *Use property for that ?* Each action has * status : - TODO : an action - NEXT : a TODO set to NEXT during weekly review, directly actionable. Record a time stamp to be able to identify next actions which stay too long in this status - WAITING : not actionable right now. Record a time stamp and note to explain what i am waiting for. I would also like to list actions that should be done by the person X (my boss, a colleague, etc.) and export it to html (then to a restricted acces webpage, or sent by email, or whatever). *Should I use a tag with the name of the person, or a property "WAITING_ON:" ?* - DONE : record a time stamp to be able to make a list of actions done during last week / month and export it (RESTRICTED). - CANCELED this is done either with : 1. "#+TODO: TODO(t) NEXT(n!) WAIT(w@/!) | DONE(d!) CANCELED(c@)" in each file's header 2. The following code in the .emacs (setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n!)" "WAIT(w@/!)" "|" "DONE(d!)" "CANCELED(c@)"))) * contexts (as few as possible) Use tags - :@office: - :@home: - :@errands: - :@offline: 3.1.3 Project's logbook Record of every step in the project, with time stamps, after project description and list of actions. (Possibly published on website ?, RESTRICTED/PUBLIC). 3.2 Area = - is given by the file in which it is contained (i.e category) - usefull to easily filter tasks
Re: [O] LaTeX export problem
Hi Gary, Gary Oberbrunner writes: > Using a recent git checkout of org-mode (f51c405), the following small > org-mode file produces invalid LaTeX. I'm pretty sure it used to > work. The \alpha and \beta seem to be what confuses it. > > ---snip > * Scorecards > ** Product Releases > | *Product* | *\alpha* | *\beta* | *Release* | *Status* | > |---+--+-+---+--| > | test | a| b | c | d| > ---snip > > Open this with emacs -Q (emacs 24), load org-mode, and C-c C-e C-d to > export as LaTeX, you get the following error: The new LaTeX exporter does the right thing here. You can experiment with it or wait until it is part of core. Thanks, -- Bastien
Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?
Luis Anaya writes: > In terms of its interface, it's pretty nifty, but the real magic happens > because it's running within an editor. Exactly. It'd be somehow ironical for Emacs to mimic the features of a software that uses an editor to mimic the features of a shell, especially given the fact many consider Emacs an operating system. :) -- Bastien
Re: [O] babel for ditaa-eps
Hi Eric, Eric Schulte writes: > Oh yes, I used file-name-nondirectory instead of file-name-directory, > and forgot the customization documentation. Here's updated version. Feel free to apply this in master -- thanks to Arne Luis and you! -- Bastien
Re: [O] freemind.el does not convert org links to links in Freemind
Hi Bill, Bill Day writes: > This is how Freedmind natively outputs the same link: Thanks -- I've now implemented this. I won't fix org-freemind.el any further though, first because going through the code is quite adventurous (congrats for your courage here) and second because I think org-e-freemind.el is under its way. Thanks for giving the helpful example, -- Bastien
Re: [O] Erroneous "No such file or directory" with babel and remote dir
Hi Loris, "Loris Bennett" writes: > I have updated from 7.8.something to 7.9.1 and evaluating the following > source block: > > ,-- > | #+header: :cache no :eval query > | #+name: sacct-output > | #+begin_src sh :exports both :dir /root@xx: > | module load shared slurm > | sacct -d -S 2011-11-01 | grep JOB_TERMINATED | cut -d ' ' -f 4,23 | grep -v > ' 0$' > | #+end_src > `-- > > used to work, but now produces the error: Can you try to bisect and find the bad commit (or a set of suspicious ones)? Thanks, -- Bastien
Re: [O] GTD in org mode - in which project is this action ?
Hi Clément, Clément Mayet writes: > Given an action in a project, I would like to > see the action's project in the agenda view, and even better, to > order actions by project (or by context, then by project). Does > somebody have any hints on how to do that ? My top-level headlines are projects and they get a :CATEGORY: property. That way I can easily restrict agenda views to projects (C-c C-x < in the project's headline) or filter agenda items through projects (i.e. through category) by hitting `<' in the agenda view. HTH, -- Bastien
Re: [O] Invalid function: with-parsed-tramp-file-name with Perl
Hi Lorise, "Loris Bennett" writes: > I have just updated to emacs 24.2.50.1 and org 7.9-32-g805a9f-elpa and > am having this problem again even with an ECM. Commenting out the > declaration as suggested above no longer helps. > > Any suggestions? Can you share the Perl script that is not working, and show the R one that works? (The declare-function in ob.el is fine by the way.) -- Bastien
Re: [O] FR: ASCII remove extra lines
Hi Samuel, Samuel Wales writes: > Here is a paragraph. > > # this is a paragraph, which i decided to comment out, but > # is separate from the previous and next paragraphs. > > Currently, ASCII export will create extra blank lines. This > is undesirable. Actually the new exporter behaves correctly here and does not add extra blank lines. -- Bastien
Re: [O] org-habit config tinypatch
Hi Robert, Robert Horn writes: > As a naive user of customize I > would expect that going to the org-habit group would automatically > trigger applying the org-habit customizations. It triggers the org-habit customizations as set from org-habit.el through all the defcustoms, not from your .emacs.el file. To trigger the customizations of your .emacs.el file you have to load your .emacs file and your custom file (C-h v custom-file RET). When loading .emacs, if some org-habit values differ from their default values in org-habit.el, they will be advertized as changed outside the customize interface. I'm not sure I get what's not intuitive here :) -- Bastien
Re: [O] state of the art for html5 presentations?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/09/12 18:52, John Hendy wrote: > On Tue, Sep 18, 2012 at 10:20 AM, Puneeth Chaganti > wrote: >> On Tue, Sep 18, 2012 at 8:24 PM, John Hendy wrote: [..] >>> >>> Has anyone used this? I just cloned it and created the example >>> presentation. For Chromium, >>> Google-Chrome, and Firefox on Linux, I get messages that my browser is not >>> supported. Is >>> there some specific plugin I'm supposed to have for this to work? What is >>> it, exactly, that >>> it's finding missing? >> >> You'll need to clone impress.js repo and copy over the js and css >> directories, to the >> directory of your html file. The README gives instructions for the same [ >> https://github.com/kinjo/org-impress-js.el#quick-start ] > > Got ahead of myself and missed that. This. Is. Awesome. Sounds impressive! Could you please provide a small example of an org file and how the exported html5 presentation looks? Thanks, Rainer > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBZg+MACgkQoYgNqgF2egrngACfYdZp0zfFzfbGhsMNdkuefxPo E/EAn0GxGcwZMnso6Oe4Hf6s/6L/Xuv7 =rXp9 -END PGP SIGNATURE-
Re: [O] [PATCH] Resolve regexp ambiguity for item headers
Hi, Nicolas Goaziou writes: >> * The regular expression matches completely empty headlines, so maybe >> the intention is to allow matching items with just a todo keyword? > > Yes, it is. FWIW I confirm it is. > Note that I'm not convinced by empty headlines nor do I use them, but as > an outliner, Org should accept them nonetheless. Indeed. I once removed the support for empty headlines but Carsten reminded me that we always supported them, so we should continue to support them. > The question is: how much of the code base shares this opinion? Well, hopefully stating the above with clear things up -- and make it easier to find out of some parts of the code don't support empty headlines. -- Bastien
Re: [O] org-metaup / org-metadown nerfed in 7.9.1
Hi Trevor, Trevor Vartanoff writes: > I updated to 7.9.1 from 7.8.11 and was quite surprised to receive nasty > "Cannot drag element backward" messages when I tried to use org-metaup and > org-metadown to move text around. It is hard to understand the problem without an example. When did you get the message and why was it not appropriate? > Why was this done? The origin of the org-meta{up/down} feature was to be able to move table lines one by one. By a small generalization, org-meta{up/down} also moved lines up/down outside of tables. The idea behind the current behavior is to think in terms of elements, not in terms of lines -- which is good IMHO. (A line is an element of a table, so moving line by line here is the right thing to do.) > How do I get back to one stroke functionality? I'm > afraid I'm not properly understanding the release notes or mailing list > archives. Please explain the problem a bit more. Thanks! -- Bastien
Re: [O] Extra space between list items in HTML export
Hi Richard, Richard Stanton writes: > To work around this, I use h:2 (say) so that I can make my TODO > items third-level headers and have them printed as an itemized list, as > desired. With the new behavior, this seems impossible, but I can't believe > I'm the only person for whom this is a useful capability. Using the new HTML exporter with this file: #+OPTIONS: H:2 num:t toc:nil * one ** two *** three *** three (bis) I get an enumerated list for "three" and "three (bis)" -- maybe I lost track of what the problem was, but this looks like what you are looking for, doesn't it? Thanks, -- Bastien
Re: [O] GTD in org mode - in which project is this action ?
Thank you Bastien for your quick answer. My understanding of the C-c C-x < command is that you restrict the agenda view to one headline (i;e project in our case). How do you use the :CATEGORY: property then ? Do you copy the project's name in that property (or something shorter that makes you remember wich project it is) ? Clément 2012/9/19 Bastien > Hi Clément, > > Clément Mayet writes: > > > Given an action in a project, I would like to > > see the action's project in the agenda view, and even better, to > > order actions by project (or by context, then by project). Does > > somebody have any hints on how to do that ? > > My top-level headlines are projects and they get a :CATEGORY: property. > > That way I can easily restrict agenda views to projects (C-c C-x < in > the project's headline) or filter agenda items through projects (i.e. > through category) by hitting `<' in the agenda view. > > HTH, > > -- > Bastien >
Re: [O] babel for ditaa-eps
Hi Eric, Eric Schulte writes: > Should we distribute the DitaaEps.jar with Org-mode in the same manner > as we now distribute ditaa.jar? If we have permission to do this then lets do it. -- Bastien
Re: [O] [BABEL][BUG] lists and inline src
Hi Chuck, cbe...@tajo.ucsd.edu writes: > My apologies if this is already reported (I recall seeing something like > this, but cannot find it in the archives). > > A list element starting with an inline src block is improperly > parsed. I cannot reproduce this with Org 7.9.1. -- Bastien
Re: [O] [OT] Org spotted in the wild
Hi Michael, Michael Strey writes: > mosh.mit.edu was built with the Twitter Bootstrap CSS framework. > See http://twitter.github.com/bootstrap/. Beautiful! I'll still to the current design (with upcoming minor improvements) mainly because I want to generate the orgmode.org website with .org files. But bootstrap really looks like something I can reuse for other projects. Thanks for the link! -- Bastien
Re: [O] [PATCH] Resolve regexp ambiguity for item headers
Thanks for clearing it up Bastien, Nicolas, do you have the patch somewhere so that I can take a look at it? Best wishes, Mats Kindahl On 09/19/2012 11:14 AM, Bastien wrote: > Hi, > > Nicolas Goaziou writes: > >>> * The regular expression matches completely empty headlines, so maybe >>> the intention is to allow matching items with just a todo keyword? >> Yes, it is. > FWIW I confirm it is. > >> Note that I'm not convinced by empty headlines nor do I use them, but as >> an outliner, Org should accept them nonetheless. > Indeed. I once removed the support for empty headlines but Carsten > reminded me that we always supported them, so we should continue to > support them. > >> The question is: how much of the code base shares this opinion? > Well, hopefully stating the above with clear things up -- and make > it easier to find out of some parts of the code don't support empty > headlines. > -- Senior Principal Software Developer Oracle, MySQL Department
Re: [O] Problem with paragraph fill / tab in lists
Hi Anthony, Anthony Lander writes: > If I start typing a definition list and let emacs wrap the text, I get this: > > - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv > lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv > lkjsdn klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv > lkjsnd Yep, correct. > If I turn autofill off (so all the text goes on one line, and then I M-x > fill-paragraph RET, I get this: > > - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv > lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv lkjsdn > klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv lkjsnd Mhh.. I don't get this, I get the description item as in your previous example. > And if I take the above with the text lined up under the word "test", and I > hit tab on the 2nd line, I get this: > > - test :: dsfjknv sldfknv lksdjnv lksdjnv lksdjnv lkjsdv lkjsdnv lkjsdnv > lkjnsdv lkjdsnv lkjnsdv lkjsndlv kjnsdv lkjsdnv lkjnsd lvkjsndv > lkjsdn > klvjsnd fvlkjsdnfv lksjdn vlksdjnv lkjsdnv lkjsdnv lkjsdnv lkjsnd Which is correct. > So it looks like autofill and tab indent are not doing the same > thing. I *think* this started in 7.9. Or at least, I recall it working > correctly in 7.8 :) Can you confirm this error happens with no configuration (emacs -Q)? Thanks, -- Bastien
Re: [O] org-habit config contd
Hi Robert, Robert Horn writes: > There is more to this bug. Please reply in the same thread if this is the same bug. > I don't think there is a problem with my > patch, but it doesn't fix it on all systems. It fixed things on my Mac, > but not on Linux or Windows. Did you check my fix? > Blessed with a lack of understanding for exactly what is going on I find > that changing the line in .emacs for custom-set-variables from: > > '(org-habit-show-all-today t) > > to > > '(org-habit-show-all-today t t) > > Makes the error go away. Not sure what error we are talking about... please let me know. Thanks, -- Bastien
Re: [O] Invalid function: with-parsed-tramp-file-name with Perl
Hi Bastien, Bastien writes: > Hi Lorise, > > "Loris Bennett" writes: > >> I have just updated to emacs 24.2.50.1 and org 7.9-32-g805a9f-elpa and >> am having this problem again even with an ECM. Commenting out the >> declaration as suggested above no longer helps. >> >> Any suggestions? > > Can you share the Perl script that is not working, and show the R one > that works? Nothing works now, not even #+BEGIN_SRC sh :file tmp.txt :dir /x@xxx: echo hostname #+END_SRC > (The declare-function in ob.el is fine by the way.) Loris -- no sig is good sig
Re: [O] Is it possible to automatically set the timestamp recorded in a CLOSED: annotation to a different time than now?
Hi Gaizka, Gaizka Villate writes: > I then adjust it manually to set it to the last clocked-out timestamp > (which, for me, is the last time I spent working on it). I introduced `org-use-last-clock-out-time-as-effective-time' which lets you do this automatically. You can test it from the git master branch for now, it will be in the next major release. Thanks for this idea! -- Bastien
Re: [O] GTD in org mode - in which project is this action ?
Hi Clément, Clément Mayet writes: > Thank you Bastien for your quick answer. > My understanding of the C-c C-x < command is that you restrict the > agenda view to one headline (i;e project in our case). How do you use > the :CATEGORY: property then ? Do you copy the project's name in that > property (or something shorter that makes you remember wich project > it is) ? I use something short, but the top-level headlines are short too. For example, this is my "Org-mode" project: * Org-mode :PROPERTIES: :CATEGORY: Org :END: ** blabla ** blabla -- Bastien
Re: [O] GTD in org mode - in which project is this action ?
Thank you ! That could do the trick. However I planned to use categories (in fact file names) for the different areas (Personnal, Work, Research, Administrative). If I do as you suggest, I could probably use tags for these areas instead of category... Clément 2012/9/19 Bastien > Hi Clément, > > Clément Mayet writes: > > > Thank you Bastien for your quick answer. > > My understanding of the C-c C-x < command is that you restrict the > > agenda view to one headline (i;e project in our case). How do you use > > the :CATEGORY: property then ? Do you copy the project's name in that > > property (or something shorter that makes you remember wich project > > it is) ? > > I use something short, but the top-level headlines are short too. > > For example, this is my "Org-mode" project: > > * Org-mode > :PROPERTIES: > :CATEGORY: Org > :END: > > ** blabla > ** blabla > > -- > Bastien >
Re: [O] Invalid function: with-parsed-tramp-file-name with Perl
Hi Loris, "Loris Bennett" writes: > Nothing works now, not even > > #+BEGIN_SRC sh :file tmp.txt :dir /x@xxx: > echo hostname > #+END_SRC Maybe you don't have permission to read the /tmp/ dir on the remote machine? Anyway, it's hard to debug with so little information. -- Bastien
Re: [O] GTD in org mode - in which project is this action ?
Clément Mayet writes: > Thank you ! That could do the trick. However I planned to use > categories (in fact file names) for the different areas (Personnal, > Work, Research, Administrative). If I do as you suggest, I could > probably use tags for these areas instead of category... You're welcome. FWIW, I use files for areas/contexts and tags for type of actions (reading, writing, coding, buying, giving a phone call, etc.) -- Bastien
Re: [O] Is it possible to automatically set the timestamp recorded in a CLOSED: annotation to a different time than now?
Wow! It works great! Thanks a lot!! -- Gaizka El día 19/09/12 11:37 +0200, Bastien escribió: > Hi Gaizka, > > Gaizka Villate writes: > > > I then adjust it manually to set it to the last clocked-out timestamp > > (which, for me, is the last time I spent working on it). > > I introduced `org-use-last-clock-out-time-as-effective-time' which lets > you do this automatically. You can test it from the git master branch > for now, it will be in the next major release. > > Thanks for this idea! >
[O] [bug] External style file for export of agenda view
Hello, When you want to export an agenda view with your own CSS, you must do the following: #+begin_src emacs-lisp (setq org-agenda-export-html-style "") #+end_src If you don't put the `style' tag, the above is simply ignored. Though, and that's the bug, that line is copied "verbatim" in the exported HTML: --8<---cut here---start->8--- Summary Review - Aviva ETE ... --8<---cut here---end--->8--- And that's not correctly interpreted by the browsers (tested with Firefox and Chrome). Instead, the `style' tags must not be provided. But the effect of the `setq' is void, currently... Best regards, Seb -- Sebastien Vauban
Re: [O] Invalid function: with-parsed-tramp-file-name with Perl
Bastien writes: > Hi Loris, > > "Loris Bennett" writes: > >> Nothing works now, not even >> >> #+BEGIN_SRC sh :file tmp.txt :dir /x@xxx: >> echo hostname >> #+END_SRC > > Maybe you don't have permission to read the /tmp/ dir > on the remote machine? > > Anyway, it's hard to debug with so little information. In the *Org-Babel Error Output* buffer, I get the following: /bin/bash: /scpc:x@xx:/tmp/sh-script-7472puH: No such file or directory But the file exists on the remote server: $ ls -l /tmp/sh-script-7472puH -rwxr-xr-x 1 xx xx 15 Sep 19 11:20 /tmp/sh-script-7472puH And if I execute it on the remote server, I get the expected result: $ /tmp/sh-script-7472puH xx So it seems that the call to the temporary file fails. Is the method /scpc: new? I don't recall seeing it before (but, then again, it used to work before, so I never saw an error message ...). Loris -- no sig is good sig
[O] insonsistency in source code at http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html
a bit more pedantry, but i'm currently collecting examples of org/beamer processing to see how well i can reproduce them, and at org's own example here: http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html if you follow the link in footnote 1, you see the alleged .org source as containing: ... snip ... #+LINK_UP: #+LINK_HOME: #+startup: oddeven #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+latex_header: \mode{\usetheme{Madrid}} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) %4BEAMER_col(Col) %7BEAMER_extra(Extra) * Introduction ... snip ... but if you click on the button "Show Org Source" at the very bottom, you see: ... snip ... #+LINK_UP: #+LINK_HOME: #+startup: oddeven * Introduction ... snip ... quite simply, the two sources are not the same, which might confuse some folks (for me, the first example will be processed, while the second won't be). in any event, it would be useful if the source was displayed consistently. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday
Re: [O] Visibility cycling with inline tasks
Hi Christopher, Christopher Witte writes: > I have a document with lots of inline tasks scattered throughout it. I > want to get an overview of the document so I use S- to cycle to > CONTENTS, when I do that all of the inline tasks are displayed like > this: You can add this hook: (add-hook 'org-cycle-hook (lambda (state) (when (eq state 'contents) (hide-sublevels 6 > Should this be the default? Is this also the behaviour that other > people expect? I tend to think this should be the default but I'm not using inline tasks at all, so I'll wait other users' feedback on this. HTH, -- Bastien
[O] [PATCH] Don't force the
>From db344fd8a05b11174508e2de864f2fb788ea0f29 Mon Sep 17 00:00:00 2001 From: Fabrice Niessen Date: Wed, 19 Sep 2012 12:10:20 +0200 Subject: [PATCH] Don't force the tag to be present in `org-agenda-export-html-style' * org-agenda.el (org-agenda-write-buffer-name): remove the test for the presence of