Re: [O] Automatically insert R source code block?

2011-09-16 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/09/11 02:22, Michael Hannon wrote: From: suvayu ali fatkasuvayu+li...@gmail.com Hey Mike, On Fri, Sep 16, 2011 at 1:18 AM, Michael Hannon jm_han...@yahoo.com wrote: but Emacs complains about an org-mode fontification error and

[O] [babel] error when loading library-of-babel after update this morning

2011-09-16 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi when evaluating #+begin_src emacs-lisp (org-babel-lob-ingest ~/.emacs.d/org-mode/contrib/babel/library-of-babel.org) #+end_src I get the following error: executing Emacs-Lisp code block... variable nil must be assigned a default value this

Re: [O] [babel] Some variables with no default value don't provoke an error

2011-09-16 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Weirdly enough, in the following code block, I must add a default value for vars `table', `column' and `type' but not for the var `nullability'. I've even been able to add fake vars `something' and `else' with

Re: [O] [babel] Export problem (Wrong type argument: consp, nil)

2011-09-16 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Question: Would it be possible to add the src-name in the error message? Unfortunately the code block name is not known to the function (namely `org-babel-merge-params') which throws errors when variables are not assigned default values. In fact this function

Re: [O] [babel] Export problem (Wrong type argument: consp, nil)

2011-09-16 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Thanks for working on this test, I look forward to adding it once it is completed. As promised, a patch for checking that vars with no default value will generate an error with a full explanation. I edited 2 files: - lisp/test-ob.el - examples/babel.org Tell me

[O] [PATCH] Continue numbering from any previous numbered snippet with +n, even when previous numbered snippet does not immediately precede it.

2011-09-16 Thread Niels Giesen
* org-mode/lisp/org-exp.el (org-export-number-lines): Check whether number parameter (this is a numbered block!) is non-nil as well as whether cont is nil (this numbered block should *not* continue numbering where we left off before!) before resetting the count to zero. From the docs:

Re: [O] [babel] error when loading library-of-babel after update this morning

2011-09-16 Thread Eric Schulte
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Rainer, Rainer M Krug wrote: when evaluating #+begin_src emacs-lisp (org-babel-lob-ingest ~/.emacs.d/org-mode/contrib/babel/library-of-babel.org) #+end_src I get the following error: executing Emacs-Lisp code block... variable

Re: [O] [babel] Some variables with no default value don't provoke an error

2011-09-16 Thread Eric Schulte
Hi, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Weirdly enough, in the following code block, I must add a default value for vars `table', `column' and `type' but not for the var `nullability'. I've

Re: [O] Four issues with org-babel-tangle

2011-09-16 Thread Eric Schulte
Christopher Genovese genovese...@gmail.com writes: I'll write up this change as it may end up being longer than 10 lines, and if I write it we don't have to wait for your FSF assignment to clear (which can sometimes take months) before applying the patch. That sounds good, thanks. In

Re: [O] [babel] Export problem (Wrong type argument: consp, nil)

2011-09-16 Thread Eric Schulte
Hi Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Thanks for working on this test, I look forward to adding it once it is completed. As promised, a patch for checking that vars with no default value will generate an error with a full explanation. I

[O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]

2011-09-16 Thread Dave Abrahams
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.

[O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual)

2011-09-16 Thread Cook, Malcolm
I would like to be able to export a buffer as HTML, LaTex, what-have-you without having to re-evaluate any source blocks, and without having to modify the :eval tag in any source header blocks. Is there any way to accomplish this via hooks, flags, appropriate function calls? I think my

Re: [O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual)

2011-09-16 Thread Nick Dokos
[forgot to cc: the list] Cook, Malcolm m...@stowers.org wrote: I would like to be able to export a buffer as HTML, LaTex, what-have-you without having to re-evaluate any source blocks, and without having to modify the :eval tag in any source header blocks. Is there any way to accomplish

Re: [O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual)

2011-09-16 Thread Cook, Malcolm
Nick, Exactly what I needed, thanks, somehow missed that And this advice is what I needed to do next: http://lists.gnu.org/archive/html/emacs-orgmode/2011-06/msg00034.html ~Malcolm -Original Message- From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] Sent: Friday,

[O] Problems with Org-Mode export

2011-09-16 Thread Michael Hannon
Greetings.  I've been having problems lately in exporting Org-Mode source-code documents to HTML and/or PDF. I'm running Org-Mode 7.7 with Emacs 23 on 64-bit linux (Fedora 15). I've appended a document that exhibits at least some of the problem.  The problems are similar to the problem described

Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]

