[O] [babel] code execution in commented lines

2012-09-06 Thread Andreas Leha
Hi all, by now I learned not to call behaviour not meeting my expectations a bug hastily So, here is my question: Is it intended that code in commented lines gets executed during export? # example: buggy, thus commented src_R{Sys.sleep(10) && stop("Here is a Bug")} This kind of violates the

Re: [O] Alternate format for datetree

2012-09-06 Thread Ian Barton
On 29/08/12 21:01, Ian Barton wrote: On 29/08/12 15:25, John Hendy wrote: On Wed, Aug 29, 2012 at 2:49 AM, Ian Barton wrote: On 28/08/12 13:50, Nick Dokos wrote: Ian Barton wrote: I would like to use something like this. However, using a recent git checkout of org mode and the following s

Re: [O] repeater not working?

2012-09-06 Thread Alan Schmitt
"Sebastien Vauban" writes: > Hi Alan, > > Alan Schmitt wrote: >>> * TODO Return books to library [/] >>> ** TODO Search books >>> ** TODO Put books in bag >>> ** TODO Unlock bike >>> ** TODO Drive to library >> >> Is there a way for a TODO to be hidden from an agenda until all previous >> TODOs h

Re: [O] [babel] code execution in commented lines

2012-09-06 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > Hi all, > > by now I learned not to call behaviour not meeting my expectations a > bug hastily > > So, here is my question: > Is it intended that code in commented lines gets executed during export? > > # example: buggy, thus commented src_R{Sys.sleep(10) && sto

[O] superscripts, tables and latex

2012-09-06 Thread Peter Rayner
I'm trying to export a simple table to latex with the only catch being it has some units I need to superscript. Here is the org code -- #+Options: num:nil toc:nil * section heading ObjectiveTemporal scaleSpatial Scale

Re: [O] org-refile failing

2012-09-06 Thread Marcelo de Moraes Serpa
HI Nick, Looks like the 0 was causing the issue. Changing it to any non-zero value solves it. I don't remember how it ended up there though - I might have setup it by accident. Thanks! - Marcelo. On Thu, Sep 6, 2012 at 1:53 AM, Brian van den Broek < brian.van.den.br...@gmail.com> wrote: > > On

[O] Narrow to sparse tree

2012-09-06 Thread Christopher Witte
I keep a bibliography in an org file using the excellent org-bibtex functionality. It has over 100 entries with a first level heading for each item. I tag each of the items with keywords/topics. Using sparse trees I can quickly find and navigate to items matching a particular tag, but if only 4

[O] Cached agenda views?

2012-09-06 Thread Marcelo de Moraes Serpa
Hi list, It's a known fact that the more files you put into the agenda, the more likely it is to become slower. I've started using Memacs a few weeks ago, and my agenda is still very useable, but significantly slower than before (due to the big amount of temporal data being processed from my gmail

Re: [O] Cached agenda views?

2012-09-06 Thread François Allisson
Le jeudi 06 sep 2012 à 08:54:04 (-0500), Marcelo de Moraes Serpa a écrit : > Hi list, > > It's a known fact that the more files you put into the agenda, the more likely > it is to become slower. I've started using Memacs a few weeks ago, and my > agenda is still very useable, but significantly slo

Re: [O] superscripts, tables and latex

2012-09-06 Thread Nick Dokos
Peter Rayner wrote: > I'm trying to export a simple table to latex with the only catch being > it has some units I need to superscript. > Here is the org code > -- > .. > --

[O] Save-buffer within a code block

2012-09-06 Thread Julian Burgos
Hello fellow Org-mode'rs: I noticed that now, when editing code in ESS mode (after switching from org-mode using C-') I cannot use save-buffer to save any changes into my org mode file. Instead, when doing save-buffer I get prompted for a new file name and the only the code block gets saved.

Re: [O] Narrow to sparse tree

2012-09-06 Thread François Allisson
Le jeudi 06 sep 2012 à 15:46:42 (+0200), Christopher Witte a écrit : > I keep a bibliography in an org file using the excellent org-bibtex > functionality. It has over 100 entries with a first level heading for > each item. I tag each of the items with keywords/topics. Using > sparse trees I can

