Re: [O] FYI: Org mode testing framework, Emacs 23 and 22

2011-09-15 Thread David Maus
At Tue, 13 Sep 2011 08:48:49 -0600, Eric Schulte wrote: > > So am I right in thinking that as of right this commit [1] we are > passing all tests on Emacs 22 through Emacs24? > > Thanks -- Eric > > > > > This is with > > > > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of > > 2010-1

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

2011-09-15 Thread Christopher Genovese
> 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 fact... if this attached patch looks good to you (i.e.,

Re: [O] Feature request: Select links by description [7.4]

2011-09-15 Thread Dave Abrahams
on Thu Sep 15 2011, Dave Abrahams wrote: > on Tue Feb 15 2011, Dave Abrahams wrote: > >> On Mon, Feb 14, 2011 at 11:14 PM, Bastien >> wrote: >>> Dave Abrahams writes: >> >>> How about just always showing the link as it will be presented to the user first, followed by the raw link?

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

2011-09-15 Thread Michael Hannon
> From: suvayu ali > > Hey Mike, > > On Fri, Sep 16, 2011 at 1:18 AM, Michael Hannon wrote: >> but Emacs complains about an "org-mode fontification error" and doesn't give >> me an executable R source-code block.  I've tried numerous minor variations >> on this theme, but I don't think it's wor

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

2011-09-15 Thread suvayu ali
Hey Mike, On Fri, Sep 16, 2011 at 1:18 AM, Michael Hannon wrote: > but Emacs complains about an "org-mode fontification error" and doesn't give > me an executable R source-code block.  I've tried numerous minor variations > on this theme, but I don't think it's worth wasting your time by listing

[O] Automatically insert R source code block?

2011-09-15 Thread Michael Hannon
Greetings.  Pardon my ignorance, but I'm having trouble understanding some elisp syntax. Some time ago I asked on this list how to use the "<..." shortcut to insert a source-code block in upper case (as: BEGIN_SRC, etc.), Suvayu Ali responded with: (add-to-list 'org-structure-template-alist  

[O] Is LaTeX pdf export that uses pgfSweave possible?

2011-09-15 Thread Mikhail Titov
Hello! First of all I’m not good at lisp as of now. I’d like to have an extra export option when I press C-c C-e that would create Rnw file instead of tex, pass it through pgfSweave in running R session. I have the following to use pgfSweave in R session: ---8<-

[O] Bug: [bug/patch] actually truncate lines in `*Org Link*' buffers [7.7 (release_7.7.292.g0d4e8.dirty)]

2011-09-15 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.

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

2011-09-15 Thread Eric Schulte
Christopher Genovese writes: > Hi Eric, > >Thanks for your note. > >> I would encourage you to begin the FSF assignment process if >> you anticipate potentially contributing more fixes in the >> future. Could you please send a git format-patch version of >> the simple fix to the list so that

Re: [O] org-babel R, export, and :result value raw

2011-09-15 Thread Eric Schulte
Hi Christophe, This issue of result wrappers (e.g., raw org html) not playing well with result types (e.g., vector, scalar) came up a couple of months ago on this mailing list and was not resolved. I've just pushed up a change which should fix this problem, along with an R-specific fix so that R

Re: [O] org-babel R, export, and :result value raw

2011-09-15 Thread Nick Dokos
Christophe Rhodes wrote: > Hi, > > Consider the following org-mode file, assuming that org-babel support > for emacs lisp and R is active: > > --- begin --- > #+TITLE: Foo > > #+begin_src emacs-lisp :exports results :results value raw > "[[file:foo.png]]" > #+end_src > > #+results: > [[foo.pn

[O] org-babel R, export, and :result value raw

2011-09-15 Thread Christophe Rhodes
Hi, Consider the following org-mode file, assuming that org-babel support for emacs lisp and R is active: --- begin --- #+TITLE: Foo #+begin_src emacs-lisp :exports results :results value raw "[[file:foo.png]]" #+end_src #+results: [[foo.png]] #+begin_src R :exports results :results value raw

Re: [O] Feature request: Select links by description [7.4]

2011-09-15 Thread Dave Abrahams
on Tue Feb 15 2011, Dave Abrahams wrote: > On Mon, Feb 14, 2011 at 11:14 PM, Bastien wrote: >> Dave Abrahams writes: > >> >>> How about just always showing the link as it will be presented to the >>> user first, followed by the raw link?  Then everything will be >>> consistent. >> >> I don't s

Re: [O] Time range between now and timestamp

2011-09-15 Thread Alexander Wingård
Wonderful, thanks alot! I can already see this becoming of great use to me. Best Regards /Alexander On Thu, Sep 15, 2011 at 6:02 PM, Nick Dokos wrote: > Alexander Wingård wrote: > >> Let's say I have this: >> >> <2011-09-15 Thu>--<2011-09-16 Fri> >> >> and I put my cursor over this and press C

Re: [O] Time range between now and timestamp

2011-09-15 Thread Nick Dokos
Alexander Wingård wrote: > Let's say I have this: > > <2011-09-15 Thu>--<2011-09-16 Fri> > > and I put my cursor over this and press C-c C-y my minibuffer will > spit out 1 day. > > I would like a command that does the same thing if i execute it over > just <2011-09-16 Fri>. > > Sometimes I'm

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

2011-09-15 Thread Eric Schulte
Hi Christopher, Thank you for the thorough examples and for suggesting fixes. I would like to apply your "simple fix" immediately, and the resulting patch should be small enough (less than 10 lines of changes) that it can be applied without FSF assignment -- although I would encourage you to begi

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

2011-09-15 Thread Eric Schulte
"Sebastien Vauban" writes: > Hi Eric, > > As said previously, I've been forced to add a default value to many code > blocks I had in my local LOB, which I ingest in my `.emacs' file: > > #+begin_src emacs-lisp > (when (try-require 'ob-lob) >(org-babel-lob-ingest "~/emacs/site-lisp/my-local-l

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

2011-09-15 Thread Eric Schulte
> > 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 may be called when there are no

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 10:42:07 -0400 brian powell wrote: > *Could do this work-around: > > nl file_you_will_edit.org | cut -f 1 > line_numbers > > *Open the file_you_will_edit.org and do: > > Mx split-window-horizontally > > *Put the line_numbers in the left-hand-side buffer! > > ;-) > > > P

Re: [O] Time range between now and timestamp

2011-09-15 Thread Alexander Wingård
Let's say I have this: <2011-09-15 Thu>--<2011-09-16 Fri> and I put my cursor over this and press C-c C-y my minibuffer will spit out 1 day. I would like a command that does the same thing if i execute it over just <2011-09-16 Fri>. Sometimes I'm interested in how much time there is left to a s

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread brian powell
*Could do this work-around: nl file_you_will_edit.org | cut -f 1 > line_numbers *Open the file_you_will_edit.org and do: Mx split-window-horizontally *Put the line_numbers in the left-hand-side buffer! ;-) P.S. I put the line number and column number on the modeline: http://www.gnu.org/s/lib

Re: [O] Time range between now and timestamp

2011-09-15 Thread Nick Dokos
Alexander Wingård wrote: > Hi! > > I really would want to have a command that given the cursor is over a > timestamp would output the time-range from the current time to that > timestamp. > Can you please provide an example? I can interpret this in a couple of different ways and I'm not sure w

[O] Time range between now and timestamp

2011-09-15 Thread Alexander Wingård
Hi! I really would want to have a command that given the cursor is over a timestamp would output the time-range from the current time to that timestamp. I've been searching a lot for this but no luck and I even did an attempt to implement some hacked version of org-evaluate-time-range and org-d

Re: [O] Lisp nesting exceeds `max-lisp-eval-depth'"

2011-09-15 Thread brian powell
*"Variable: max-lisp-eval-depth This variable defines the maximum depth allowed in calls to eval, apply, and funcall before an error is signaled (with error message "Lisp nesting exceeds max-lisp-eval-depth"). This limit, with the associated error when it is exceeded, is one way that Lisp avoids in

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 14:07:57 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > On Thu, 15 Sep 2011 12:04:30 +0200 > > Olaf Dietsche wrote: > > > >> Have you tried disabling or reducing these modes? One of them or a > >> combination is responsible for the error you get. > >> > >> Regard

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Olaf Dietsche
Diep Pham Van writes: > On Thu, 15 Sep 2011 12:04:30 +0200 > Olaf Dietsche wrote: > >> Have you tried disabling or reducing these modes? One of them or a >> combination is responsible for the error you get. >> >> Regards, Olaf > > Got it. > Disable linum-mode solve this problem. > Update to the

Re: [O] Use id property as anchor in the Table of Contents

2011-09-15 Thread Pere Quintana Seguí
2011/9/15 Olaf Dietsche : >> With this patch, what happens if there is no id in a heading, does it >> create it automatically? > > It is supposed to use the CUSTOM_ID, if set. Next, it tries the ID > property. At last, it falls back to "sec-...". Ok, perfect. Thanks.

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > I get this error: "Error in post-command-hook: (void-variable > > org-ans1)" every time I want to use schedule or deadline. After > > that, the error message appear with any command. After some > > minutes, th

Re: [O] Lisp nesting exceeds `max-lisp-eval-depth'"

2011-09-15 Thread Olaf Dietsche
Martin Butz writes: > Am 15.09.2011 11:36, schrieb Olaf Dietsche: >> Hi Martin, > > [...] > >>>sr-speedbar-remember-window-width() >>>old-delete-window(#) >> >> This one hints at speedbar. Are you using the speedbar module? > > Yes. Good advice. I have a (require 'sr-speedbar) in my .emac

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > I get this error: "Error in post-command-hook: (void-variable > > org-ans1)" every time I want to use schedule or deadline. After > > that, the error message appear with any command. After some > > minutes, th

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Olaf Dietsche
Diep Pham Van writes: > I get this error: "Error in post-command-hook: (void-variable > org-ans1)" every time I want to use schedule or deadline. After that, > the error message appear with any command. After some minutes, this > error message disappear and I can use anny command as expected. > >

Re: [O] Lisp nesting exceeds `max-lisp-eval-depth'"

2011-09-15 Thread Olaf Dietsche
Hi Martin, Martin Butz writes: > Hello all, > > I get the following error message while using org-mode during the last > weeks quite frequently (unfortunately I am not able to link it to an > update of the installation of some lisp file); I can reproduce the > behaviour by opening the agenda buf

Re: [O] Use id property as anchor in the Table of Contents

2011-09-15 Thread Olaf Dietsche
Pere Quintana Seguí writes: > 2011/9/13 Olaf Dietsche : >> How did you create ID properties for all entries? Have you exported your >> org-files to icalendar? > > Most of them have ID properties because I often link them internally. > When I create the link with C-c l, org adds the id. > > For th

[O] Lisp nesting exceeds `max-lisp-eval-depth'"

2011-09-15 Thread Martin Butz
Hello all, I get the following error message while using org-mode during the last weeks quite frequently (unfortunately I am not able to link it to an update of the installation of some lisp file); I can reproduce the behaviour by opening the agenda buffer (C-c a a) and trying to quit with "q

Re: [O] plus in superscript.

2011-09-15 Thread Christian Moe
On 9/15/11 9:44 AM, Carsten Dominik wrote: When Org exports to HTML for use with MathJax, it does convert $..$ to \(..\) to work around this. Oops, I should have guessed. I just remembered having to fiddle with my MathJax configuration at one point, but that was probably before Org even swi

Re: [O] plus in superscript.

2011-09-15 Thread Carsten Dominik
On Sep 15, 2011, at 9:43 AM, Christian Moe wrote: > Hi, > > $...$ may sometimes get confused with currency signs, variable names and > whatnot. > > Org-mode is sophisticated about it as long as you follow a few safeguards -- > from the Info section 11.7.3: > > To avoid conflicts > wi

Re: [O] plus in superscript.

2011-09-15 Thread Christian Moe
Hi, $...$ may sometimes get confused with currency signs, variable names and whatnot. Org-mode is sophisticated about it as long as you follow a few safeguards -- from the Info section 11.7.3: To avoid conflicts with currency specifications, single `$' characters are only rec

Re: [O] plus in superscript.

2011-09-15 Thread Nick Dokos
suvayu ali wrote: > Hi Nick, > > On Wed, Sep 14, 2011 at 6:55 PM, Nick Dokos wrote: > > * This is a test: \(T^{+}\) > > Apart from what Christian said, do you have any comments about $..$ > and \(..\) ? I hear conflicting arguments about which is preferred > (e.g. $..$ is a TeX construct where