Re: [Orgmode] Modify time entry from agenda?
On 15 Sep 2010, at 01:20, Nathan Neff wrote: I think it would be really cool to be able to modify clock-in/clock-out times from the agenda. 1+ I often fid myself in the same situation. Having a 'roll edit' function would really kick you-know-what. I.e., you're clocked into task A, then clock into B, only an hour too late. And then, with a single magical C-R-S-M-Tab r keystroke you adjust *both* times at the same time: the end time of task A and the start time of task B. In general, it would help me a lot if there would be a way to check clocked times: warn/highlight larger gaps and overlaps, and provide some tools to fix found 'problems' easily. Keep on Orging! Peter. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Repeating tasks on specific days of the week
I had a similar question regarding scheduling habits, but didn't get an answer... I haven't done a great job of keeping up with those resolutions for now, but can anyone confirm that with org-habit, that kind of scheduling will result in a consistency graph displaying habit completion for that particular day of the week ? Cheers, Julien On Wed, Sep 15, 2010 at 7:00 AM, Jeff Horn jrhorn...@gmail.com wrote: Matt, Thanks for confirming that separate repeating tasks is the best solution. Best, Jeff On Mon, Sep 13, 2010 at 2:13 PM, Matt Lundin m...@imapmail.org wrote: Jeff Horn jrhorn...@gmail.com writes: Hi everyone! I was wondering how to create repeating tasks for, say, Tuesday and Thursday at noon. I found this on stack overflow: http://cl.ly/2K8c Is that really the best answer? Can this not be accomplished with symbolic expressions? Seems like a great feature for academics and students. Surely, I'm ignorant, and someone has a better solution than creating multiple repeating tasks? AFAIK, one cannot use complex symbolic expressions with repeating tasks; the moment a headline with such an expression is marked done, it is removed from the agenda. The only solution, at the moment, is to create different entries for each desired day of the week: --8---cut here---start-8--- * Tuesday task SCHEDULED: 2010-09-14 Tue +1w * Thursday task SCHEDULED: 2010-09-16 Thu +1w --8---cut here---end---8--- Best, Matt -- Jeffrey Horn PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Nested exports - Exporting a sub.org file while exporting main.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/09/10 20:57, Sébastien Vauban wrote: Hi Sebastian, Sebastian Rose wrote: Rainer M Krug r.m.k...@gmail.com writes: I want to export a subdocument (sub.org) while exporting a main document (main.org), but I am getting an Args out of range: 0,0 error message after the sub.org document is exported. Am I doing something wrong or is it not possible to have nested exports? in Org mode you would rather set up a special publishing project for such a task: (setq org-publish-project-alist [...] Rainer talks of exporting, hence the PDFLaTeX route, if he uses the right vocabulary. I was actually thinking about export to html, but the same error occurs when exporting to pdf. Rainer I have a serious impression that it's related to what I experience myself since a couple of days with LaTeX. Exactly the same message, in any case. See my post on http://www.mail-archive.com/emacs-orgmode@gnu.org/msg30148.html. Best regards, Seb - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyQd0oACgkQoYgNqgF2egruBQCfS+gesgo79FbupFhOcW2bwdJ7 kKUAoIl5nwcgHGOCGABaeHhqLmrKINLS =eXsV -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug? Inconsistency with org-publish-attachment
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a (sub)project for publishing a website. It uses org-publish-attachment with the recursive option. (static :base-directory ~/doc-aidan/foo/main/ :publishing-directory ~/doc-aidan/foo/published/ :publishing-function org-publish-attachment :recursive t :base-extension css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png) I have all the files scattered throughout the source directory's hierarchy. Their location is preserved when copied to the publishing directory /except/ for the images (I only have png images right now), which are just dumped in the root of the publishing directory. Is this a bug, or am I doing something wrong? - --Aidan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyQd9gACgkQjyzTRvYJmaV9ZwCeMvLOI9r2oPMnqRSFZsMTQaBg HcQAniaaYRetDC6MxUW7vKEtvt5ij2F+ =HmtP -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-drill : automatic recognition of double entries
I'm now using org-drll to learn some vocabulary. Very nice package, especially together with org-capture. After capturing words for some time it happens to catch a word as new for a second time. But as is the nature of unknown vocabulary you do not remember all those new words error free. Has anybody an idea how to recognise automatically, if a word was already entered in the vocabulary.org file? Best would be if it checked the existence of a word during the capturing process. My capturing template looks like this: (w Vocabulary entry (file+headline ~/Norwegisch/norwegisch.org Vokabeln ) * Wort \n:PROPERTIES:\n:DRILL_CARD_TYPE: twosided\n:END:\n\n norsk\n%^ \ n deutsch \n%^)) So I'd would like to be noticed of a doubled entry just after having filled in the first %^ . Any ideas for a refined workflow appreciated. Detlef ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: bug with link following --- a (partial) solution
Robert Goldman wrote: I believe I have narrowed down the problem to a more specific case. I have reexamined the bug I had, and as far as I can tell, it occurs because of the punctuation at the end of the header line. I am attaching a file that shows the funny behavior. I can link to a header titled Foobar correctly, but not one titled submit through submission site: Attempts to link to the one word header Bletch: also fail. Ah, now I see the problem: For some reason `org-store-link' removes the colon at the end of the headline. I reopended the issue as a bug; setting the aforementioned variable to nil might be considered a temporary work-around. Thanks, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp3GAQBwxJx7.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Nested exports - Exporting a sub.org file while exporting main.org
Hi Rainer, Rainer M Krug wrote: On 14/09/10 20:57, Sébastien Vauban wrote: Sebastian Rose wrote: Rainer M Krug r.m.k...@gmail.com writes: I want to export a subdocument (sub.org) while exporting a main document (main.org), but I am getting an Args out of range: 0,0 error message after the sub.org document is exported. in Org mode you would rather set up a special publishing project for such a task: (setq org-publish-project-alist [...] Rainer talks of exporting, hence the PDFLaTeX route, if he uses the right vocabulary. I have a serious impression that it's related to what I experience myself since a couple of days with LaTeX. Exactly the same message, in any case. See my post on http://www.mail-archive.com/emacs-orgmode@gnu.org/msg30148.html. I was actually thinking about export to html, but the same error occurs when exporting to pdf. So, you still can't export to PDF, because of that same message, right? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: org-feed customization group is called org-id (can't customize org-id)
Scot Becker wrote: In org-feed.el (line 105), the 'defgroup' entry for org-feed has the tag Org ID, which is the same tag as the group org-id (in 'org-id.el'). This has the result that you are unable to get to the real org-ID variables from the M-x customize-group RET org RET top level menu. The culprit: (defgroup org-feed nil Options concerning RSS feeds as inputs for Org files. :tag Org ID :group 'org) Fixed in master. The tag is now correctly set to Org Feed. Thanks for reporting, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpfIhOsJnxCl.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Nested exports - Exporting a sub.org file while exporting main.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/09/10 11:23, Sébastien Vauban wrote: Hi Rainer, Rainer M Krug wrote: On 14/09/10 20:57, Sébastien Vauban wrote: Sebastian Rose wrote: Rainer M Krug r.m.k...@gmail.com writes: I want to export a subdocument (sub.org) while exporting a main document (main.org), but I am getting an Args out of range: 0,0 error message after the sub.org document is exported. in Org mode you would rather set up a special publishing project for such a task: (setq org-publish-project-alist [...] Rainer talks of exporting, hence the PDFLaTeX route, if he uses the right vocabulary. I have a serious impression that it's related to what I experience myself since a couple of days with LaTeX. Exactly the same message, in any case. See my post on http://www.mail-archive.com/emacs-orgmode@gnu.org/msg30148.html. I was actually thinking about export to html, but the same error occurs when exporting to pdf. So, you still can't export to PDF, because of that same message, right? I can export a .org file to pdf and html, but when I have nested exports, i.e. when I have in one org file which I want to export to html or pdf, the following: #+begin_src emacs-lisp :exports none :results silent (switch-to-buffer (find-file-noselect rep.sim.org)) (org-export-as-pdf-and-open nil) (org-export-as-html-and-open nil) (kill-buffer rep.sim.org) #+end_src it aborts after executing the code block (i.e. rep.sim.org is exported to html as well as pdf) with the byte-code: Args out of range: 0, 0 error. So I assume, it is something different. Cheers, Rainer Best regards, Seb - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyQlTIACgkQoYgNqgF2egoHhACcDYNW5SdjT+TMWw+2OuC6Nzar edQAn1Wg68Wg7LqDoQBbZAwtDJPcWfC0 =iQaF -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [bug] Gnus author in capture templates not working
Hi David, David Maus wrote: Sébastien Vauban wrote: David Maus wrote: Sébastien Vauban wrote: I've tried enhancing my capture template for Gnus mail, by using the =%:author= variable: AFAIK %:author is not a defined property Gnus links (Cf. Manual, 9.1.3.2 Template expansion). Euh... I took it from the doc itself. See `C-h v org-capture-templates'. True enough. Fixed the doc string. I've tried =%:date= for capturing the date of the email. That does not work. Is there an alternative to do so? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-googlecl : enhancements - replace existing blog entries.
Richard Riley rile...@gmail.com writes: The org-googlecl package has been extended a little. http://splash-of-open-sauce.blogspot.com/2010/09/now-org-googlecl-supports-deleting-of_14.html It now detects if you try to blog an entry with the same title as an existing one and prompts you to view and/or remove one or more entries with the same name. Obviously very useful for just updating an entry (NB the url will change unfortunately). There is also a footer option and default labels (tags) if none are specified on the org entry you are blogging. Tags as labels for the blog is a welcome feature. It's working pretty cleanly now but any feedback appreciated - its a pretty handy complement to org-mode if you maintain a blogger/blogspot account. That's an understatement. Publishing from org to blogger is nearly transparent and takes only seconds to confirm the information (e.g. title, labels). It is a treat to use org-googlecl. Thank you Richard. Tim The elisp snippets you will see above were all blogged from my dotemacs files which are all in org files using this function. regards r. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] extremely weird bad sexp errors
Hi! For some strange reason, as of today, the combination %%(org-google-weather Hamburg DE) seems to be deeply offending, as I get a bad sexp error for it. %%(org-google-weather Hamburg) works, %%(org-google-weather Berlin DE) also works, %%(org-google-weather Hamburg DA) also works (as does any other german city or language I've tried). How could I provide debug information for this? toggle-debug-on-error and edebug-defun give me no cookies at all. A different issue: It seems I have to eval (require 'org-google-weather) manually. I have it in a private library org-config which I require from my main .emacs, but that also results in bad sexp errors (this time for both of my weather lines). -- Friedrich Delgado frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Babel+gnuplot on Worg
John Hendy jw.he...@gmail.com writes: Working on it... if you notice there are broken-linked images right now. The links are not broken anymore. I made a small change on Worg's setup: now images can simply be put in the same directory than files linking to them, and they will be exported in this very directory. HTH, PS: We use to be images on the Worg/images/ directory but I don't think this is really necessary. -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] questions about table mode and spreadsheets
Thanks for the helpful replies to question 2 but what about question 1? Any thoughts on how I can get org-mode to dynamically add an extra row? Thanks, -Emin On Tue, Sep 7, 2010 at 5:20 AM, Christian Moe m...@christianmoe.com wrote: On 9/7/10 2:56 AM, Juan wrote: A very complex way of not adding the extra column: | name | a | b | c | |--++---+---| | foo | 1 | 2 | 3 | | bar | 3 | 2 | 1 | | bar | 4 | 5 | 6 | |--++---+---| | | 7 | | | #+TBLFM: @5$2='(apply '+ (mapcar* (lambda(x y) (if (string= x bar) y 0)) '(@i$...@ii$1) '(@i$...@ii$2)));L * the two arguments at the end are the name and a columns: '(foo bar bar) and '(1 3 4) * the lambda function returns the second argument if first is bar, 0 otherwise. * mapcar* applies the lambda function to arguments from the 2 lists. * apply '+ adds the resulting list Regards, .j. Neat! This is what I wanted to achieve. Good thing I gave up, though, I see it would have kept me up all night. (And yes, I meant add a new /column/, not row.) If one wants to do this often (e.g., in the other two columns), one could tuck away some of the complexity into one's .emacs, and at the same time get away from hard-coding the match string, like so: #+begin_src elisp (defun vsumif (string x y) Sum values of Y for all X matching STRING. (apply '+ (mapcar* (lambda(x y) (if (string= x match) y 0)) x y))) #+end_src Now, one can e.g. put the string one is matching for in the table. Try updating the spreadsheet below, then changing `foo' in the bottom row (@5$1) to `bar' and updating again. | name | a | b | c | |--+---+---+---| | foo | 1 | 2 | 3 | | bar | 3 | 2 | 1 | | bar | 4 | 5 | 6 | |--+---+---+---| | bar | | | | #+TBLFM: @5$2='(vsumif '@5$1 '(@i$...@ii$1) '(@i$...@ii$2));L It's still a lengthy formula and not the easiest to write. If you'd like to add up all foos or bars for columns a, b and c, you may be better off swapping rows and columns so you can use column formulas: | | name | foo | bar | bar | bar | |---+--+-+-+-+-| | / ||| || | | | a| 1 | 3 | 4 | | | | b| 2 | 2 | 5 | | | | c| 3 | 1 | 6 | | #+TBLFM: $6='(vsumif '@1$6 '(@1$...@1$5) '($3..$5));L Again, replace `foo' in @1$6 with `bar' to get totals for bar. I have added vertical lines to the table. One could presumable write =vsumif= in a more general form that would not be hard-coded to test only for matching strings. The function defined above might be better named =vsumifstring=. Cheers, CM On Tue, Sep 07, 2010 at 12:44:03AM +0200, Christian Moe wrote: On 9/6/10 3:38 PM, Inquisitive Scientist wrote: 2. How do I compute the sum of a column only if a corresponding row matches some condition? For example, how do I compute the sum of numbers in column a for which the name in column name is bar? For example, I should get 7 for the sum in column a in the table below: | name | a | b | c | |--+---+---+---| | foo | 1 | 2 | 3 | | bar | 3 | 2 | 1 | | bar | 4 | 5 | 6 | |--+---+---+---| Here's one way: Add a new row sorry: meant add a new column after the first, as below. Then run C-c C-c on the formula line: | name | | a | b | c | |--+---+---+---+---| | foo | | 1 | 2 | 3 | | bar | | 3 | 2 | 1 | | bar | | 4 | 5 | 6 | |--+---+---+---+---| | | | | | | #+TBLFM: $2='(if (string= $1 bar) 1 0):: @5$3=vsum(vmask(@i$...@ii$2,@i...@ii)) It does exactly what you asked, but I don't think it will scale well... ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] suggestion/feature-request for dynamic blocks
Dear Experts, I'd like to make a suggestion/feature-request for people who write dynamic blocks (which are very cool): 1. It would be really handy to have a parameter of the form :tname NAME which puts a #+TBLNAME: NAME into the top of the table created by a dynamic block. This makes the dynamic table easy to reference from other things. 2. It would be even better to also provide a parameter of the form :dtname NAME which puts a #+TBLNAME: NAME-DATE into the top of the table where DATE is today's date. 3. It might be handy to have orgmode provide a predefined set of standard parameters and tools for writing those at the start end of the table so all dynamic block writers can get the benefit of nifty parameters with minimal effort. Thanks again for org-mode, -I.S. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: including holidays in agenda
henry atting nsmp_02 at online.de writes: calendar-holidays '(( (holiday-fixed 11 11 Elfter im Elften) (holiday-easter-etc -49 Estomihi) (holiday-easter-etc -48 Rosenmontag) (holiday-easter-etc -52 Weiberfasnacht) (holiday-float 12 0 -4 1. Advent 24))) only these holidays show up in org-agenda but not the emacs calendar holidays. How can I include both? Try adding new items to `calednar-holidays' and not overwriting the default holidays or setting `holiday-local-holidays' variable. HTH ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: todos without timestamp in agenda
On 09/14/2010 12:10 PM, henry atting wrote: On Di, Sep 14 2010, Eric S Fraga wrote: On Tue, 14 Sep 2010 08:27:48 +0200, henry atting nsmp...@online.de wrote: When I have some kind of todo items in an *.org file without timestamp they do not show up in the agenda. I can start the agenda with the appropriate shortcut then only these items are diplayed. But if I am already in org-agenda I have to quit then start again with the speacial agenda view. Is there a more comfortable way to simply switch the view when in org-agenda, or let these todo items show up in the first place (e.g. at the bottom of the agenda)? You don't have to quit the current view; simply ask for a new view by C-c a X where X is the particular short-cut. If you have your agenda in a separate frame, that frame will be updated. That simple?, great. I did not find it in the manual... Thanks henry You might also be interested in block agendas (see 10.6.2 Block agenda in the manual) if you want the normal TODO items to show up above or below your normal agenda. I use a custom block agenda to show (in this order): - the normal agenda - the contents of my inbox - normal TODO items tagged URGENT and IMPORTANT - normal TODO items tagged IMPORTANT - normal TODO items tagged URGENT - normal TODO items not tagged URGENT or IMPORTANT HTH, Jan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: including holidays in agenda
On Mi, Sep 15 2010, henry atting wrote: [...] calendar-holidays '(( (holiday-fixed 11 11 Elfter im Elften) (holiday-easter-etc -49 Estomihi) (holiday-easter-etc -48 Rosenmontag) (holiday-easter-etc -52 Weiberfasnacht) (holiday-float 12 0 -4 1. Advent 24))) only these holidays show up in org-agenda but not the emacs calendar holidays. How can I include both? Oop, I found in `customizing the calendar` the correct name of the variable is other-holidays instead of calendar-holidays. Now it works fine. -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Load macros from other files?
Is there a way to load macros from another file? The include command doesn't seeem to work. For example, the following does *not* work. macro.org: #+MACRO: hello Hello world and include.org: #+INCLUDE: ./macro.org {{{hello}}} I'm using org-mode 7.01g. --Thanks! Uriel Avalos ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Postgresql support for ob-sql.el
The attaches patch adds support to postgresql to ob-sql.el It achieves this in the same way the mysql support is done, by using the psql client with suitable command line arguments. Best, Harri Kiiskinen harki...@gmail.com diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index 4e1daa5..2636752 100644 --- a/lisp/ob-sql.el +++ b/lisp/ob-sql.el @@ -66,6 +66,8 @@ This function is called by `org-babel-execute-src-block'. (command (case (intern engine) ('mysql (format mysql %s -e \source %s\ %s (or cmdline ) in-file out-file)) + ('postgresql (format psql -A -P footer=off -F \\t\ -f %s -o %s %s + in-file out-file (or cmdline ))) (t (error no support for the %s sql engine engine) (with-temp-file in-file (insert (org-babel-expand-body:sql body params))) pgpPHCWkVFbUW.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: org-auto-repeat-maybe only updates first timestamp [7.01trans]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. If I have multiple timestamps in a TODO item, org-auto-repeat-maybe only advances the first one. In the following example, I'd like both the SCHEDULED and DEADLINE timestamps to advance when the item is marked DONE, but only the SCHEDULED timestamp advances. * TODO do something by Sunday but not until Friday SCHEDULED: 2010-09-17 Fri ++1w DEADLINE: 2010-09-19 Sun ++1w This behavior exists in HEAD as well as previous releases, including 7.01h. Emacs : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS apple-appkit-1038.11) of 2009-11-10 Package: Org-mode version 7.01trans ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Apply patch for hour/minute repeater support
This patch adds hour and minute granularity to repeaters. Let me know if there's interest in incorporating it, and I'll start the FSF paperwork process. Andrew Korty --- doc/org.texi |4 ++-- lisp/org-agenda.el |2 +- lisp/org.el| 27 +++ 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index d6ea141..e9ede5a 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -5006,8 +5006,8 @@ plain timestamp will be shown exactly on that date. @cindex timestamp, with repeater interval A timestamp may contain a @emph{repeater interval}, indicating that it applies not only on the given date, but again and again after a certain -interval of N days (d), weeks (w), months (m), or years (y). The -following will show up in the agenda every Wednesday: +interval of N minutes(M), hours(H), days (d), weeks (w), months (m), or +years (y). The following will show up in the agenda every Wednesday: @example * Pick up Sam at school 2007-05-16 Wed 12:30 +1w diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 9f94fa6..176c8f0 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4385,7 +4385,7 @@ the documentation of `org-diary'. (apply 'encode-time ; DATE bound by calendar (list 0 0 0 (nth 1 date) (car date) (nth 2 date 1 11)) - \\|\\([0-9]+-[0-9]+-[0-9]+[^\n]+?\\+[0-9]+[dwmy]\\) + \\|\\([0-9]+-[0-9]+-[0-9]+[^\n]+?\\+[0-9]+[MHdwmy]\\) \\|\\(%%\\(([^\n]+)\\)\\))) marker hdmarker deadlinep scheduledp clockp closedp inactivep donep tmp priority category ee txt timestr tags b0 b3 e3 head diff --git a/lisp/org.el b/lisp/org.el index 70dd482..ace8291 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -621,7 +621,7 @@ An entry can be toggled between QUOTE and normal with :type 'string) (defconst org-repeat-re - [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] [^\n]*?\\([.+]?\\+[0-9]+[dwmy]\\(/[0-9]+[dwmy]\\)?\\) + [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] [^\n]*?\\([.+]?\\+[0-9]+[MHdwmy]\\(/[0-9]+[dwmy]\\)?\\) Regular expression for specifying repeated events. After a match, group 1 contains the repeat expression.) @@ -11392,7 +11392,8 @@ This function is run automatically after each state change to a DONE state. (aa (assoc last-state org-todo-kwd-alist)) (interpret (nth 1 aa)) (head (nth 2 aa)) -(whata '((d . day) (m . month) (y . year))) +(whata '((M . minute) (H . hour) (d . day) (m . month) + (y . year))) (msg Entry repeats: ) (org-log-done nil) (org-todo-log-states nil) @@ -11429,7 +11430,7 @@ This function is run automatically after each state change to a DONE state. (setq type (if (match-end 1) org-scheduled-string (if (match-end 3) org-deadline-string Plain:)) ts (match-string (if (match-end 2) 2 (if (match-end 4) 4 0 - (when (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([dwmy]\\) ts) + (when (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([MHdwmy]\\) ts) (setq n (string-to-number (match-string 2 ts)) what (match-string 3 ts)) (if (equal what w) (setq n (* n 7) what d)) @@ -11438,13 +11439,15 @@ This function is run automatically after each state change to a DONE state. (setq time (save-match-data (org-time-string-to-time ts))) (cond ((equal (match-string 1 ts) .) - ;; Shift starting date to today + ;; Shift starting date to now (org-timestamp-change - (- (time-to-days (current-time)) (time-to-days time)) - 'day)) + (truncate (/ (- (time-to-seconds (current-time)) + (time-to-seconds time)) 60)) + 'minute)) ((equal (match-string 1 ts) +) (while (or (= nshift 0) -(= (time-to-days time) (time-to-days (current-time +(= (time-to-seconds time) + (time-to-seconds (current-time (when (= (incf nshift) nshiftmax) (or (y-or-n-p (message %d repeater intervals were not enough to shift date past today. Continue? nshift)) (error Abort))) @@ -11456,7 +11459,7 @@ This function is run automatically after each state change to a DONE state. ;; rematch, so that we have everything in place for the real shift (org-at-timestamp-p t) (setq ts (match-string 1)) - (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([dwmy]\\) ts + (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([MHdwmy]\\) ts (org-timestamp-change n (cdr (assoc what whata))) (setq msg (concat msg type org-last-changed-timestamp (setq org-log-post-message msg) @@ -14687,7 +14690,7 @@ The command returns the inserted
[Orgmode] Question: Repeating Items?
All, I fired up org-mode on my new machine, pulled my org files from source control, set my agenda files and agenda-key, attempted to view my agenda, and got the following. I've replaced some of the names with random characters for privacy, but events and todos are repeating themselves over and over and I can't seem to figure out why. Regards, Ken Example: Tuesday14 September 2010 em: Sched.11x: TODO Schedule Detectachem Monthly Review em: Sched.11x: TODO Detectachem Monthly Documentation em: Sched.11x: TODO Detectachem Monthly Billing em: Sched.11x: TODO Schedule Detectachem Monthly Review em: Sched.11x: TODO Detectachem Monthly Documentation em: Sched.11x: TODO Detectachem Monthly Billing em: Sched.11x: TODO Schedule Detectachem Monthly Review em: Sched.11x: TODO Detectachem Monthly Documentation em: Sched.11x: TODO Detectachem Monthly Billing em: Sched.11x: TODO Schedule Detectachem Monthly Review em: Sched.11x: TODO Detectachem Monthly Documentation em: Sched.11x: TODO Detectachem Monthly Billing em: Sched.11x: TODO Schedule Detectachem Monthly Review em: Sched.11x: TODO Detectachem Monthly Documentation em: Sched.11x: TODO Detectachem Monthly Billing em: Sched.10x: TODO Payroll em: Sched.10x: TODO Payroll em: Sched.10x: TODO Payroll em: Sched.10x: TODO Payroll em: Sched.10x: TODO Payroll pipe: In -31 d.: TODO Research wireless security for credit card transactions. pipe: In -31 d.: TODO Research wireless security for credit card transactions. pipe: In -31 d.: TODO Research wireless security for credit card transactions. pipe: In -31 d.: TODO Research wireless security for credit card transactions. pipe: In -31 d.: TODO Research wireless security for credit card transactions. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug? Inconsistency with org-publish-attachment
I have a (sub)project for publishing a website. It uses org-publish-attachment with the recursive option. (static :base-directory ~/doc-aidan/windmill-hill/main/ :publishing-directory ~/doc-aidan/windmill-hill/published/ :publishing-function org-publish-attachment :recursive t :base-extension css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png) I have all the files scattered throughout the source directory's hierarchy. Their location is preserved when copied to the publishing directory /except/ for the images (I only have png images right now), which are just dumped in the root of the publishing directory. Is this a bug, or am I doing something wrong? --Aidan signature.asc Description: Digital signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex export of subtree not working for me
Dear all, I would like to export only a subtree of an org file to PDF via Latex (ultimately using the package beamer). When doing export/publish (C-c C-e) I am given a menu with options, including the options only export current subtree and publish enclosing subtree. If I choose any of these and then select a publishing command (e.g., export to Latex), then I get the following error. org-export: Symbol's function definition is void: activate-mark What am I missing? BTW: I am using the latest org mode version (just did git pull) with Aquamacs 1.9 on MacOS 10.5. Thank you very much! Best Torsten Anders ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Load macros from other files?
Dear Uriel, it should work if you use setupfile instead of include: #+setupfile: macro.org Warm regards, Stefan On 15.09.2010, at 15:58, amscopub-m...@yahoo.com wrote: Is there a way to load macros from another file? The include command doesn't seeem to work. For example, the following does *not* work. macro.org: #+MACRO: hello Hello world and include.org: #+INCLUDE: ./macro.org {{{hello}}} I'm using org-mode 7.01g. --Thanks! Uriel Avalos ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: voll...@nf.mpg.de http://www.nf.mpg.de smime.p7s Description: S/MIME cryptographic signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Wed, Sep 15, 2010 at 6:51 AM, Bastien bastien.gue...@wikimedia.frwrote: John Hendy jw.he...@gmail.com writes: Working on it... if you notice there are broken-linked images right now. The links are not broken anymore. I made a small change on Worg's setup: now images can simply be put in the same directory than files linking to them, and they will be exported in this very directory. The images are indeed there. Thanks! Should this be the standard practice now? Images for something in Worg/org-contrib/babel/languages/ob-doc_*.org should be kept in the same directory? Also, is there a list of the directories that are published and those that are not? For example, I also put a downloadable example file here: http://orgmode.org/worg/org-contrib/babel/examples/org-babel-gnuplot.org It's in the same place as the downloadable file for org-plot ( http://orgmode.org/worg/org-tutorials/org-plot.org). org-plot.org is active but org-babel-gnuplot.org is not... I'm just wondering if the Worg instructions on how to contribute should include a directory tree of some sort so that the newer contributors like myself are on the same page as everyone else? Thanks for the assistance, John HTH, PS: We use to be images on the Worg/images/ directory but I don't think this is really necessary. -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: org-mhe creates corrupt link when Message-ID field contains newline [7.01trans]
Some MUAs insert a newline when rendering the Message-ID field: Message-ID: 98a78083733de040834c2b9e91b87fde0aa...@example.com The newline causes org-mhe-store-link to create a link that looks like [[mhe:%2Barchive# %2098a78083733de040834c2b9e91b87fde0aa...@example.com][subject]] org later treats the above as separate lines; any tags or properties added end up in the middle of the link. The following patch removes whitespace at the beginning of all header fields returned by org-mhe-get-header, correcting this problem and possibly others. Andrew Korty --- lisp/org-mhe.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el index 46340be..6810359 100644 --- a/lisp/org-mhe.el +++ b/lisp/org-mhe.el @@ -181,7 +181,7 @@ you have a better idea of how to do this then please let us know. (if (equal major-mode 'mh-folder-mode) (mh-show) (mh-show-show)) -header-field))) +(replace-regexp-in-string ^\\s-+ header-field (defun org-mhe-follow-link (folder article) Follow an MH-E link to FOLDER and ARTICLE. -- 1.7.2.3 Emacs : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS apple-appkit-1038.11) of 2009-11-10 on phrygian Package: Org-mode version 7.01trans ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-Mode API?
Hi! I want to write simple desktop widget for my todo list in org. I can parse output of org-agenda, but this way sucks. Is there any clear way to enumerate all events in file/buffer/whatelse with their properties (like todo state, deadline etc)? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-scan-tags
Another question: if org-map-continue-from is used to skip parts of the file, could that affect the correctness of org-scanner-tags? I.e. is any code that sets org-map-continue-from also responsible for updating org-scanner-tags? thanks, ilya On Tue, Sep 14, 2010 at 11:19 PM, Ilya Shlyakhter ilya_...@alum.mit.edu wrote: In org-scan-tags, if todo-only is t, would it be possible to speed things up by changingthe regexp go to just the lines with a TODO keyword? I.e. in (let* ((re (concat ^ outline-regexp *\\(( (mapconcat 'regexp-quote org-todo-keywords-1 \\|) (org-re )\\)? *\\(.*?\\)\\(:[[:alnum:]_@:]+:\\)?[ \t]*$))) remove the first ? if todo-only is t. Also, regexp-opt might make a more efficient regexp than mapconcat with regexp-quote. Reason for request: I'm writing an extension of org for setting checking goals, and want to quickly find entries with headlines of the form GOAL of which there may be relatively few in a large file. So, stepping through all entries and then checking them for the GOAL keyword is very inefficient. It would be much faster if the regexp included the GOAL as a keyword. It would be good if the parameter todo-only could be a list of strings, and org-scan-tags would return only the headlines where the todo keyword is from this list. It could use regexp-opt to make an efficient regexp for this. There also seem to be other opportunities for speeding up org-scan-tags in this way: e.g. if the match string includes +mytag, the regexp for the headline could include this as well. Similarly for properties. Maybe, org-make-tags-matcher could return a list of tags and properties that must appear in any matching entry. It would also help if the tags matcher expression could refer to text properties stored on the headline -- perhaps, with conditions such as :myprop=X (i.e. same as for org properties, but property name must be a keyword). It already does this for the 'org-category text property. Then one can e.g. mark entries representing unmet goals with text properties, and then use a regular org-tags-view to browse them in a sparsetree or an agenda. Thanks, ilya ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: todos without timestamp in agenda
Hi Jan, Jan Böcker wrote: I use a custom block agenda to show (in this order): - the normal agenda - the contents of my inbox - normal TODO items tagged URGENT and IMPORTANT - normal TODO items tagged IMPORTANT - normal TODO items tagged URGENT - normal TODO items not tagged URGENT or IMPORTANT Would you accept sharing your code for doing the above? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Question about local variables block
I've been putting local variables blocks at the bottom of some of my org-mode files (in particular, those files that I share with others). The problem is that having a local variables block at the bottom of the file, at least if it uses # as a virtual comment character, doesn't dovetail nicely with org's folding behavior. I find if I fold the bottom-most header line in such an org-mode file, my local variables block gets folded into that header inappropriately. So is there some way to format a local variables block at the bottom of a file so that org-mode knows that it's a local variables block and not part of the outline? thanks, r ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug? Inconsistency with org-publish-attachment
Aidan Gauland ai...@dimension8.tehua.net writes: I have a (sub)project for publishing a website. It uses org-publish-attachment with the recursive option. (static :base-directory ~/doc-aidan/windmill-hill/main/ :publishing-directory ~/doc-aidan/windmill-hill/published/ :publishing-function org-publish-attachment :recursive t :base-extension css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png) I have all the files scattered throughout the source directory's hierarchy. Their location is preserved when copied to the publishing directory /except/ for the images (I only have png images right now), which are just dumped in the root of the publishing directory. Is this a bug, or am I doing something wrong? It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Apply patch for hour/minute repeater support
On 14.09.2010 19:06, Andrew J. Korty wrote: This patch adds hour and minute granularity to repeaters. Let me know if there's interest in incorporating it, and I'll start the FSF paperwork process. There was a related discussion here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg15142.html Cheers, Martin ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-scan-tags
On Tue, Sep 14, 2010 at 11:19 PM, Ilya Shlyakhter ilya_...@alum.mit.edu wrote: There also seem to be other opportunities for speeding up org-scan-tags in this way: e.g. if the match string includes +mytag, the regexp for the headline could include this as well. Similarly for properties. Maybe, org-make-tags-matcher could return a list of tags and properties that must appear in any matching entry. Correction: org-make-tags-matcher would also need to return the list of _all_ tags/properties mentioned in the matcher, whose values should be inherited. The headline regexp would then need to match the mention of these tags/properties in entries, as well. It would also be good if org-scan-tags could be told to skip selected subtrees entirely (selected either by another matcher or a predicate passed in). ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-Mode API?
Le 15 Sep 2010 17:24, [AvataR] a écrit: I want to write simple desktop widget for my todo list in org. I can parse output of org-agenda, but this way sucks. Is there any clear way to enumerate all events in file/buffer/whatelse with their properties (like todo state, deadline etc)? I am not sure a separate parser really sucks. It would allow to work completely independently of Emacs, without depending on various hooks to guaranty synchronization between org files and you program data. I am currently writing a Python library for parsing org-file. The main goal is to build a kind of mobile-org for N900 and Maemo but it's designed to be enough generic for web applications or desktop applications. Currently, it only supports rebuilding the tree of an org file. There is no release but a public Darcs repository is available at: http://chadok.info/darcs/orgpy/ Cheers, Olivier ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-googlecl : enhancements - replace existing blog entries.
Tim Burt tcb...@rochester.rr.com writes: Richard Riley rile...@gmail.com writes: The org-googlecl package has been extended a little. http://splash-of-open-sauce.blogspot.com/2010/09/now-org-googlecl-supports-deleting-of_14.html It now detects if you try to blog an entry with the same title as an existing one and prompts you to view and/or remove one or more entries with the same name. Obviously very useful for just updating an entry (NB the url will change unfortunately). There is also a footer option and default labels (tags) if none are specified on the org entry you are blogging. Tags as labels for the blog is a welcome feature. You can now specify googlecl-blogged-tag : if set it will tag the org entries that you blog. That tag wont be transmitted to the actual blog. I'm wondering if a better idea is to log the url of any new blog as a property of an org entry (option based of course). Thoughts? it would mean you can instantly open your org entry blog item and edit as you see fit. In addition you can now set googlecl-auto-del to avoid delete prompts - it will just automatically delete any entires with the same title as your new blog. cheers r. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-Mode API?
On Wed, Sep 15, 2010 at 9:51 PM, Olivier Schwander olivier.schwan...@chadok.info wrote: I am currently writing a Python library for parsing org-file. The main goal is to build a kind of mobile-org for N900 and Maemo but it's designed to be enough generic for web applications or desktop applications. I'm not sure how much functionality it has, but you should look at orgnode.py http://members.optusnet.com.au/~charles57/GTD/orgnode.html -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Worg link broken
Aloha all, My browser says the link to http://orgmode.org/worg/org-contrib/babel/examples/article-class.php in http://orgmode.org/worg/org-contrib/babel/uses.php appears to be broken. The corresponding link works in the org file, so I'm guessing that something has gone wrong on the Worg end. All the best, Tom ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: org-mhe creates corrupt link when Message-ID field contains newline [7.01trans]
Andrew J. Korty wrote: Some MUAs insert a newline when rendering the Message-ID field: Message-ID: 98a78083733de040834c2b9e91b87fde0aa...@example.com The newline causes org-mhe-store-link to create a link that looks like [[mhe:%2Barchive# %2098a78083733de040834c2b9e91b87fde0aa...@example.com][subject]] org later treats the above as separate lines; any tags or properties added end up in the middle of the link. Thanks for reporting this bug. I've fixed it in master, but not using `replace-regexp-in-string' but Org's internal function to strip leading and trailing white space. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about local variables block
Robert Goldman rpgold...@sift.info writes: I've been putting local variables blocks at the bottom of some of my org-mode files (in particular, those files that I share with others). The problem is that having a local variables block at the bottom of the file, at least if it uses # as a virtual comment character, doesn't dovetail nicely with org's folding behavior. I find if I fold the bottom-most header line in such an org-mode file, my local variables block gets folded into that header inappropriately. So is there some way to format a local variables block at the bottom of a file so that org-mode knows that it's a local variables block and not part of the outline? Not that I'm aware of it. But you could use a special comment section: * COMMENT local varibles # Local Variables: # mode: org # fill-column: 70 # End: HTH Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: todos without timestamp in agenda
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Jan, Jan Böcker wrote: I use a custom block agenda to show (in this order): - the normal agenda - the contents of my inbox - normal TODO items tagged URGENT and IMPORTANT - normal TODO items tagged IMPORTANT - normal TODO items tagged URGENT - normal TODO items not tagged URGENT or IMPORTANT Would you accept sharing your code for doing the above? Just at that moment I wanted to ask the same... :) henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-Mode API?
I am currently writing a Python library for parsing org-file. The main goal is to build a kind of mobile-org for N900 and Maemo but it's designed to be enough generic for web applications or desktop applications. Heh. I do same shit for n810 :] But I have emacs there, and it works ok. I wrote simple script to export agenda via emacsclient to pipe, and now going to write simple home widget to write incoming data to desktop. Python is ok, but it eats additional memory. I don't like python on my tablet :] ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about local variables block
On 9/15/10 Sep 15 -12:06 PM, Sebastian Rose wrote: Robert Goldman rpgold...@sift.info writes: I've been putting local variables blocks at the bottom of some of my org-mode files (in particular, those files that I share with others). The problem is that having a local variables block at the bottom of the file, at least if it uses # as a virtual comment character, doesn't dovetail nicely with org's folding behavior. I find if I fold the bottom-most header line in such an org-mode file, my local variables block gets folded into that header inappropriately. So is there some way to format a local variables block at the bottom of a file so that org-mode knows that it's a local variables block and not part of the outline? Not that I'm aware of it. But you could use a special comment section: * COMMENT local varibles # Local Variables: # mode: org # fill-column: 70 # End: HTH Yes, thank you very much; that's exactly what I needed to know. best, R ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Templates - newline in string?
On Sep 14, 2010, at 5:14 PM, Sebastian Rose wrote: just type `C-q C-j' as you would do when searching for a string containing a newline and similar. Good! A valuable tip for searches too, I didn't know. Marco ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Remember item under specific :PROJECT:
Hello list, I wonder if there is a easy way to create a remember template that will file the item inside another item specified at runtime. The scenario is the following: I have a task that belongs to a project (project is any item tagged a :PROJECT:), I want to capture it under this item, so I would press C-c r and select a, let's say, NextAction template. This would ask me for the topic, tags *and then* the project it belongs to (would fetch the list from a specific org file, in my case, gtd.org). Would that be difficult to implement? Has anyone out there ever done something similar? Thanks, Marcelo. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] camel.el, for CamelCase links
*bump* On Mon, Sep 13, 2010 at 12:45 PM, Marcelo de Moraes Serpa celose...@gmail.com wrote: Hi guys -- I have pulled the last version from the repo which include org-wikinodes, but I don't see the line for the org-wikinodes module when customizing the org-modules variable. What should I do? Marcelo. On Sat, Aug 7, 2010 at 1:47 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Aug 3, 2010, at 6:27 PM, Bastien wrote: David O'Toole dto1...@gmail.com writes: http://github.com/dto/folio/blob/master/camel.el Someone asked about this recently, i have some partially working code. I'm willing to test. Can you provide the handlers so that the code works for Org? I'm not a big fan of CamelCase links because it encourages the habit of creating many files -- but that may be useful for some. I am not a big fan of CamelCase for two reasons: 1. as Bastien says, to creates many small files. Org does work with a number of files - I think it is less than perfect for a very large number of files. If you want to create many files, David O'Toole's implementation might work for you - also it is not limited to Org files. 2. Using CamelCase does encourage to write stuff in strange, hard to read syntax which conflicts with some words or names that should not be spelled like this, and which also does not look very good on export. THis is why most wikis have either stepped away from CamelCase, or added additional syntax, for example with brackets. In fact, for Org mode, it seems more natural to use outline nodes for the structure of a wiki, not files. Russel Adams suggested this in another thread: http://thread.gmane.org/gmane.emacs.orgmode/27442/focus=27465 With the change I just made to make [[..]] links match exact headlines and to offer headline creation when no match is found, I do find it simple enough to type [[My Heading]] or [[file:xyz.org::My Heading]] I have toyed with CamelCase in the past though. And since there seems to be at least some interest, I have just wrapped this code into a contributed package and linked it properly into the hyperlink and export mechanisms in Org. The modules is called org-wikinodes.el and it is documented here: http://orgmode.org/worg/org-contrib/org-wikinodes.php - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bibtex and latex export
Hi there, I'm trying to use org-mode to compose latex documents and I'm having a problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and everything works gracefully with respect to the latex code (the output is even prettier than I used to have patience to do only with latex), but bibtex isn't called. I've tried to fiddle with org-exp-bibtex, which is nice, but apparently it don't call bibtex either. I've tried to edit the function that calls pdflatex to include a call to bibtex, but to be honest I know zero about lisp, so I couldn't even edit a simple list of commands. :P (I must be the only emacs user in the world that can't write or read lisp... it would be swell if I could use haskell to extend emacs instead of lisp :P). How should I go about automatically including a call to bibtex whenever I want to export my org document as a pdf? Thanks for your time, and sorry to bore you with simple questions... --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Emacs version
Hi Sebastian, Sebastian Rose wrote: It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). I see that many of you already have Emacs 24. Did you build it yourself from the sources, or is there a package (in my case, for Ubuntu) that allows to get everything installed seamlessly? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bibtex and latex export
Rafael, I asked the same question last week :). http://www.mail-archive.com/emacs-orgmode@gnu.org/msg30073.html I've just now looked into the org-latex.el file, and found: (defcustom org-latex-to-pdf-process '(pdflatex -interaction nonstopmode -output-directory %o %f pdflatex -interaction nonstopmode -output-directory %o %f) Commands to process a LaTeX file to a PDF file. This is a list of strings, each of them will be given to the shell as a command. %f in the command will be replaced by the full file name, %b by the file base name (i.e. without extension) and %o by the base directory of the file. The reason why this is a list is that it usually takes several runs of pdflatex, maybe mixed with a call to bibtex. Org does not have a clever mechanism to detect which of these commands have to be run to get to a stable result, and it also does not do any error checking. Alternatively, this may be a Lisp function that does the processing, so you could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode. This function should accept the file name as its single argument. :group 'org-export-pdf :type '(choice (repeat :tag Shell command sequence (string :tag Shell command)) (function))) Looks like you can just customize that variable, easy! --Erik Rafael Calsaverini wrote: Hi there, I'm trying to use org-mode to compose latex documents and I'm having a problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and everything works gracefully with respect to the latex code (the output is even prettier than I used to have patience to do only with latex), but bibtex isn't called. I've tried to fiddle with org-exp-bibtex, which is nice, but apparently it don't call bibtex either. I've tried to edit the function that calls pdflatex to include a call to bibtex, but to be honest I know zero about lisp, so I couldn't even edit a simple list of commands. :P (I must be the only emacs user in the world that can't write or read lisp... it would be swell if I could use haskell to extend emacs instead of lisp :P). How should I go about automatically including a call to bibtex whenever I want to export my org document as a pdf? Thanks for your time, and sorry to bore you with simple questions... --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com mailto:rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Automate the writing of proposals (by using dynamic blocks)
Hi all, Can I bump up this thread? In particular, I want to draw attention of the following points: 1) Table column names in bold 2) Use two-decimal floats in cells - Writing them in Effort\_ALL with 2 decimals - Using formatting of decimals 3) Have an hline between individual tasks and total 4) Get rid of stars? 5) Use the total number of days? Thanks for your help. Seb Sébastien Vauban wrote: I'm trying to automate the writing of proposals. Just a couple of tasks to describe, to evaluate, and then put a price on the total amount. That's about it. Though, I have some problems making that dream a full reality yet, even if Org already makes me go really far! The following is an minimal example of what I try to achieve, and of the different problems and questions related to it. Thanks for helping. #+TITLE: Using columnview dynamic blocks #+AUTHOR:Seb Vauban #+DATE: 2010-09-08 #+LANGUAGE: en_US * Context ** Current implementation This is what I understood. ** Objectives This is what should be done. ** Tasks to do :PROPERTIES: :COLUMNS: %40ITEM(Task) %6Effort(Estim.){+} :Effort_ALL: 0.25 0.50 1.00 1.50 2.00 3.00 4.00 5.00 7.00 10.00 :ID: ddfb9674-ce79-4ecc-8699-da5af2c12f6b :END: *** Analyze the steps :PROPERTIES: :Effort: 0.25 :END: *** Implement the full chain :PROPERTIES: :Effort: 1.50 :END: *** Test the whole lot :PROPERTIES: :Effort: 3.00 :END: * Proposal ** Work Generated dynamic block: #+BEGIN: columnview :hlines 2 :id ddfb9674-ce79-4ecc-8699-da5af2c12f6b | Task | Estim. | |--+| | ** Tasks to do | 4.75 | | *** Analyze the steps| 0.25 | | *** Implement the full chain | 1.50 | | *** Test the whole lot | 3.00 | #+END: Though, I would like to get it more like this: #+TBLNAME: prestations | | \textbf{Task} | \textbf{Description} | \textbf{p.j} | |---+---+--+--| | | Task 1| Analyze the steps| 0.25 | | | Task 2| Implement the full chain | 1.50 | | | Task 3| Test the whole lot | 3.00 | |---+---+--+--| | # | | \textbf{Total} | 4.75 | | ^ | | |total | #+TBLFM: $total=vsum(@-...@-ii);%.2f Wait a minute! I did not say it must be exactly like that, but I would like, for example, to get rid of the multiple stars, and have an =hline= separating the total from the individual components of the sum. ** Finance Then, from the above, we can compute the cost to write in the proposal, like: | Total of prestations (in man days) |4.75 | m.d | | Daily rate | 400.00 | \EUR | | Total price| 1900.00 | \EUR | #+TBLFM: @1$2=remote(prestations,$total);%.2f::@3...@1$2*@2$2;%.2f * Problems, comments and questions 5 topics: ** Table column names in bold I would like (my boss, to be honest) to see the headings of the table in bold. Wait, this is minor, but I discovered something special when trying to do so. I put =*= around the word =Task= in the =:COLUMNS:= specification of the tasks subtree: #+begin_src org ,:COLUMNS: %40ITEM(Task) %6Effort(Estim.){+} #+end_src That automatically inserts an extra =hline= above the table. Quite weird, but OK. #+BEGIN: columnview :hlines 2 :id ddfb9674-ce79-4ecc-8699-da5af2c12f6b |--+| | *Task* | Estim. | |--+| | ** Tasks to do | 4.75 | | *** Analyze the steps| 0.25 | | *** Implement the full chain | 1.50 | | *** Test the whole lot | 3.00 | #+END: ** Use two-decimal floats in cells I needs amounts such as =0.25=, =0.50= and =1.50= as efforts. *** Writing them in Effort\_ALL with 2 decimals Writing the figures with 2 decimals in =Effort_ALL= has no impact on the presentation in the table... What you see in the table comes verbatim from the =Effort= property itself: if you get there 2 decimals, then you'll have 2 decimals in the table output. Though, having a 2-decimal in the property =Effort= gives troubles to the table editor: - Write =:Effort: 3.00=, then =S-right= that value: it begins back from =0.25=... - Write =:Effort: 3.0=, then =S-right= that value: it goes on to =4.0=. *** Using formatting of decimals Trying to declare how many decimals I want. For the sake of clarity, ask for 4 decimals: #+begin_src org ,:COLUMNS: %40ITEM(Task) %6Effort(Estim.){+;%.4f} #+end_src It only works for the total, though... Not applied to the column itself. #+BEGIN: columnview :hlines 2 :id ddfb9674-ce79-4ecc-8699-da5af2c12f6b | Task
Re: [Orgmode] Re: Repeating tasks on specific days of the week
You can schedule habits on particular days? That's good to know! On Wed, Sep 15, 2010 at 3:34 AM, Julien Fantin julien.fan...@gmail.com wrote: I had a similar question regarding scheduling habits, but didn't get an answer... I haven't done a great job of keeping up with those resolutions for now, but can anyone confirm that with org-habit, that kind of scheduling will result in a consistency graph displaying habit completion for that particular day of the week ? Cheers, Julien On Wed, Sep 15, 2010 at 7:00 AM, Jeff Horn jrhorn...@gmail.com wrote: Matt, Thanks for confirming that separate repeating tasks is the best solution. Best, Jeff On Mon, Sep 13, 2010 at 2:13 PM, Matt Lundin m...@imapmail.org wrote: Jeff Horn jrhorn...@gmail.com writes: Hi everyone! I was wondering how to create repeating tasks for, say, Tuesday and Thursday at noon. I found this on stack overflow: http://cl.ly/2K8c Is that really the best answer? Can this not be accomplished with symbolic expressions? Seems like a great feature for academics and students. Surely, I'm ignorant, and someone has a better solution than creating multiple repeating tasks? AFAIK, one cannot use complex symbolic expressions with repeating tasks; the moment a headline with such an expression is marked done, it is removed from the agenda. The only solution, at the moment, is to create different entries for each desired day of the week: --8---cut here---start-8--- * Tuesday task SCHEDULED: 2010-09-14 Tue +1w * Thursday task SCHEDULED: 2010-09-16 Thu +1w --8---cut here---end---8--- Best, Matt -- Jeffrey Horn PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Jeffrey Horn PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Emacs version
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: I see that many of you already have Emacs 24. Did you build it yourself from the sources, or is there a package (in my case, for Ubuntu) that allows to get everything installed seamlessly? I have added the following to my /etc/apt/sources.list ## Emacs snapshot deb http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main deb-src http://ppa.launchpad.net/portis25/emacs/ubuntu lucid main Best, HP -- Henri-Paul Indiogine Email: hindiog...@gmail.com Skype: hindiogine Website: http://people.cehd.tamu.edu/~sindiogine ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug? Inconsistency with org-publish-attachment
Sebastian Rose sebastian_rose at gmx.de writes: It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). I just figured out why: I store all my images in ~/images/ and just have symbolic links to them in my Org website directory. Can you reproduce it now that you have this piece of information? --Aidan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] pretty export of tags
Great. Thanks. Scot ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Any way to limit which subtrees to export based on TODO keywords?
I'm working up a way to print out my org-mode reading notes to individual half-sheets of paper. I'm using tags for content-related things, so I'd love to sort those notes which need to be printed from those notes which have been printed already by using TODO keywords. I don't think there is an inbuilt mechanism to do this. Can anyone suggest a mechanisim by which I might achieve a similar effect using TODO keywords (or, failing that, inheritable properties)? Scot ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Emacs version
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Sebastian, Sebastian Rose wrote: It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). I see that many of you already have Emacs 24. Did you build it yourself from the sources, or is there a package (in my case, for Ubuntu) that allows to get everything installed seamlessly? I build it from sources. I update about weekly. There are little bugs from time to time, but you could jump back to previous version if you use bzr or, highly recommended, git: http://repo.or.cz/w/emacs.git ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug? Inconsistency with org-publish-attachment
Aidan Gauland aidal...@no8wireless.co.nz writes: Sebastian Rose sebastian_rose at gmx.de writes: It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). I just figured out why: I store all my images in ~/images/ and just have symbolic links to them in my Org website directory. Can you reproduce it now that you have this piece of information? Ah, OK. That might be because of some call to (file-truename file...) or similar. `file-truename' removes symbolic links in filenames. Functions like this are called to make sure, the file is published only if needed (i.e. the file has changed since last export). I'm not sure currently if it's clever to remove such calls (see lisp/org-publish.el and search `file-truename'). Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] options and batch exporting
Hi all, Sorry if this has been answered before -- wasn't able to track down a solution on my own. I have an org-mode file that has a set of #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a shell script. Unfortunately, when I do so, it seems that the headers are being ignored. Any advice? I'm running: emacs --batch --load=$ORGPATH --visit=CA_Cell.org --funcall org-mode --funcall org-export-as-html where $ORGPATH is the path to org.el. The headers are the following: #+TITLE: CA\_Cell #+OPTIONS: H:3 num:nil toc:nil author:nil timestamp:nil creator:nil *:t #+STYLE: style type=text/css #+STYLE: html { font-family: helvetica, sans-serif; font-size: 12px } #+STYLE: .title { font-size: 18px; font-weight: bold; text-align: left } #+STYLE: ul { list-style: none; padding: 10px 0px 10px 27px } #+STYLE: h1 { font-size: 14px; font-weight: bold; } #+STYLE: h2 { font-size: 14px; font-weight: bold; } #+STYLE: h3 { font-size: 14px; font-weight: bold; } #+STYLE: /style (text follows...) Thanks! Samuel Potter sfpotter at uw dot edu not sfp dot list at gmail dot com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Apply patch for hour/minute repeater support
Martin Pohlack m...@os.inf.tu-dresden.de wrote: On 14.09.2010 19:06, Andrew J. Korty wrote: This patch adds hour and minute granularity to repeaters. Let me know if there's interest in incorporating it, and I'll start the FSF paperwork process. There was a related discussion here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg15142.html I must have missed that. I don't use hour repeaters in the daily/weekly agenda but in tags-todo lists with org-agenda-todo-ignore-scheduled set to 'future. I use them to remind me to do certain things every few hours, like check an incident queue. I also use them to tell me to check my mail, not because I'd forget that, but to keep me from checking it too frequently (I resist checking it until the todo appears). ajk ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] options and batch exporting
Samuel Potter sfp.l...@gmail.com writes: Hi all, Sorry if this has been answered before -- wasn't able to track down a solution on my own. I have an org-mode file that has a set of #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a shell script. Unfortunately, when I do so, it seems that the headers are being ignored. Any advice? I'm running: emacs --batch --load=$ORGPATH --visit=CA_Cell.org --funcall org-mode --funcall org-export-as-html where $ORGPATH is the path to org.el. This does not work here either. You'll need to set $ORGPATH to the path to your org-install.el. org-install.el is automatically build for you through sh$ make autoloads Best wishes Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] inline images in org-mode
I was looking for a way to put illustrations in my org-mode files so that I could actually look at them while editing the org stuff. I found a post a while ago suggesting using iimage mode (which is included with the Aquamacs that I use, and is readily available if you don't have it with your emacs). I found I needed to do a little customization to make iimage work for me, so I thought I would post the details in case they were useful to anyone else. Here's the bit I added to my org configuration to make this work: (add-hook 'org-mode-hook '(lambda () ;; unnecessary ;; (make-variable-buffer-local 'iimage-mode-image-filename-regex) (let ((file-extension-regex (regexp-opt (nconc (mapcar #'upcase image-file-name-extensions) image-file-name-extensions) t))) (setq iimage-mode-image-regex-alist (list (cons (concat \\[\\[ (regexp-quote file:) \\([^]]+\. file-extension-regex \\) \\] \\(\\[ \\([^]]+\\) \\]\\)? \\]) 1)) Note that this /only/ displays inline local (file) links, not http images. It wouldn't be hard to add that --- I built the above by copying and modifying the org-bracket-link-analytic-regexp variable initialization. If one wanted to put this more generally into org-mode, it would probably be right to make the iimage-mode-image-regex-alist be under control of some org customization (to handle local versus all images, etc.). I don't generally want iimage mode on in all of my org-mode buffers, so I use the file variables block to engage iimage mode where I want it. If you'd like it always to be on, then you can just add iimage-mode (it's a minor mode) to your org-mode-hook. Hope that's of interest to someone... Cheers, r ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] options and batch exporting
I tried the same script but pointing $ORGPATH to org-install.el, but still no luck... The export is still ignoring my #+OPTIONS and #+STYLE headers. Samuel Potter sfpotter at uw dot edu not sfp dot list at gmail dot com On Sep 15, 2010, at 5:15 PM, Sebastian Rose wrote: Samuel Potter sfp.l...@gmail.com writes: Hi all, Sorry if this has been answered before -- wasn't able to track down a solution on my own. I have an org-mode file that has a set of #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a shell script. Unfortunately, when I do so, it seems that the headers are being ignored. Any advice? I'm running: emacs --batch --load=$ORGPATH --visit=CA_Cell.org --funcall org-mode --funcall org-export-as-html where $ORGPATH is the path to org.el. This does not work here either. You'll need to set $ORGPATH to the path to your org-install.el. org-install.el is automatically build for you through sh$ make autoloads Best wishes Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Any way to limit which subtrees to export based on TODO keywords?
I'm not sure I understand the use case, but you can set which tags export on a per-file basis. http://orgmode.org/manual/Selective-export.html#Selective-export I read somewhere that :noexport: will prevent a subtree from being exported automatically, and I've used that to tag some notes, export to PDF, and print. On Wed, Sep 15, 2010 at 6:19 PM, Scot Becker scot.bec...@gmail.com wrote: I'm working up a way to print out my org-mode reading notes to individual half-sheets of paper. I'm using tags for content-related things, so I'd love to sort those notes which need to be printed from those notes which have been printed already by using TODO keywords. I don't think there is an inbuilt mechanism to do this. Can anyone suggest a mechanisim by which I might achieve a similar effect using TODO keywords (or, failing that, inheritable properties)? Scot ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Jeffrey Horn PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug? Inconsistency with org-publish-attachment
On Thu, Sep 16, 2010 at 12:40:34AM +0200, Sebastian Rose wrote: Aidan Gauland aidal...@no8wireless.co.nz writes: Sebastian Rose sebastian_rose at gmx.de writes: It would be a bug. But I cannot reproduce it (current Org mode from git, emacs24). I just figured out why: I store all my images in ~/images/ and just have symbolic links to them in my Org website directory. Can you reproduce it now that you have this piece of information? Ah, OK. That might be because of some call to (file-truename file...) or similar. `file-truename' removes symbolic links in filenames. Functions like this are called to make sure, the file is published only if needed (i.e. the file has changed since last export). I'm not sure currently if it's clever to remove such calls (see lisp/org-publish.el and search `file-truename'). What if `file-truename' was used only to get the path of the actual file to copy, but the (relative) path of the link is used as the destination? --Aidan signature.asc Description: Digital signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Emacs version
On 15 September 2010 15:31, Sebastian Rose sebastian_r...@gmx.de wrote: highly recommended, git: http://repo.or.cz/w/emacs.git I wasn't aware of the git repo! thanks a lot. :) -- Suvayu Open source is the future. It sets us free. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-babel matlab example
Hi everyone, It seems that my org used the Octave program to evaluate my Matlab code block/generate figures, not Matlab itself. I found this when comparing the exported figure by org with the figure generated by Matlab. I also found that I cannot use org-babel on an Windows PC which has Matlab installed, but not Octave. Could someone show me how to use Matlab program to evaluate Matlab code blocks in org files in both Linux and Windows OS? Maybe it should be some settings in my .emacs file? Thanks again. - etimecow...@gmail.com _.,,._ .:'`:. .' `. .'`. : : `.'`':'`'`/' `. \ | / ,' \ \ | / / `\_..,,.._/' {`'-,_`'-} {`'-,_`'-} {`'-,_`'-} `YY' ~^^~ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] image size in html export
From: Eric S Fraga ucec...@ucl.ac.uk Subject: Re: [Orgmode] image size in html export Date: Mon, 13 Sep 2010 09:01:24 +0100 On Mon, 13 Sep 2010 07:01:24 +0100 (BST), etimecowboy etimecow...@googlemail.com wrote: Hi everyone, Does anybody know how to set the size of an in-line image when exporting html? I know that org can set that when exporting latex (with #+ATTR_LaTeX: width=), but could not find a similar way when exporting html. Thanks for the help. The following : #+attr_html: width=50% : [[./image.png]] for instance, works just fine for me. This is with up-to-date org. It works for me too! Thanks a lot. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Fix bug that erases org buffer when calling agenda via org-agenda-open-link.
* lisp/org-agenda.el (org-prepare-agenda): If the agenda is called from within the agenda via an elisp link, such as [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer of the file containing the link, since that buffer is current during org-prepare agenda (due to a with-current-buffer in org-agenda-open-link). An additional test now ensures that the agenda buffer is in fact current when the buffer is erased and local variables for the agenda are set. --- lisp/org-agenda.el | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 9f94fa6..ba46d14 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2816,9 +2816,10 @@ the global options and expect it to be applied to the entire view.) (org-uniquify org-done-keywords-for-agenda)) (setq org-drawers-for-agenda (org-uniquify org-drawers-for-agenda)) (let* ((abuf (get-buffer-create org-agenda-buffer-name)) - (awin (get-buffer-window abuf))) + (awin (get-buffer-window abuf)) + (abufcur (equal (current-buffer) abuf))) (cond - ((equal (current-buffer) abuf) nil) + (abufcur nil) (awin (select-window awin)) ((not (setq org-pre-agenda-window-conf (current-window-configuration ((equal org-agenda-window-setup 'current-window) @@ -2829,7 +2830,11 @@ the global options and expect it to be applied to the entire view.) (switch-to-buffer-other-frame abuf)) ((equal org-agenda-window-setup 'reorganize-frame) (delete-other-windows) - (org-switch-to-buffer-other-window abuf + (org-switch-to-buffer-other-window abuf))) + ;; additional test necessary in case agenda is invoked from within + ;; agenda buffer via elisp link + (unless abufcur + (switch-to-buffer abuf))) (setq buffer-read-only nil) (let ((inhibit-read-only t)) (erase-buffer)) (org-agenda-mode) -- 1.7.2.3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Removed unecessary invocations of org-agenda-show.
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: On Sep 13, 2010, at 6:48 PM, Matt Lundin wrote: lisp/org-agenda.el (org-agenda-set-tags): Remove org-agenda-show to prevent disrupting windows and changing point in original buffer. (org-agenda-set-property): Same (org-agenda-set-effort): Same (org-agenda-toggle-archive-tag): Same When setting a tag in the agenda, org-mode displays the corresponding entry in the original org buffer by calling org-agenda-show. This has the unwelcome side-effect of disrupting the current window arrangement and changing the position of the point in the original buffer. This behavior is inconsistent with the that of org-agenda-todo, which makes all its changes silently. I agree, but I am sure I used to have problems with something which is why this was added. Have you been running this patch for some time already? Without any problems like the agenda jumping to a wrong place in a org file or so? I haven't yet encountered any deleterious side effects, but I agree that this patch needs further consideration. I will do some additional research/testing and return with a report. :) Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: omitting done TODOs from custom agenda
Eric Abrahamsen e...@ericabrahamsen.net writes: On Tue, Sep 14 2010, Eric Abrahamsen wrote: On Tue, Sep 14 2010, Matt Lundin wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: I'm having a bit of confusion: I've created my own TODO sequences with org-todo-keywords, in this case (sequence CONTACT(n) REPLY(r) | CONTACTED(e@)). Then I've got a custom agenda defined using org-agenda-custom-commands, where there's a weekly view on top and some TODO items below. When I start this agenda view, and mark one of the TODO items as CONTACTED, it doesn't disappear from the agenda view. It's very clearly marked as done in the original org file, but it stays in agenda. I've looked at all the extra variables for a custom agenda command, and there doesn't seem to be one that say don't show completed items. Would you mind sharing your custom agenda command? '(org-agenda-custom-commands (quote ((c Agenda plus contacts ((agenda nil) (tags-todo TODO=\CONTACT\ nil) (tags-todo TODO=\REPLY\ nil)) nil nil) (g Get It Louder ((agenda nil) (tags-todo Gil nil)) nil Looks like the problem here was that CONTACT is a substring of CONTACTED—whatever function decides if a todo keyword is pending or completed apparently just reads the string until it finds the first match (?). I changed it to SENT and everything worked fine. Dunno if that's worth considering a bug, but it's certainly surprising behavior. I'd agree. The tags-todo search does seem to search for all instances of the substring (CONTACT) rather than the word alone. This seems to be inconsistent with the behavior of the tags match. E.g., in the following sample: --8---cut here---start-8--- ** Testing *** CONTACT Call so and so *** CONTACTED Call Mr. Potato Head *** TODO The quick brown fox :comp: *** DONE jumped over the lazy dog :computer: --8---cut here---end---8--- C-c a M comp pulls up only The quick brown fox, whereas C-c a M TODO=CONTACT or C-c a M /CONTACT pull up both todos containing that substring. For the time being, have you considered using the todo search instead of tags-todo? That works correctly on my machine. E.g., --8---cut here---start-8--- (setq org-agenda-custom-commands '((c Agenda plus contacts ((agenda ) (todo CONTACT) (todo REPLY) --8---cut here---end---8--- Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Customizing agenda line format
Norbert Zeh n...@cs.dal.ca writes: Here's what I found out by tinkering around with settings a little. Setting org-agenda-prefix-format to (as I already did before) correctly removes the prefix *before* the TODO keyword. The formatting function for everything starting with the TODO keyword, however, seems to unconditionally insert a space between the TODO keyword and the rest of the line. Thus, even if the TODO keyword is empty (by setting org-agenda-todo-keyword-format to ), there is still a space after the now empty TODO keyword. Hence, the extra space at the beginning of the line. To me it seems like there's no way around this with the standard org mode settings. After experimenting a bit, I've also come to conclusion that the initial space is hard-coded. Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Fix bug that erases org buffer when calling agenda via org-agenda-open-link.
[My apologies, but I'm afraid my first attempt at this patch mistook a necessary second check for redundancy. Here is an improved version.] * lisp/org-agenda.el (org-prepare-agenda): If the agenda is called from within the agenda via an elisp link, such as [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer of the file containing the link, since that buffer is current during org-prepare agenda (due to a with-current-buffer in org-agenda-open-link). An additional test now ensures that the agenda buffer is in fact current when the buffer is erased and local variables for the agenda are set. --- lisp/org-agenda.el |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 9f94fa6..7458076 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2829,7 +2829,11 @@ the global options and expect it to be applied to the entire view.) (switch-to-buffer-other-frame abuf)) ((equal org-agenda-window-setup 'reorganize-frame) (delete-other-windows) - (org-switch-to-buffer-other-window abuf + (org-switch-to-buffer-other-window abuf))) + ;; additional test in case agenda is invoked from within agenda + ;; buffer via elisp link + (unless (equal (current-buffer) abuf) + (switch-to-buffer abuf))) (setq buffer-read-only nil) (let ((inhibit-read-only t)) (erase-buffer)) (org-agenda-mode) -- 1.7.2.3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode