[O] Skeletons Link

2012-12-10 Thread Rodolfo Aramayo
People, On the page: http://orgmode.org/worg/org-faq.html#when-to-contact-mailing-list In the question: Are there any shortcuts for entering source blocks and comment lines? Why is the link for 'Skeletons' pointing to: http://www.slashgear.com/nokia-n900-android-dual-boot-hack-video-2371099/ W

Re: [O] including the result of a block in several places?

2012-12-10 Thread Alan Schmitt
t...@tsdye.com (Thomas S. Dye) writes: > I've had these in my .emacs for quite a while and they seem to work: > > ** ON Load Standard Library of Babel > #+begin_src emacs-lisp :tangle yes > (org-babel-lob-ingest > "~/.emacs.d/src/org-mode/contrib/babel/library-of-babel.org") > #+end_src Thanks

Re: [O] including the result of a block in several places?

2012-12-10 Thread Sebastien Vauban
Alan Schmitt, Alan Schmitt wrote: > t...@tsdye.com (Thomas S. Dye) writes: > >> I've had these in my .emacs for quite a while and they seem to work: >> >> ** ON Load Standard Library of Babel >> #+begin_src emacs-lisp :tangle yes >> (org-babel-lob-ingest >> "~/.emacs.d/src/org-mode/contrib/babe

Re: [O] including the result of a block in several places?

2012-12-10 Thread Alan Schmitt
"Sebastien Vauban" writes: > In a hurry, to repeat the code: > > - use named blocks > - use Noweb expansion > > That is: > > #+name: mycode > #+begin_src coq > ... > #+end_src > > Inserted a first time here: > > #+begin_src coq :noweb yes > <> > #+end_src > > and another one here: > > #+begin_src

Re: [O] babel perl issue