Re: [O] Narrow to sparse tree

2012-09-06 Thread Christopher Witte
That's great, it gets me part of the way there. I also keep notes for each reference under their heading and I'd like to be able to see/edit them as well. Is there a way to do this in an agenda buffer? On 6 September 2012 16:44, François Allisson wrote: > Le jeudi 06 sep 2012 à 15:46:42 (+0200)

Re: [O] repeater not working?

2012-09-06 Thread Achim Gratz
Bastien writes: >> By the way, what is the canonical way to install contribs? The >> doc.norang.ca site says to simply add a "load_path" to the source >> directory of org-mode, but maybe there is another way. > > Yes, adding the contrib/lisp/ to your load-path is *the* way. Not any longer and it h

Re: [O] Narrow to sparse tree

2012-09-06 Thread François Allisson
Le jeudi 06 sep 2012 à 17:02:06 (+0200), Christopher Witte a écrit : > That's great, it gets me part of the way there. I also keep notes for > each reference under their heading and I'd like to be able to see/edit > them as well. Is there a way to do this in an agenda buffer? Just press "space",

Re: [O] superscripts, tables and latex

2012-09-06 Thread Jambunathan K
Nick Dokos writes: > (add-to-list 'load-path "/path/to/contrib/lisp")) > (require 'org-export) > (require 'org-e-ascii) ; if you want > (require 'org-e-html) ; if you want > (require 'org-e-latex) I do this: C-x C-f ~/src/org-mode/contrib/lisp/ M-x update-directory-autoloads RET RET or

[O] Appt - How to quit displaying notifications?

2012-09-06 Thread Nathan Neff
Hello, I'm using org-agenda-to-appt to warn me about upcoming appointments. I'm fine with the default warning time of 12 minutes, but I would like to turn off the subsequent reminders that happen every three minutes. I'd like a reminder to occur 12 minutes before the appointment, then at the tim

Re: [O] Alternate format for datetree

2012-09-06 Thread John Hendy
On Thu, Sep 6, 2012 at 12:42 AM, c b <24x7x...@gmail.com> wrote: > Hi John and Nick, > > Thank a lot for your suggestions. I finally got it working. It took a while > to figure out that the back-tick is different from the quote. > I am an elisp newbie. Is there an easy explanation of why we need a

Re: [O] suggestion for org-emphasis-regexp-components: *U*nited *N*ations

2012-09-06 Thread Achim Gratz
Stefan Vollmar writes: > (defcustom org-emphasis-regexp-components > '(" #​\t('\"{" "- #​\t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1) > where "#" is the unicode character . AFAIK, such a change would make Org incompatible with Emacs22. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb An

[O] commit 7719734dd7 org-compat.el: New compatibility function `org-random'

2012-09-06 Thread Achim Gratz
Sorry, but that macro doesn't call `random´ appropriately at all. No package should ever use `(random t)´ at all and especially not repeatedly. Please make org-random an alias to random. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User

Re: [O] Alternate format for datetree

2012-09-06 Thread Jonathan Leech-Pepin
Hello, On Thu, Sep 6, 2012 at 11:33 AM, John Hendy wrote: > On Thu, Sep 6, 2012 at 12:42 AM, c b <24x7x...@gmail.com> wrote: >> Hi John and Nick, >> [snip] >> >> * 09 >> ** 05 >> *** 2012 - Wednesday >> [2012-09-05 Wed 22:31] My first working month tree note >> [2012-09-05 Wed 22:35]

Re: [O] Appt - How to quit displaying notifications?

2012-09-06 Thread Nick Dokos
Nathan Neff wrote: > Hello, > > I'm using org-agenda-to-appt to warn me about upcoming > appointments. I'm fine with the default warning time of 12 minutes, but > I would like to turn off the subsequent reminders that happen every > three minutes. > > I'd like a reminder to occur 12 minutes be

Re: [O] Filtering Agenda View

2012-09-06 Thread Memnon Anon
Hi Ken, Ken Mankoff writes: > I tried setting the regexp to "\ WAITING\ " but that did not fix it. > > How can I improve the regexp, or is there a better way to show TODO > items that are TODO, STARTED, WHATEVER, but not WAITING (or not > WAITING and SOMETHINGELSE). ,[ (describe-function 'o

Re: [O] suggestion for org manual

2012-09-06 Thread Memnon Anon
Moin Jonas, Jonas Stein writes: > It says > # You have enabled the habits module by customizing the variable > org-modules. > > I would expect here a link about customizing the variable org-modules, > and how the setting looks like. Well, customizing variables belongs to the emacs realm; given

Re: [O] commit 7719734dd7 org-compat.el: New compatibility function `org-random'

2012-09-06 Thread Bastien
Achim Gratz writes: > Sorry, but that macro doesn't call `random´ appropriately at all. The real problem is (random t) in previous versions of org-id.el. Do you mean this should be (random) instead of (random t) in those versions? Why? If so, we can simply get rid of the compatibility macro

Re: [O] can't find org-version?

2012-09-06 Thread Achim Gratz
Christopher J. White writes: > If 7.9 is still an early release, I'd suggest adding the org-version > variable back to org so as not to break other packages that may also > depend the version string. Your use of the variable org-version was completely unnecessary, so this is a non-issue. I've jus

Re: [O] can't find org-version?

2012-09-06 Thread Bastien
As this is the standard way of checking against a package's version, and now that (org-version) does the right thing, I reintroduced the constant `org-version'. -- Bastien

Re: [O] can't find org-version?

2012-09-06 Thread Bastien
Achim Gratz writes: > The variable org-version was an internal one that has been removed. The > org-toodledo package should not rely on internal variables, but rather > use the official interface, in this case the function org-version. In the real world, developers rely on a set of stable expec

Re: [O] capture templates and org-contacts

2012-09-06 Thread Achim Gratz
Simon Thum writes: > recently my org-contacts template broke; I get > > %![Error: (void-function gnus-alive-p)] > > in the capture buffer where the name should have been. > > The template is > > ("c" "Kontakt" entry (file+headline my-org-contacts-file "Neu") "* > %(org-contacts-template-name)")) >

Re: [O] commit 7719734dd7 org-compat.el: New compatibility function `org-random'

2012-09-06 Thread Achim Gratz
Bastien writes: > The real problem is (random t) in previous versions of org-id.el. Yes. > Do you mean this should be (random) instead of (random t) in those > versions? Why? If so, we can simply get rid of the compatibility > macro and use (random). That would be the correct thing to do. >>

Re: [O] can't find org-version?

2012-09-06 Thread Achim Gratz
Bastien writes: > As this is the standard way of checking against a package's version, and > now that (org-version) does the right thing, I reintroduced the constant > `org-version'. You have tested you always get the correct result with Emacs 23 and 24, XEmacs 21.5, with and without compilation,

Re: [O] can't find org-version?

2012-09-06 Thread Achim Gratz
Bastien writes: > As this is the standard way of checking against a package's version, and > now that (org-version) does the right thing, I reintroduced the constant > `org-version'. You might want to fix this in maint (not master), BTW. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron mic

Re: [O] commit 7719734dd7 org-compat.el: New compatibility function `org-random'

2012-09-06 Thread Nick Dokos
Bastien wrote: > Achim Gratz writes: > > > Sorry, but that macro doesn't call `random´ appropriately at all. > > The real problem is (random t) in previous versions of org-id.el. > > Do you mean this should be (random) instead of (random t) in those > versions? Why? If so, we can simply g

Re: [O] superscripts, tables and latex

2012-09-06 Thread Nick Dokos
Nick Dokos wrote: > Assuming you are running a recent version of org, you can install it > alongside the old one. Just add the following to your init file (with > the path modified appropriately): > I should have said "you can use it ...", instead of "you can install it ...". What I described i

[O] still struggling with workflow

2012-09-06 Thread Christopher W. Ryan
I've been using org-mode for, oh about a year now, and it seems like a very useful tool. But I'm still struggling to understand and implement effective workflows for projects, re-using bits and pieces of text. For example, I have a general project related to heat wave morbidity and mortality, and

Re: [O] conditional export based on babel result

2012-09-06 Thread cberry
Andreas Leha writes: I am a bit late to the thread, but two possibilities come to mind: 1) write a brew template as #+name: brewtemp #+begin_src latex ... #end_src block then call it as #+begin_src R :noweb yes :results output latex brew(text= <> ) #+end_src Brew allows loops