2011-09-16 Thread David Maus
At Fri, 16 Sep 2011 12:03:51 -0400, Dave Abrahams wrote: 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

Re: [O] Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]

2011-09-16 Thread Dave Abrahams
on Fri Sep 16 2011, David Maus dmaus-AT-ictsoc.de wrote: How did you enter the link into the Org file? The original link [[message://m2k4n46n5p.wl%d...@boostpro.com]] Is unescaped, but Org treats links as always percent-escaped. What happens is that %da is treated as a percent escaped

[O] pdf exports on remote files

2011-09-16 Thread Adam Perry
Hi. Can anyone tell me how, while working in org-mode on a remote host (accessed with tramp), I could tell emacs that the pdf file I want to export (C-c C-e d) should be created with my local machine? The hosts I'm concerned with don't have any pdf generating capability, and I'd prefer to avoid

Re: [O] [babel] Some variables with no default value don't provoke an error

2011-09-16 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Weirdly enough, in the following code block, I must add a default value for vars `table', `column' and `type' but not for the var

[O] Collapsing tracked time?

2011-09-16 Thread Steinar Bang
For one particular long running TODO, I have to scroll over several (well... more than one) screen pages of time stamps until I get to the payload. Is it possible to let the time stamps be collapsed/hidden by default, and only toggle them visible if I need to adjust a time stamp or two? Thanks!

Re: [O] Problems with Org-Mode export

2011-09-16 Thread Michael Hannon
FYI: the problem described below is worse with:     Org-mode version 7.7 (release_7.7.298.gbf3e9) -- Mike From: Michael Hannon jm_han...@yahoo.com To: Org-Mode List emacs-orgmode@gnu.org Sent: Friday, September 16, 2011 10:50 AM Subject: [O] Problems with

Re: [O] Collapsing tracked time?

2011-09-16 Thread Stuart Hickinbottom
Take a look at the org-clock-into-drawer and org-log-into-drawer variables: http://orgmode.org/manual/Clocking-commands.html http://orgmode.org/manual/Tracking-TODO-state-changes.html Does this do what you want? Stuart On 09/16/2011 09:01 PM, Steinar Bang wrote: For one particular long

[O] Escaping in HTML Export

2011-09-16 Thread Pavel Panchekha
I'm seeing an example where Org-mode fails to escape and signs on HTML exporting. This is also breaking the claim of XHTML Strict. -- - Pavel Panchekha

[O] shortcuts to hide nearest heading or sparse tree

2011-09-16 Thread Kevin Buchs
I have been studying extensively and have not found a quick way to hide the nearest heading (which contains point) as well as the entire sparse tree. I often have two or more sparse trees open as I go look for information elsewhere and then want to return to the place I was at. So, can I be lazy

[O] Feature Request: fully reveal links when isearch stops there

2011-09-16 Thread Dave Abrahams
When I isearch for `foo' and find it in `[[foo][bar]]', I would like org buffers to show me the whole link, verbatim, rather than merely showing bar. It's not very useful to see only the description in these cases. TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com

Re: [O] Problems with Org-Mode export

2011-09-16 Thread David Maus
At Fri, 16 Sep 2011 10:50:01 -0700 (PDT), Michael Hannon wrote: Greetings. I've been having problems lately in exporting Org-Mode source-code documents to HTML and/or PDF. I'm running Org-Mode 7.7 with Emacs 23 on 64-bit linux (Fedora 15). I've appended a document that exhibits at least