2012-12-10 Thread flav
I put (require 'ob-tangle) in my .emacs I am sorry but now Symbol's function definition is void: org-not-nil when I do C-c C-o in a perl block 2012/12/10 flav > I put (require 'ob-tangle) in my .emacs > I am sorry but now > > Symbol's function definition is void: org-not-nil > > > 2012/12/9 A

Re: [O] Skeletons Link

2012-12-10 Thread Bernt Hansen
+Matt Hi Rodolfo, Matt added this in commit bd88798 (Added instructions on creating skeleton to enter org blocks., 2010-12-20) so we'll have to wait for his input I think. Regards, Bernt Rodolfo Aramayo writes: > People, > > On the page: > http://orgmode.org/worg/org-faq.html#when-to-contac

[O] Org css

2012-12-10 Thread flav
Hello, I can't find out the css of the orgmode web site. Is it possible to get it ? Where ? Thanks -- flav

Re: [O] Org css

2012-12-10 Thread Vladimir Lomov
Hi, ** flav [2012-12-10 13:03:52 +0100]: > Hello, > I can't find out the css of the orgmode web site. > Is it possible to get it ? > Where ? > Thanks wget http://orgmode.org/org.css --- WBR, Vladimir Lomov -- Money will say more in one moment than the most eloquent lover can in years.

Re: [O] Bug: hl-line obscures org-habit tracking in agenda [7.8.11]

2012-12-10 Thread Vincent Beffara
Hi, Same thing here except with TODO keywords, the font is configured to be black-on-red and hl-line lays on top of that, giving a black-on-darkgrey. Looking at docs about how emacs determines the face at a given location, they speak about a stack of specifications but nothing about the orderi

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
flav writes: > I put (require 'ob-tangle) in my .emacs > I am sorry but now > > Symbol's function definition is void: org-not-nil > when I do C-c C-o in a perl block > put the following in your .emacs, possibly following a (require 'org) (org-babel-do-load-languages 'org-babel-load-languages

Re: [O] including the result of a block in several places?

2012-12-10 Thread Eric Schulte
Alan Schmitt writes: > "Sebastien Vauban" writes: > >> In a hurry, to repeat the code: >> >> - use named blocks >> - use Noweb expansion >> Another option would be, 1. use named blocks 2. use call lines -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: >> See http://orgmode.org/manual/Languages.html for the documentation on >> how to activate and disable org-babel languages. > > That actually produces the error: > > File mode specification error: (void-variable org-babel-tangle-lang-exts) > > as the OP

Re: [O] babel perl issue

2012-12-10 Thread flav
still an issue : Debugger entered--Lisp error: (void-function org-babel-do-load-languages) (org-babel-do-load-languages (quote org-babel-load-languages) (quote (...))) eval-buffer(# nil "/home/flav/.emacs" nil t) ; Reading at bu$ load-with-code-conversion("/home/flav/.emacs" "/home/flav/.e

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
As I mentioned in my previous message you have to require Org-mode before executing the following snippet. Try (require 'org) (org-babel-do-load-languages 'org-babel-load-languages '((perl . t))) flav writes: > still an issue : > > > Debugger entered--Lisp error: (v

Re: [O] babel perl issue

2012-12-10 Thread flav
I am sorry for my misunderstood but I put (require 'org) in my .emacs and there is no change. 2012/12/10 Eric Schulte > As I mentioned in my previous message you have to require Org-mode > before executing the following snippet. Try > > (require 'org) > (org-babel-do-load-languages >

Re: [O] Skeletons Link

2012-12-10 Thread Rodolfo Aramayo
Thank You Bernt Regards, --R On Mon, Dec 10, 2012 at 5:46 AM, Bernt Hansen wrote: > +Matt > > Hi Rodolfo, > > Matt added this in commit > bd88798 (Added instructions on creating skeleton to enter org blocks., > 2010-12-20) > > so we'll have to wait for his input I think. > > Regards, > Bernt

[O] org-sync doesn't work with recent org-element.el

2012-12-10 Thread Jonas Hörsch
hej list, i've just now been playing around with org-sync [1] and want to start using it for at least a github and eventually a redmine project. the first thing which is making me stumble is that while org-sync works fine with org-element from [2] a current (as in from head of master) one fails t

Re: [O] unicode in org-mode

2012-12-10 Thread Doug Lewan
`org-entities' and `org-entities-user' come close. They need a preceding `\', which detracts a little from reading for me. (Or course, I'm hardly using org-mode to its fullest. It really is for notes, just text.) Still, it's a big help for the moment. Thanks, Sebastien. ,Douglas Douglas Lewan

Re: [O] info for org not found in emacs

2012-12-10 Thread Rainer M Krug
Thanks - does anybody else has any ideas on how I can get org into info? Rainer On 9 December 2012 06:07, Jude DaShiell wrote: > So far as I now know you've run into a situation that's new to me. > > > --- > jude Adobe fi

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
1. make sure you're using a recent version of Org-mode, either the latest release or from git, see http://orgmode.org/worg/org-faq.html#Keeping-current 2. start Emacs with the -Q flag (to ensure there is no problem caused by the rest of your config) 3. evaluate the Babel config (re

Re: [O] info for org not found in emacs

2012-12-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/12/12 17:50, Jambunathan K wrote: > Rainer M Krug writes: > >> Thanks - does anybody else has any ideas on how I can get org into info? > > M-x info-display-manual RET ~/src/org-mode/doc/org RET > This definitely works - thanks. But is there

Re: [O] info for org not found in emacs

2012-12-10 Thread Eric Schulte
Rainer M Krug writes: > On 10/12/12 17:50, Jambunathan K wrote: >> Rainer M Krug writes: >> >>> Thanks - does anybody else has any ideas on how I can get org into info? >> >> M-x info-display-manual RET ~/src/org-mode/doc/org RET >> > > This definitely works - thanks. But is there a way of ad

Re: [O] babel perl issue

2012-12-10 Thread Achim Gratz
Eric Schulte writes: > Using this method of requiring languages, > > ;; emacs-lisp > (org-babel-do-load-languages > 'org-babel-load-languages > '((perl . t))) > > Works for me without issue when called from a fresh emacs (-Q). This is > the recommended way of adding support for

Re: [O] babel perl issue

2012-12-10 Thread Achim Gratz
flav writes: > I am sorry for my misunderstood but > I put (require 'org) in my .emacs and there is no change. May I suggest you use the ELPA package? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Strome

Re: [O] info for org not found in emacs

2012-12-10 Thread Achim Gratz
Rainer M Krug writes: > This definitely works - thanks. But is there a way of adding this > permanentely, so that I can use the menu entry in the org menu to see > the info file? As I said before, check that doc/dir is not missing or modified. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neur

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: >> Using this method of requiring languages, >> >> ;; emacs-lisp >> (org-babel-do-load-languages >> 'org-babel-load-languages >> '((perl . t))) >> >> Works for me without issue when called from a fresh emacs (-Q). This is >> the reco

Re: [O] info for org not found in emacs

2012-12-10 Thread Jambunathan K
Rainer M Krug writes: > Thanks - does anybody else has any ideas on how I can get org into > info? M-x info-display-manual RET ~/src/org-mode/doc/org RET --

Re: [O] babel perl issue

2012-12-10 Thread Achim Gratz
Eric Schulte writes: > So, you're suggesting moving all ob-* defcustoms into ob.el or possibly > into org.el? That seems reasonable to me, although I'm hesitant to add > that much code to org.el w/o a go-ahead from Bastien or a more core > maintainer than myself. That would be a possibility, but

Re: [O] Linking to Thunderbird (correction)

2012-12-10 Thread Matt Price
On Mon, Dec 10, 2012 at 2:24 AM, Christoph Herzog wrote: > (org-add-link-type "thunderlink" 'org-thunderlink-open) > (defun org-thunderlink-open (path) > "Opens a specified email in Thunderbird with the help of the add-on > ThunderLink." > (start-process "myname" nil "thunderbird" "-thunderli

Re: [O] including the result of a block in several places?

2012-12-10 Thread Alan Schmitt
Eric Schulte writes: > Alan Schmitt writes: > >> "Sebastien Vauban" writes: >> >>> In a hurry, to repeat the code: >>> >>> - use named blocks >>> - use Noweb expansion >>> > > Another option would be, > > 1. use named blocks > 2. use call lines Thanks for the suggestion. I tried using a call l

Re: [O] including the result of a block in several places?

2012-12-10 Thread Alan Schmitt
Eric Schulte writes: > Alan Schmitt writes: > >> "Sebastien Vauban" writes: >> >>> In a hurry, to repeat the code: >>> >>> - use named blocks >>> - use Noweb expansion >>> > > Another option would be, > > 1. use named blocks > 2. use call lines Thanks for the suggestion. I tried using a call li

Re: [O] including the result of a block in several places?

2012-12-10 Thread Thomas S. Dye
Alan Schmitt writes: > Eric Schulte writes: > >> Alan Schmitt writes: >> >>> "Sebastien Vauban" writes: >>> In a hurry, to repeat the code: - use named blocks - use Noweb expansion >> >> Another option would be, >> >> 1. use named blocks >> 2. use call lines > > Thanks

Re: [O] Babel give "Marker does not point anywhere" first run of LaTeX export; subsequent are fine

2012-12-10 Thread Michael Gauland
John Hendy gmail.com> writes: > > When I open an org file the first time and export to PDF via LaTeX, I > get the error "Marker does not point anywhere" and the LaTeX export > quits. Running it again without doing anything else succeeds, and all > subsequent exports work fine. > What version o

[O] [PATCH] Wrap: override default

2012-12-10 Thread Michael Gauland
* lisp/ob.el (org-babel-insert-result): only wrap if the :wrap value is non-null. It can be convenient to specify the :wrap property at a higher level (e.g., file or tree), rather than for each block. This patch allows you to override the propery by specifying :wrap with no argument. TINYCHANGE

Re: [O] info for org not found in emacs

2012-12-10 Thread Charles
On 12/10/2012 12:43 PM, Eric Schulte wrote: Rainer M Krug writes: On 10/12/12 17:50, Jambunathan K wrote: Rainer M Krug writes: Thanks - does anybody else has any ideas on how I can get org into info? M-x info-display-manual RET ~/src/org-mode/doc/org RET This definitely works - thanks.

Re: [O] info for org not found in emacs

2012-12-10 Thread Nick Dokos
Charles wrote: > Info at the command line and "C-h i" from Emacs still bring up the manual for > 7.9.1 even though the 7.9.2 org.doc has been downloaded. Have you done ``make doc'' after downloading? Nick

[O] Distinguish between blank and zero in org-mode spreadsheet

2012-12-10 Thread Bob Newell
Can't find out about this anywhere. My apologies if I missed something simple or something already posted. I want a calculation to appear in column 9 if and only if column 2 is non-blank. If there is an explicit 0 in column 2, I want the calculation to appear in column 9. But if column 2 is blank

Re: [O] Distinguish between blank and zero in org-mode spreadsheet

2012-12-10 Thread Thorsten Jolitz
Bob Newell writes: > The problem obviously revolves around a blank cell being interpreted > as zero. That's all well and good, and quite correct, but makes > distinguishing blank and explicit zero more difficult. I don't think thats "well and good, and quite correct", otherwise all the statistic

Re: [O] info for org not found in emacs

2012-12-10 Thread Charles
On 12/10/2012 5:26 PM, Nick Dokos wrote: Charles wrote: Info at the command line and "C-h i" from Emacs still bring up the manual for 7.9.1 even though the 7.9.2 org.doc has been downloaded. Have you done ``make doc'' after downloading? Nick - No virus found in this message. Checked

Re: [O] Has anybody noticed ellipses instead of the top line of the window?

2012-12-10 Thread Samuel Wales
On 12/6/12, Brian van den Broek wrote: > I have. Haven't noticed a pattern; I always get mildly concerned and often > am motivated to reassure myself there's be no data loss. Never has been. In my case, it's a significant part of the total lines in the window. I wonder if anybody has any clues a

Re: [O] Distinguish between blank and zero in org-mode spreadsheet

2012-12-10 Thread Bob Newell
I'm making it work, and using "L" rather than "S" turns out to be better, as in this revision of my example above: $9 = '(if (eq "$2" "") "" (* @2$8 $1));L But when I want different actions when there is an explicit number (including 0) vs. a blank cell, and if my action is at all complex, I e

[O] Some Experiences with org-babel-load-file

2012-12-10 Thread Florian Beck
Hello! As an experiment, I moved my .emacs and all my personal packages into an org-file and now load it with 'org-babel-load-file. This works fine enough: the source code blocks can handle several thousand lines of code (for later splitting) without any quirks, tough editing in the org-file

Re: [O] Distinguish between blank and zero in org-mode spreadsheet

2012-12-10 Thread Nick Dokos
Bob Newell wrote: > I'm making it work, and using "L" rather than "S" turns out to be better, as > in > this revision of my example above: > > $9 = '(if (eq "$2" "") "" (* @2$8 $1));L > > But when I want different actions when there is an explicit number (including > 0) > vs. a blank cell,

Re: [O] including the result of a block in several places?

2012-12-10 Thread Alan Schmitt
Thomas S. Dye writes: > Alan Schmitt writes: > >> Eric Schulte writes: >> >>> Alan Schmitt writes: >>> "Sebastien Vauban" writes: > In a hurry, to repeat the code: > > - use named blocks > - use Noweb expansion > >>> >>> Another option would be, >>> >>> 1. use nam