Re: [Orgmode] FR: headline iteration API
On Jun 10, 2008, at 12:28 PM, Adam Spiers wrote: Yes. There will be many intricacies involved in iteration, and probably only Carsten knows them all - without an API we would individually be reinventing the same wheel over and over ... badly. Hi Adam, Daniel, and others, the mapping API is in place and already quite general. It supports different scopes like the current tree, or the file, or all agenda files, or even all agenda files with associated archives. You can specify a tags/property/todo match to restrict the mapping to selected entries. And you can use the full org-agenda-skip mechanism (but you might want to do these checks in the mapping function, of course). Adam, as you suspected, this is only a small bit of code, for the rest it re-uses the agenda stuff. Documentation is in Appendix B6 of the manual. I am very curious to see what kind of tricks you will do with this, to keep us posted! - Carsten ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] carbon emacs org-add-link-type
Hi Cezar, you must have a setup in which org-add-link-type is called before org.el is loaded. This can happen by a package that calls this function without doing (require 'org) first. - Carsten On Jun 12, 2008, at 5:33 AM, Cezar H wrote: GNU Emacs 22.2.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0) of 2008-04-01 Carbon Emacs Package (Spring, 2008) gives me this error msg when loading org-mode: Symbol's function definition is void: org-add-link-type Any ideas how to fix it ? ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Kill text in org mode
Hi John, On Jun 11, 2008, at 10:26 PM, John wrote: Last week I moved from planner-el to org-mode and find it great. Thanks to Sacha Chua and John Wiegley for their articles ("Choosing between Org and Planner", "Using org-mode as a Day Planner"). One should tell all the planner guys to have a look at org-mode. So much more convenient. -- I do have two minor questions regarding org-mode: 1. To kill some text from the mark till the begining of a line, I usually type in: - C-SPC to run `set-mark-command', then - C-a to run `beginning-of-line', and then - M-w to run `kill-ring-save' But in org-mode `C-a' is bound to `org-beginning-of-line' which quits marking region. Thus `M-w' can't work anymore. The same is true with `org-end-of-line' (C-e). Fixed, thanks. 2. In org-mode I can't seem to `isearch' (C-s) words with accented characters. For instance, when searching for "résumé", XEmacs starts searching for the leading `r' and then quits upon typing in the first `é'. This never happens to me in other modes. This is a bug in XEmacs, in the definition of the variable `isearch- mode-map'. In this map, all printing characters should be bound to `isearch-printing-char', but the setup does not handle non-ascii characters correctly, I believe. The purpose of this code is to exactly handle packages like Org where all normal characters are bound to a special function - but the implementation of this function is incomplete. A better implementation could be to find all characters that are bound to self-insert-command in the global map and make the replacement binding for those. Please report this as a bug to the XEmacs people, I do not have the time to fix this myself. - Carsten Thanks for your help. ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal export of repeated tasks
I don't think the icalendar format does support repeated entries for a limited time interval, does it? - Carsten On Jun 10, 2008, at 12:17 PM, Adam Spiers wrote: Currently, if I have a repeated task such as * NEXT [#B] water plants SCHEDULED: <2008-06-16 Mon 10:30-10:45 .+1w> then iCal export includes something like this in the VEVENT: RRULE:FREQ=WEEKLY;INTERVAL=1 For most repeated tasks, this is a perfectly sensible default. However, for a task of this nature, I only want to see the next occurrence show up in my calendar client - any more just clutters up the monthly view. So I would suggest that there should be an option to control whether the repeated occurrences get exported. Even better if you could limit this to only apply to certain types of repeat; maybe having it only apply to the 'battery charging' type of renewable events denoted by '.+' would make a sensible default? ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: GFDL with cover texts
Hi Sebastian, On Jun 11, 2008, at 8:17 PM, Seb wrote: On 2008-06-10, Dominik, C. <[EMAIL PROTECTED]> wrote: I would be happy to dual-license the manual. Does anyone know what piece of text I would have to put there? Does anyone know if the GFDL prohbits me, the author, to add GPL as a second free license? I sure hope not. [...] To be honest, I have absolutely no clue what it means, and it was not my intention to restrict use of the manual in any way when I put it under the GFDL. Back then I must have thought that this simply it the proper thing to use for documentation. The GFDL itself is fine, it's the use of Invariant Sections, Cover Texts, etc that make it not-free as far as Debian is concerned. But anyway, if you're the sole author, you can definitely move to a GPL+GFDL dual-license when you so please, but I guess I still need to add that IANAL... I don't know what this last sentence means. ALso, can you point me to an example of the text that I would have to insert to make you and Debian happy? Thanks. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] carbon emacs org-add-link-type
GNU Emacs 22.2.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0) of 2008-04-01 Carbon Emacs Package (Spring, 2008) gives me this error msg when loading org-mode: Symbol's function definition is void: org-add-link-type Any ideas how to fix it ? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: headline iteration API
On Wed, Jun 11, 2008 at 12:15 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote: > Are the functions behind C-c C-N, C-c C-p, C-c C-f, C-c C-b & C-c C-u > available? Seems you could add a function for going to the first > child. As long as that, C-c C-f & C-c C-b all return something to let > you know there isn't a next, this should be pretty complete. > > I guess all you would need would be the following functions which > would move to the correct place or return something to say there isn't > a next/parent/child/sibling etc to signal the end of iteration. > > - doc traversal >- first-item > Go to the first item in the file. >- current-item > Go to the beginning of the item containing the cursor. >- next-item > Go to the item after the current one. >- previous-item > Go to item before the current one > > - tree traversal >- parent-item > Go to the parent item of the current item >- first-child-item > Go to the first item contained in the current item >- next-sibling-item > Go to the next item that has the same parent >- previous-sibling-item > Go to the previous item that has the same parent > > This ought to be enough to try to implement anything else on top of > it. Did I miss something? Just to respond to myself, I did miss something. If we want a convenient base api, we probably ought to have an equivalent to the doc traversal functions for iterating through all the items in the agenda files. I'm not sure what the correct behavior should be in that case if you start in a file that is not in the list of agenda files. I was precise about the sibling functions to handle the following if you call next-sibling-item from meanie. * eenie *** meanie ** minie * Hey Moe! Edd ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug in iCalendar export
Paul R <[EMAIL PROTECTED]> wrote: > Nick Dokos <[EMAIL PROTECTED]> writes: > > You have some faulty site-lisp code provided by debian emacs packages. > Because it was the Nth bug I had to track down due to the way debian > handles site-lisp, I just decided to get rid, for good, of debian > emacs packages, and do everything by hand. So I'm sorry to tell you > that I can't tell what line is faulty this time. But I can tell, for > sure, that it lives in debian site-lisp. Good luck. > > > There seems to be a bug somewhere in org-export-icalendar code where the > > *ical-tmp* buffer seems to get deleted prematurely, but I can't figure out > > where exactly, so I'm hoping that a) it's reproducible and b) somebody will > > see what's wrong. > > > > ... Paul, that's an interesting perspective that hadn't crossed my mind at all. Thanks! After some testing (it took me a while to get back to it - sorry for the delay), it certainly looks like the bug is somewhere other than org-export-icalendar, but I'm not sure that debian site-lisp is to blame in this case (although I may very well be missing something). I originally tried this on GNU Emacs 22.1.50.2, which I had gotten from CVS and built myself. I don't think I use any of Ubuntu's emacs setup at all. I also tried it on emacs 23.0.60.1 (also obtained from CVS) and starting it from the build directory with -Q, using whatever version of org-mode is distributed with that version: I get the error there as well. So it seems to me that the bug is somewhere fairly deep in emacs itself (btw, I sent a bug report off to the emacs maintainers - we'll see what they say). I also tried on an ancient RHEL4.1(?) system with the stock emacs 21 version that was packaged with it: I had to do some work to get org-mode installed there, but I could not then reproduce the error. Thanks again for opening my eyes (and thanks to Adam as well), Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Nick Dokos: Re: Re: adding notes from agenda buffer
Nick Dokos <[EMAIL PROTECTED]> writes: > [And now I commit the faux-pas of not replying to the list...] > > --- Forwarded Message > > Cezar Halmagean <[EMAIL PROTECTED]> wrote: > >> > org-add-note will add a note. It's bound to C-c C-z, so from the agenda, >> > you can do and then C-c C-z: you'll get a note buffer where you >> > can type your note; C-c C-c will insert it. >> > >> >> This is really nice ! But I think we should have this in the agenda >> buffer so you don't have to type to go to the actuall TODO entry. >> > > Ah, but we do! Carsten has once again anticipated the request: 'z' from > the agenda will do it. > I told you he rocks :) Thanks. Cezar ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Nick Dokos: Re: [Orgmode] Re: adding notes from agenda buffer
[And now I commit the faux-pas of not replying to the list...] --- Forwarded Message Cezar Halmagean <[EMAIL PROTECTED]> wrote: > > org-add-note will add a note. It's bound to C-c C-z, so from the agenda, > > you can do and then C-c C-z: you'll get a note buffer where you > > can type your note; C-c C-c will insert it. > > > > This is really nice ! But I think we should have this in the agenda > buffer so you don't have to type to go to the actuall TODO entry. > Ah, but we do! Carsten has once again anticipated the request: 'z' from the agenda will do it. Nick --- End of Forwarded Message ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: adding notes from agenda buffer
Nick Dokos <[EMAIL PROTECTED]> writes: > [Fat-fingered that one... I *meant* to say:] > > Peter Rayner <[EMAIL PROTECTED]> wrote: > >> >Typing on an item in the agenda buffer takes you to the item >> >itself, where you can do anything you please, e.g. add a note. Is that >> >what you are looking for? >> >> It's close but I would rather automate adding the time-stamp, finding >> the correct place to add the note etc. It's like adding a note with a >> state-change but *without* a state change. > > [You should reply to the list, so everybody can "hear" the conversation.] > > org-add-note will add a note. It's bound to C-c C-z, so from the agenda, > you can do and then C-c C-z: you'll get a note buffer where you > can type your note; C-c C-c will insert it. > This is really nice ! But I think we should have this in the agenda buffer so you don't have to type to go to the actuall TODO entry. Cezar ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Kill text in org mode
John <[EMAIL PROTECTED]> writes: > 1. To kill some text from the mark till the begining of > a line, I usually type in: > - C-SPC to run `set-mark-command', then > - C-a to run `beginning-of-line', and then > - M-w to run `kill-ring-save' > > But in org-mode `C-a' is bound to `org-beginning-of-line' which > quits marking region. Thus `M-w' can't work anymore. This doesn't happen for me. You might want to ensure you have the latest version. Also, a faster way to kill from point to the beginning of the line is: C-- C-k That is, Control-minus and then Control-k. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] adding notes from agenda buffer
[Fat-fingered that one... I *meant* to say:] Peter Rayner <[EMAIL PROTECTED]> wrote: > >Typing on an item in the agenda buffer takes you to the item > >itself, where you can do anything you please, e.g. add a note. Is that > >what you are looking for? > > It's close but I would rather automate adding the time-stamp, finding > the correct place to add the note etc. It's like adding a note with a > state-change but *without* a state change. [You should reply to the list, so everybody can "hear" the conversation.] org-add-note will add a note. It's bound to C-c C-z, so from the agenda, you can do and then C-c C-z: you'll get a note buffer where you can type your note; C-c C-c will insert it. Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] adding notes from agenda buffer
Peter Rayner <[EMAIL PROTECTED]> wrote: > >Typing on an item in the agenda buffer takes you to the item > >itself, where you can do anything you please, e.g. add a note. Is that > >what you are looking for? > > It's close but I would rather automate adding the time-stamp, finding > the correct place to add the note etc. It's like adding a note with a > state-change but *without* a state change. [You should reply to the list, so everybody can "hear" the conversation.] org-add-note will add a note. It's bound to C-c ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: adding notes from agenda buffer
Peter Rayner <[EMAIL PROTECTED]> writes: > [...]. I would like to > quickly add notes to a task as I am working on it, even if the state > isn't changing and have them appear in the right place. This seems > like something people would do often so I suspect I'm missing an > obvious mechanism. Not sure I understand you correctly, but you can visit entries from the agenda view with key TAB. If you want, org mode documentation will give you 3 mores keys to visit entries from agenda buffer. -- Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] adding notes from agenda buffer
I am still learning org-mode so apologies in advance: I spend most of my org-mode time in the agenda buffer, usually visiting the underlying files as I tidy up or review. I would like to quickly add notes to a task as I am working on it, even if the state isn't changing and have them appear in the right place. This seems like something people would do often so I suspect I'm missing an obvious mechanism. Thanks for any pointers. regards Peter -- Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ address: Bat. 701 LSCE - CEA de Saclay Orme des Merisiers, 91191 Gif/Yvette work: +33 (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16 mail-to: [EMAIL PROTECTED] web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Kill text in org mode
Last week I moved from planner-el to org-mode and find it great. Thanks to Sacha Chua and John Wiegley for their articles ("Choosing between Org and Planner", "Using org-mode as a Day Planner"). One should tell all the planner guys to have a look at org-mode. So much more convenient. -- I do have two minor questions regarding org-mode: 1. To kill some text from the mark till the begining of a line, I usually type in: - C-SPC to run `set-mark-command', then - C-a to run `beginning-of-line', and then - M-w to run `kill-ring-save' But in org-mode `C-a' is bound to `org-beginning-of-line' which quits marking region. Thus `M-w' can't work anymore. The same is true with `org-end-of-line' (C-e). 2. In org-mode I can't seem to `isearch' (C-s) words with accented characters. For instance, when searching for "résumé", XEmacs starts searching for the leading `r' and then quits upon typing in the first `é'. This never happens to me in other modes. Thanks for your help. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: GFDL with cover texts
On 2008-06-10, Dominik, C. <[EMAIL PROTECTED]> wrote: > I would be happy to dual-license the manual. Does anyone know what > piece of text I would have to put there? Does anyone know if the > GFDL prohbits me, the author, to add GPL as a second free license? > I sure hope not. > [...] > To be honest, I have absolutely no clue what it means, and it was > not my intention to restrict use of the manual in any way when I put > it under the GFDL. Back then I must have thought that this simply > it the proper thing to use for documentation. The GFDL itself is fine, it's the use of Invariant Sections, Cover Texts, etc that make it not-free as far as Debian is concerned. But anyway, if you're the sole author, you can definitely move to a GPL+GFDL dual-license when you so please, but I guess I still need to add that IANAL... Cheers, --Seb ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: automatically jumping to stored note location
> Ask anybody using org-mode whats the fuss about org-mode and they'll all > say one thing: Carten Dominik. > > Thank you Carsten and keep up the good work. Totally agreed! --Manuel -- --- Manuel Hermenegildo | Prof., C.S. Department Director, IMDEA-Software and CLIP Group |T.U. of Madrid (UPM) http://www.cliplab.org/herme| +34-91-336-7435 (W) -352-4819 (Fax) --- ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: headline iteration API
Are the functions behind C-c C-N, C-c C-p, C-c C-f, C-c C-b & C-c C-u available? Seems you could add a function for going to the first child. As long as that, C-c C-f & C-c C-b all return something to let you know there isn't a next, this should be pretty complete. I guess all you would need would be the following functions which would move to the correct place or return something to say there isn't a next/parent/child/sibling etc to signal the end of iteration. - doc traversal - first-item Go to the first item in the file. - current-item Go to the beginning of the item containing the cursor. - next-item Go to the item after the current one. - previous-item Go to item before the current one - tree traversal - parent-item Go to the parent item of the current item - first-child-item Go to the first item contained in the current item - next-sibling-item Go to the next item that has the same parent - previous-sibling-item Go to the previous item that has the same parent This ought to be enough to try to implement anything else on top of it. Did I miss something? Edd On Wed, Jun 11, 2008 at 6:06 AM, Adam Spiers <[EMAIL PROTECTED]> wrote: > On Wed, Jun 11, 2008 at 08:57:39AM +0200, Dominik, C. wrote: >> Hi Adam and others, >> >> I do like the idea of an API to iterate of entries and outline trees. >> For now, I am following this discussion to see what ideas pop up. >> When I find the time, something will be implemented. > > Great. As you can see from my other post, another use case just > popped up. > > Am I right in thinking that you must already have a lot of the code > for this? Presumably agenda generation and export must both do > headline iteration in a similar manner? > > Full-blown reporting would be seriously cool. Think: pretty coloured > graphs showing how the contents of your TODO lists vary over the days, > weeks, months ... :-) Very useful for trending, planning, ensuring > that the various areas of your life are kept in balance according to > your "30,000-50,000 foot views", as David Allen calls them. > > > ___ > Emacs-orgmode mailing list > Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: automatically jumping to stored note location
Adam Spiers <[EMAIL PROTECTED]> writes: > On Wed, Jun 11, 2008 at 07:16:21AM +0200, Dominik, C. wrote: >> >> Hi Adam, >> >> I have now implemented this feature, exactly as ordered :-), >> with %&. > Ask anybody using org-mode whats the fuss about org-mode and they'll all say one thing: Carten Dominik. Thank you Carsten and keep up the good work. Cezar ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: GFDL with cover texts
On 2008-06-09, Sebastian Rose <[EMAIL PROTECTED]> wrote: > just a question: > > When I follow the link you mentioned in your first mail I read this: > > 8<--- > It should be noted that this does not imply any hostility towards the > Free Software Foundation, and does not mean that GFDL documentation > should not be considered free enough by others, and Debian itself will > continue distributing GFDL documentation in its non-free section. > >8--- > > Debain users are used to look for documentation non-free section (gcc, > bash, bison, auto-tools, glibc, php, gdb, emacs-lisp ...). Is it a > problem to simply put the docs there? it means maintaining two source packages, which is far from optimal for something that moves as fast as org-mode. It could definitely be done, but I am not exactly thrilled by the idea :) Cheers, --Seb ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: headline iteration API
On Wed, Jun 11, 2008 at 08:57:39AM +0200, Dominik, C. wrote: > Hi Adam and others, > > I do like the idea of an API to iterate of entries and outline trees. > For now, I am following this discussion to see what ideas pop up. > When I find the time, something will be implemented. Great. As you can see from my other post, another use case just popped up. Am I right in thinking that you must already have a lot of the code for this? Presumably agenda generation and export must both do headline iteration in a similar manner? Full-blown reporting would be seriously cool. Think: pretty coloured graphs showing how the contents of your TODO lists vary over the days, weeks, months ... :-) Very useful for trending, planning, ensuring that the various areas of your life are kept in balance according to your "30,000-50,000 foot views", as David Allen calls them. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] annotations (not the remember kind)
On Wed, Jun 11, 2008 at 07:36:43AM +0200, Dominik, C. wrote: > Hi Adam. > > hmm, I can see nothing that would help you directly with this. > > However, there is org-export-preprocess-hook. > > This hook runs before the export conversion of a buffer is attempted. > If you add a function to this hook it will be called in a temporary > buffer containing the entire file or section to be exported. > There will be a variable `htmlp' telling you if export > is to HTML, and similarly variables `latexp' and `asciip'. > > Your function could go through the buffer, find sections with > the ANNOTATION keyword and/or tags, and convert them to raw > HTML, surrounded by #+BEGIN_HTML ... #+END_HTML Yes, that would do perfectly ... if only I had a headline iteration API to make it easy to go through the buffer looking for ANNOTATION keywords ;-) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] automatically jumping to stored note location
On Wed, Jun 11, 2008 at 07:16:21AM +0200, Dominik, C. wrote: > > Hi Adam, > > I have now implemented this feature, exactly as ordered :-), > with %&. Woohoo! Awesome, thanks - I have wanted that one for a long time :-) Seems to work great. I have three comments/questions related to this and similar org-remember details: 1) Ideally %& would preserve the position of the point within the template when it arrives in the final destination. This is particularly important if a template has all three of %? %! and %&, otherwise %? is effectively ignored when %! and %& are present. 2) It doesn't seem possible to set up a template so that it will always insert at the very top of a particular file. I really miss that, since I keep most TODOs at the top level, and I like a "newest first" view by default when not in the agenda. 3) I am a bit confused by the 'Selection interface for heading' 5th option of a remember template. It doesn't seem to have any effect - how is it supposed to interact with `org-remember-store-without-prompt'? Thanks again! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode