Re: [Orgmode] exporting - filtering
On Sep 15, 2008, at 12:57 PM, Richard G Riley wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Richard, On Jul 22, 2008, at 1:06 AM, Richard G Riley wrote: When publishing/exporting can I limit certain sections to only exported if they are tagged for export? e.g I have a normal org mode hierarchy for my web page but then import a task based org file and then only have some of those published? If not I think it would be nice addition some time in the future. I have finally been able to get to this message, and I am wondering what the logic should be. I think it is rather straight forward to mark subtrees that should be *excluded* from export. You can, in fact, already do so by starting a tree with the COMMENT keyword, which How does this affect agenda generation? has exactly this purpose. Granted, a tag or property might be more appropriate - the fact that it is a keyword at the beginning of the entry has more historic than practical reasons. The logic for only selecting some trees for inclusion is harder, if you think about subtrees that are not top-level. If you mark a level 5 subtree for export, what should happen to the hierarchy above it? his can get quickly very complex, so I was wondering if you have been thinking about a reasonable logic for this. The way I personally see the html export is for publication of facts, figures and ideas. And I tend to find very few of my entries in my org files are of enough quality in terms of content and format to be published. Assuming we mark/tag for export and to answer your final question: If you mark a level five level item for export then you simply export all headers for its level the other levels before hand. Tagging for export is nice since you can have a section where the top level is tagged for export and all items inherit it too. So two tags would be ideal export and no_export (or something more ORGish since you might with to temporarily repress the publication of certain items in an exported block (all tagged as export thanks to the tags inheritance mechanism). Using tags for selective export is now up in the git repo, and will be part of release 6.7 later this week. - 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
Re: [Orgmode] exporting - filtering
--- Mer 17/9/08, Carsten Dominik <[EMAIL PROTECTED]> ha scritto: > part of release 6.7 later this week. I mean, 6.07, ;-) cheers, Giovanni __ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.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] RE: (prepend-to-buffer "buffer-name" "string")
save-excursion is used to save your location when you temporarily move somewhere else to do something (save-excursion (with-current-buffer "buffer" (goto-char (point-min)) (insert "Stuff at the front of the buffer\n"))) -Bernt Nick Dokos <[EMAIL PROTECTED]> writes: > Parker, Matthew <[EMAIL PROTECTED]> wrote: > >> Yes, but this would require I first move to the buffer to write to, do >> the insert, then move back to the buffer I'm searching in. >> > > That's what with-current-buffer is for I believe: > > (with-current-buffer (insert "foo")) > > HTH, > Nick > >> >> -Original Message- >> From: Bernt Hansen [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, September 16, 2008 11:03 PM >> To: Parker, Matthew >> Cc: emacs-orgmode@gnu.org >> Subject: Re: (prepend-to-buffer "buffer-name" "string") >> >> See the builtin function 'insert' >> >> (insert "string to insert") >> >> -Bernt >> >> >> "Parker, Matthew" <[EMAIL PROTECTED]> writes: >> >> > I've reviewed a lot of the docs, but maybe missed something... Is >> there a >> > function that allows you to just insert text into a buffer. i.e. just >> like >> > (prepend-to-buffer buffer-name start stop)... but instead of passing a >> start and >> > a stop, you can just pass a string. >> > >> > Thanks, >> > >> > matt >> > >> > >> > ___ >> > 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 >> ___ 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: (prepend-to-buffer "buffer-name" "string")
Sorry, I reviewed that in 'intro to lisp' but promptly forgot about it. Thanks. -Original Message- From: Bernt Hansen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 8:47 AM To: [EMAIL PROTECTED] Cc: Parker, Matthew; emacs-orgmode@gnu.org Subject: Re: [Orgmode] RE: (prepend-to-buffer "buffer-name" "string") save-excursion is used to save your location when you temporarily move somewhere else to do something (save-excursion (with-current-buffer "buffer" (goto-char (point-min)) (insert "Stuff at the front of the buffer\n"))) -Bernt Nick Dokos <[EMAIL PROTECTED]> writes: > Parker, Matthew <[EMAIL PROTECTED]> wrote: > >> Yes, but this would require I first move to the buffer to write to, do >> the insert, then move back to the buffer I'm searching in. >> > > That's what with-current-buffer is for I believe: > > (with-current-buffer (insert "foo")) > > HTH, > Nick > >> >> -Original Message- >> From: Bernt Hansen [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, September 16, 2008 11:03 PM >> To: Parker, Matthew >> Cc: emacs-orgmode@gnu.org >> Subject: Re: (prepend-to-buffer "buffer-name" "string") >> >> See the builtin function 'insert' >> >> (insert "string to insert") >> >> -Bernt >> >> >> "Parker, Matthew" <[EMAIL PROTECTED]> writes: >> >> > I've reviewed a lot of the docs, but maybe missed something... Is >> there a >> > function that allows you to just insert text into a buffer. i.e. just >> like >> > (prepend-to-buffer buffer-name start stop)... but instead of passing a >> start and >> > a stop, you can just pass a string. >> > >> > Thanks, >> > >> > matt >> > >> > >> > ___ >> > 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 >> ___ 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: Question about cursor movement
Zitat - Sullivan, Gregory (US SSA) * Di Sep 16 2008 um 18:56 - > Try leaving the cell with to move to the next field (in > left-to-right, top-to-bottom order), whereas goes down one row. Okay, that explains how to move the cursor. But the question is how to reduce the cursor movement (or to avoid unnecessary cursor movement in that particular case) I read in another thread that a prinicple of orgmode is to minimize the movement of the cursor. If it is so I would expect the cursor to stay in the field where the formula is evaluated. But maybe I got it wrong... henry ___ 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: Question about cursor movement
henry atting wrote: > Okay, that explains how to move the cursor. > But the question is how to reduce the cursor movement (or to avoid > unnecessary cursor movement in that particular case) Would 'C-c C-c' do the trick? -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b ___ 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: Question about cursor movement
Zitat - Chris Randle * Mi Sep 17 2008 um 18:26 - > henry atting wrote: >> Okay, that explains how to move the cursor. >> But the question is how to reduce the cursor movement (or to avoid >> unnecessary cursor movement in that particular case) > > Would 'C-c C-c' do the trick? Indeed it does. :) henry ___ 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: org-export-sweave
Carsten-- Thanks for the response! On Tue, Sep 16 2008, Carsten Dominik wrote: > since you want to include tis code literally into LaTeX, the best is > probably to encapsulate it into > > #+BEGIN_LATEX #+END_LATEX > > and to try to solve only the local editing issue. Yes, this makes sense. Though, since really all I need to do is wrap source code written in R in a \LaTeX environment, I might also like to use #v+ #+LATEX: \begin{Scode} a <- 3 a #+LATEX: \end{Scode} #v- > Take a look at the function org-edit-src-find-region-and-lang. There > is a list of regular expressions that can be used to identify regions > that should be edited in special modes - maybe I can make this list > extensible - first, give it a try and see if you can get it working by > editing the list. While I think opening up this list to customization is probably a good idea, I could not get my new entries to behave the way I wanted. The problem, I suspect, may have to do with the ordering of the different language environments. Suppose I had #v+ #+BEGIN_LATEX \begin{Scode} a <- 3 a \end{Scode} #+END_LATEX #v- in an org file. I guess that I want the code within the Scode environment to me in r-mode, and the code outside of that but still within the LATEX block to be in LaTeX-mode. In what order should these two definitions appear within the re-list? FWIW, attached is a patch of the setup I tried to use. When I hit C-c ' inside either of the above examples, I get a temporary buffer that's in latex-mode. I was hoping to get a temporary buffer in r-mode. I also tried a version of the code that used the same entries in the re-list, but put them at the bottom, under the entries for ascii. Same results. Thanks for any further advice, /au diff --git a/lisp/org.el b/lisp/org.el index 4b29704..0612653 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5562,6 +5562,8 @@ the language, a switch telling of the content should be in a single line." ("^#\\+begin_example.*\n" "^#\\+end_example" "fundamental") ("^#\\+html:" "\n" "html" single-line) ("^#\\+begin_html.*\n" "\n#\\+end_html" "html") + ("^\\s*begin{scode}" "^\\s*end{scode}" "r") + ("^#\\+latex:\\s*begin{scode}" "^#\\+latex:\\s*end{scode}" "r") ("^#\\+begin_latex.*\n" "\n#\\+end_latex" "latex") ("^#\\+latex:" "\n" "latex" single-line) ("^#\\+begin_ascii.*\n" "\n#\\+end_ascii" "fundamental") -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc pgpA7norSaf0y.pgp Description: PGP signature ___ 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] org-agenda-busy-at
Carsten and other org-folk-- Any chance that it would be possible to query the agenda to see whether anything is scheduled at a particular time? The application I have in mind is scheduling new events with remember templates. If there's already something in the agenda for the timestamp I enter in a new remember entry, I would love to be given the message "There is already an event scheduled at that time. Really use this timestamp?" I could see a further extension of this, such that it allowed different behavior for different kinds of time stamps. Something like (setq org-agenda-busy-warn '(active . t) '(scheduled . "-1h +1h") '(deadline . "+3d")) would warn you if you tried to add a new timestamp that occurred within the range of an active timestamp; and would warn you if the new timestamp were within plus or minus one hour of a timestamp with the SCHEDULED property; and would also warn you if you tried to add a new timestamp within three days of a deadline. "You tried to create a new event with timestamp <2008-10-31 20:00-21:30>. There is already an entry with timestamp <2008-10-31 20:30-12:00>. You have an event SCHEDULED at <2008-10-31 19:30>. You have a DEADLINE on <2008-11-2>. Proceed/Edit timestamp/Cancel?" We could then use a function, org-agenda-busy-at, to check timestamps included in new remember notes before they get filed. I don't know whether this kind of information is easily retrievable from the agenda, or whether it could be stored as the agenda is built. Is there someplace in the code that I should look to check into the feasibility of this idea? Is it just impossible? Is it one of those things where Carsten says a mystical incantation and it's done? Thanks, /au -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc pgpu7uH1VU0ty.pgp Description: PGP signature ___ 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] Case-sensitivity in regular expressions and sparse trees for tags
Hi Gerrit Forgive me if I've misunderstood regular expressions in Emacs or Org-mode in some fundamental way! I have some tags which begin "CD" followed by a number. For example * Tagged Heading :CD123: When I ask for a sparse tree of all tags beginning with "CD", I do 'C-c / T' And ask for tags of {^CD.*} This doesn't return any of the tagged headlines, but this does: {^cd.*} Is this a bug, or my misunderstanding? Obviously this is no show-stopper, I just make sure that all my regexp searches are in lower case, but thought I'd check. -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b ___ 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] Limitation of the number of tags
Hello there, is there a limitation to the numbers of tags I can use with a headline? I am working out bunches of stories which I am to label for later use ... ray ___ 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] Bug: remember/refiling filing target
Hi Wanrong, still, this is a difficult bug to fix, because my completion function keeps the outline path internally as a string. What I have done now is that during completion, any "/" in the headlines will be modified to "\". This is a bit annoying in the case when you actually need to type that character to move forward with completion. However, most of the time this is not needed, and this trick makes sure that the completion is not interrupted at the wrong location in the string. - Carsten On Jul 21, 2008, at 5:02 PM, Wanrong Lin wrote: Hi, There seems to be a bug in remember/refiling filing target auto- completion prompt, if the target heading text has a forward slash "/". For example, if my filing target is the following: * TODO A/B switch needs to be fixed With M-x org-refile, when I press "TAB" in the mini-buffer to bring up the filing target list, the above target shows up as "A/", all text after the forward slash is cut out. However, the actual auto- completion (by pressing "A/" and TAB) does work. I am using org 6.05b on Emacs 22.2, my refiling config is: (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2 (setq org-refile-use-outline-path t) Thanks a lot if someone can take a look of it. Wanrong ___ 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] Properties and dates in column view
Hi Carsten Sorry for calling you Gerrit earlier (brain failure), and also for so many posts from me today. I've started to implement properties and column view in my Org-mode file. I have an entry like this: * Copy of bank form SCHEDULED: <2008-09-17 Wed> :PROPERTIES: :EXPIRES: [2008-10-12 Sun] :END: Sent original back to NW If not a lot of trouble, is it possible to: 1) have the column view recognise properties that are an active/inactive date stamp so that S-Left/S-Right will decrement/increment the date? 2) Have the 'e' edit recognise that the property value is a date stamp and use the date editor? I noticed that the SCHEDULED and DEADLINE inbuilt properties behave this way already and thought that it would be useful to have other date properties behave the same way. I think that the suggested behaviour above should apply only if no allowed values have been set for that particular property. Also, I noticed in the documentation (Section 7.5.2 Using column view) page 50 of the PDF, that the comment for S-M-Right says "Insert a new column, to the right of the current column". When I try that it inserts to the left. My feeling is, thinking about the keystroke's parallel in table mode, that the behaviour is correct but the documentation should say "...to the left...". -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b ___ 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] Limitation of the number of tags
No, I do not believe that there is a limitation, I am sure you can use 100 if you want. - Carsten On Sep 17, 2008, at 10:08 PM, Raimund Kohl-Füchsle wrote: Hello there, is there a limitation to the numbers of tags I can use with a headline? I am working out bunches of stories which I am to label for later use ... ray ___ 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] TODO keyword has a org-warning face
This happens on Ubuntu 8.04 with emacs-snapshot, org-mode from git. I am not sure what's causing that. 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] Repetition in Manual v6.06b
Hi Carsten, In the PDF version (and possibly in other the formats) of the Org-mode manual for v6.06b there seems to be redundancy at the beginning of Section 7 Properties and Columns. The first three paragraphs seem to be largely repetition. -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b ___ 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] Emacs 23.0.60, orgmode, hidden sections and next-line:
when running newer builds of emacs 23 out of CVS: Open an org-mode file, and hide the content, with just the sections heads showing. Next-line (c-n) no longer moves to the next section unless you first hit C-e to move to the end of the line. -- Best Regards, --raman Email: [EMAIL PROTECTED] WWW:http://emacspeak.sf.net/raman/ AIM:emacspeak GTalk: [EMAIL PROTECTED] PGP:http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC:irc://irc.freenode.net/#emacs ___ 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] Emacs 23.0.60, orgmode, hidden sections and next-line:
On Sep 18, 2008, at 5:56 AM, T. V. Raman wrote: when running newer builds of emacs 23 out of CVS: Open an org-mode file, and hide the content, with just the sections heads showing. Next-line (c-n) no longer moves to the next section unless you first hit C-e to move to the end of the line. I have not touched the code in Emacs for 2 month, because of the feature freeze. DOes the same thing happen in outline-mode? Then this report belongs onto the emacs mailing lists. - 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
Re: [Orgmode] TODO keyword has a org-warning face
On Sep 18, 2008, at 1:30 AM, Cezar Halmagean wrote: This happens on Ubuntu 8.04 with emacs-snapshot, org-mode from git. I am not sure what's causing that. What are the values of org-done-keywords and org-not-done-keywords in the buffer? - 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] Re: TODO keyword has a org-warning face
Carsten Dominik <[EMAIL PROTECTED]> writes: > > What are the values of org-done-keywords and org-not-done-keywords in > the buffer? > ("DONE" "DELEGATED" "CANCELLED") and ("TODO" "STARTED" "WAITING" "APPT") 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
Re: [Orgmode] Re: TODO keyword has a org-warning face
And how about org-todo-keyword-faces? - Carsten On Sep 18, 2008, at 7:26 AM, Cezar Halmagean wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: What are the values of org-done-keywords and org-not-done-keywords in the buffer? ("DONE" "DELEGATED" "CANCELLED") and ("TODO" "STARTED" "WAITING" "APPT") 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 ___ 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