Re: [O] can't find org-version?

2012-09-06 Thread Bastien
Achim Gratz writes: > Bastien writes: >> As this is the standard way of checking against a package's version, and >> now that (org-version) does the right thing, I reintroduced the constant >> `org-version'. > > You might want to fix this in maint (not master), BTW. Yes, this is what I did. --

Re: [O] still struggling with workflow

2012-09-06 Thread Nick Dokos
Christopher W. Ryan wrote: > I've been using org-mode for, oh about a year now, and it seems like a > very useful tool. But I'm still struggling to understand and implement > effective workflows for projects, re-using bits and pieces of text. > > For example, I have a general project related to

Re: [O] still struggling with workflow

2012-09-06 Thread Jambunathan K
Nick Dokos writes: > Christopher W. Ryan wrote: > >> I've been using org-mode for, oh about a year now, and it seems like a >> very useful tool. But I'm still struggling to understand and implement >> effective workflows for projects, re-using bits and pieces of text. >> >> For example, I have

[O] Org links that point to filenames with space do not open

2012-09-06 Thread Marcelo de Moraes Serpa
Hi list, I have several links that use the file protocol to open files indexed in org entries. They work fine for entries that point to file whose filenames do *not* contain space, but for entries with space in them, it just fails silently. I.e: [[file:/Volumes/ext-hd/pdfs/Name\ Of\ The-\ 4th\

Re: [O] Org links that point to filenames with space do not open

2012-09-06 Thread Jude DaShiell
I'm pretty sure a (") needs to go right after the first (:) and another needs to be just before the first (]) character. On Thu, 6 Sep 2012, Marcelo de Moraes Serpa wrote: > Hi list, > > I have several links that use the file protocol to open files indexed in > org entries. They work fine for e

Re: [O] Org links that point to filenames with space do not open

2012-09-06 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > I have several links that use the file protocol to open files indexed in > org entries. They work fine for entries that point to file whose filenames > do *not* contain space, but for entries with space in them, it just fails > silently. I.e: > > [[file:/Volume

Re: [O] superscripts, tables and latex

2012-09-06 Thread Peter Rayner
Nick Dokos writes: ... description of using new exporter This doesn't *appear* to help. I say "appear" because I can never be absolutely sure I'm using the new exporter. I accessed it with m-x org-export-dispatch l which generates --

Re: [O] Org links that point to filenames with space do not open

2012-09-06 Thread Marcelo de Moraes Serpa
Nick, it's a custom script... however, it looks like I was using the wrong format. Instead of escaping the space chars, I should uri-encode them it seems. I'll try that. Thanks! On Thu, Sep 6, 2012 at 11:03 PM, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > > > I have several links that

Re: [O] Org links that point to filenames with space do not open

2012-09-06 Thread Marcelo de Moraes Serpa
OK, found the issue, had to use url-insert-entities-in-string instead of shell-quote-argument. Thanks, - Marcelo. On Thu, Sep 6, 2012 at 11:47 PM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > Nick, it's a custom script... however, it looks like I was using the wrong > format. Instead

Re: [O] superscripts, tables and latex

2012-09-06 Thread Nick Dokos
Peter Rayner wrote: > Nick Dokos writes: > ... description of using new exporter=20 > This doesn't *appear* to help. I say "appear" because I can never be > absolutely sure I'm using the new exporter. I accessed it with > m-x org-export-dispatch > l > which generates=20 >