Re: [O] Python Code Block error with header option :results output

2014-01-31 Thread Christian Moe
Eric Schulte writes: > Soapy Smith writes: > >> Hello- >> >> I am not a user of Python (yet). During a comparison of code block >> behavior between Clojure and Python, I discovered a possible Python >> error. >> >> Here is the code block: >> >> #+begin_src python :results output >> a = (1, 2,

Re: [O] Stop clock on closing emacs

2014-01-31 Thread Rustom Mody
Igor wrote > Hi, > > is there any hook to stop automatically a running clock when closing > emacs? > > I can't find anything neither in the manual nor in internet... In (info "(org)Clocking Work Time") is given this: (setq org-clock-persist 'history) (org-clock-persistence-insinuate) They d

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread John Hendy
On Jan 31, 2014 5:26 PM, "Andreas Leha" wrote: > > Hi, > > John Hendy writes: > > > On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou wrote: > >> John Hendy writes: > >> > I cannot reproduce the problem. > >>> > >>> In the .tex file or in the .pdf? > >> > >> Both. > > > > Weird. > > > >> >

Re: [O] Changing title for outline

2014-01-31 Thread Nick Dokos
Erich Neuwirth writes: > Suing this at the end of file > > #+ Local Variables: > #+ org-beamer-outline-frame-title: "Themen" > #+ End: > > > Brings up a prompt about changing local variables, > but accepting the changes does still not produce the desired result. > The header line of the outline f

Re: [O] Changing title for outline

2014-01-31 Thread Erich Neuwirth
Suing this at the end of file #+ Local Variables: #+ org-beamer-outline-frame-title: "Themen" #+ End: Brings up a prompt about changing local variables, but accepting the changes does still not produce the desired result. The header line of the outline frame still is Outline On Feb 1, 2014,

Re: [O] Changing title for outline

2014-01-31 Thread Nick Dokos
Erich Neuwirth writes: > Is there a way of putting this into the document itself? > > I tried > > #+begin_src emacs-lisp :results value > (setq org-beamer-outline-frame-title "Themen") > #+end_src > > before any of the text of the document, and this did not work! > > On Jan 30, 2014, at 12:14 PM

Re: [O] [PATCH] Font-lock: allow hiding of brackets surrounding macros

2014-01-31 Thread Bastien
Hi Florian, Florian Beck writes: > I gave it a try. Well, I spend most of my time on formatting this > patch. Hope it works. Works well, thanks. Unless someone is against this change, I'll apply it next week. -- Bastien

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > AFAIU, I forgot `table-cell' (which can also contain objects) in > > '(paragraph verse-block) > > So it should just be a matter of adding it to that list. Done, thanks. > BTW, shouldn't ca0c77033d729a51688eabbb9847249cf50ad6c4 be applied on > maint too?

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread Andreas Leha
Hi, John Hendy writes: > On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou wrote: >> John Hendy writes: >> I cannot reproduce the problem. >>> >>> In the .tex file or in the .pdf? >> >> Both. > > Weird. > >> >>> I know that #+begin/end_example works properly, so I took a look at >>> the di

Re: [O] Code block option :results raw does not replace #+RESULTS

2014-01-31 Thread Nick Dokos
Soapy Smith writes: > Hello- > > Here is an example Python code block: > > #+begin_src python :results value raw > a = (1, 2, 3, 4) > return a > #+end_src > > #+RESULTS: > (1, 2, 3, 4) > (1, 2, 3, 4) > > The #+RESULT block above is after 2 evaluations. > The default behavior of "replace" is not

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou wrote: > John Hendy writes: > >>> I cannot reproduce the problem. >> >> In the .tex file or in the .pdf? > > Both. Weird. > >> I know that #+begin/end_example works properly, so I took a look at >> the difference between them: >> >> \begin{frame}

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread Nicolas Goaziou
John Hendy writes: >> I cannot reproduce the problem. > > In the .tex file or in the .pdf? Both. > I know that #+begin/end_example works properly, so I took a look at > the difference between them: > > \begin{frame}[fragile,label=sec-1]{begin src} > \begin{verbatim} > a <- "Test of whitespace

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 4:57 PM, Josiah Schwab wrote: > > jw.he...@gmail.com writes: > >> I was just following along with Worg, which doesn't mention doing >> that. I'm now thinking that `git add` must be implied in the line >> =make some changes (1)=? > > Yes, I agree; as written, there is an imp

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread Josiah Schwab
jw.he...@gmail.com writes: > I was just following along with Worg, which doesn't mention doing > that. I'm now thinking that `git add` must be implied in the line > =make some changes (1)=? Yes, I agree; as written, there is an implicit `git add`. I think it would be reasonable to make that exp

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread Nick Dokos
John Hendy writes: > On Fri, Jan 31, 2014 at 4:23 PM, Josiah Schwab wrote: >> >> jw.he...@gmail.com writes: >> >>> emacs doc/org.texi >>> >>> [make changes to documentation] >>> >>> git commit -m "Update documentation to org-src-preserve-indentation." >>> >>> git format-patch master >>> >>> But

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 4:25 PM, Nicolas Goaziou wrote: > John Hendy writes: > >> Here's the test file: >> >> #+begin_src org >> >> #+latex_class: beamer >> #+options: toc:nil latex:t tex:t H:1 >> #+latex_class_options: [presentation] >> >> * Slide >> >> #+begin_src R >> a <- "Test of whitespace

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 4:23 PM, Josiah Schwab wrote: > > jw.he...@gmail.com writes: > >> emacs doc/org.texi >> >> [make changes to documentation] >> >> git commit -m "Update documentation to org-src-preserve-indentation." >> >> git format-patch master >> >> But no files were generated... Am I doi

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread Nicolas Goaziou
John Hendy writes: > Here's the test file: > > #+begin_src org > > #+latex_class: beamer > #+options: toc:nil latex:t tex:t H:1 > #+latex_class_options: [presentation] > > * Slide > > #+begin_src R > a <- "Test of whitespace preservation" > > b <- cat("Let's see what happens when we spill", >

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread Josiah Schwab
jw.he...@gmail.com writes: > emacs doc/org.texi > > [make changes to documentation] > > git commit -m "Update documentation to org-src-preserve-indentation." > > git format-patch master > > But no files were generated... Am I doing something incorrectly? Yes. You need to explicitly add your cha

[O] [PATCH] Font-lock: allow hiding of brackets surrounding macros

2014-01-31 Thread Florian Beck
Hi, I gave it a try. Well, I spend most of my time on formatting this patch. Hope it works. -- Florian Beck >From 7980ee3ab9e048c1bdeddfaa6f7dbe984c469171 Mon Sep 17 00:00:00 2001 From: Florian Beck Date: Fri, 31 Jan 2014 22:42:04 +0100 Subject: [PATCH] Font-lock: allow hiding of brackets sur

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 3:50 PM, Thomas S. Dye wrote: > Hi John, > > John Hendy writes: > >> Greetings, >> >> >> I've only contributed to Worg, not the Org manual. I want to submit a >> change to the documentation per an earlier discussion.[1] I'm >> attempting to follow the Worg suggestion for s

Re: [O] Code block option :results raw does not replace #+RESULTS

2014-01-31 Thread John Hendy
On Fri, Jan 31, 2014 at 3:45 PM, Soapy Smith wrote: > Hello- > > Here is an example Python code block: > > #+begin_src python :results value raw > a = (1, 2, 3, 4) > return a > #+end_src > > #+RESULTS: > (1, 2, 3, 4) > (1, 2, 3, 4) > > The #+RESULT block above is after 2 evaluations. > The defau

Re: [O] Assistance with patching instructions on Worg

2014-01-31 Thread Thomas S. Dye
Hi John, John Hendy writes: > Greetings, > > > I've only contributed to Worg, not the Org manual. I want to submit a > change to the documentation per an earlier discussion.[1] I'm > attempting to follow the Worg suggestion for submitting patches.[2] > > Here was my process > > cd ~/.elisp/org.g

[O] Code block option :results raw does not replace #+RESULTS

2014-01-31 Thread Soapy Smith
Hello- Here is an example Python code block: #+begin_src python :results value raw a = (1, 2, 3, 4) return a #+end_src #+RESULTS: (1, 2, 3, 4) (1, 2, 3, 4) The #+RESULT block above is after 2 evaluations. The default behavior of "replace" is not happening. The result "stack" will continue to

Re: [O] Python Code Block error with header option :results output

2014-01-31 Thread Eric Schulte
Soapy Smith writes: > Hello- > > I am not a user of Python (yet). During a comparison of code block > behavior between Clojure and Python, I discovered a possible Python > error. > > Here is the code block: > > #+begin_src python :results output > a = (1, 2, 3, 4) > return a > #+end_src > > Th

Re: [O] Python Code Block error with header option :results output

2014-01-31 Thread Ahmadou Dicko
I'm not a Python expert too but I don't that return statement can be used as is on the fly. So, yes is the expected behavior of Python Try instead #+begin_src python :results output a = (1, 2, 3, 4) print(a) #+end_src #+RESULTS: : (1, 2, 3, 4) On Fri, Jan 31, 2014 at 9:24 PM, Soapy Smith

[O] Assistance with patching instructions on Worg

2014-01-31 Thread John Hendy
Greetings, I've only contributed to Worg, not the Org manual. I want to submit a change to the documentation per an earlier discussion.[1] I'm attempting to follow the Worg suggestion for submitting patches.[2] Here was my process cd ~/.elisp/org.git git pull make clean && make git branch org-

[O] Python Code Block error with header option :results output

2014-01-31 Thread Soapy Smith
Hello- I am not a user of Python (yet). During a comparison of code block behavior between Clojure and Python, I discovered a possible Python error. Here is the code block: #+begin_src python :results output a = (1, 2, 3, 4) return a #+end_src The evaluation of this block results in this err

Re: [O] Export Dispatcher Insert Template Not Working?

2014-01-31 Thread Soapy Smith
Thank you Bastien, the change is confirmed working! Regards, Greg On Fri, 2014-01-31 at 18:04 +0100, Bastien wrote: > Hi Greg, > > Soapy Smith writes: > > > Hello, I'm having trouble with the export dispatcher not inserting a > > template. I'm not sure I'm entering the commands correctly. I

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Nicolas Goaziou
Hello, Bastien writes: > Yes, I see. Nicolas, can you double check my fix here: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=d035a9af I think this is not the right fix. AFAIU, I forgot `table-cell' (which can also contain objects) in '(paragraph verse-block) So it should just be

[O] Export Dispatcher Insert Template Not Working?

2014-01-31 Thread Greg
Hello, I'm having trouble with the export dispatcher not inserting a template. I'm not sure I'm entering the commands correctly. I am attempting to insert the template for LaTeX. Here are the 2 different attempts which fail: C-c C-e (successfully opens the dispatcher buffer) l # l ret In m

[O] how to customize date export

2014-01-31 Thread Mirko Vukovic
Hello, I could not figure out how to customize org's export of dates into latex. I found org-export-date-timestamp-format, but that works only for the DATE keyword. What can work on all date-stamps in the document? Thanks, Mirko

Re: [O] Export Dispatcher Insert Template Not Working?

2014-01-31 Thread Bastien
Hi Greg, Soapy Smith writes: > Hello, I'm having trouble with the export dispatcher not inserting a > template. I'm not sure I'm entering the commands correctly. I am > attempting to insert the template for LaTeX. > > > Here are the 2 different attempts which fail: > > C-c C-e (successfully

[O] Export Dispatcher Insert Template Not Working?

2014-01-31 Thread Soapy Smith
Hello, I'm having trouble with the export dispatcher not inserting a template. I'm not sure I'm entering the commands correctly. I am attempting to insert the template for LaTeX. Here are the 2 different attempts which fail: C-c C-e (successfully opens the dispatcher buffer) l # l ret In m

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-31 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: >> I'm for pushing the change to master > > Done I don't think `org-toggle-fixed-width-section' should be deleted entirely, as fixed-width text is still supported in this form: : Some text and using C-c : is very handy. What do you think? -- Bastien

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Bastien
Nick Dokos writes: > Bastien writes: > >> Rustom Mody writes: >> >>> For the below file, if I place the cursor in the right column >>> and give C-c C-c I get the above error >> >> I can't reproduce this -- can you send a backtrace? > > This form > > (org-element-property :contents-begin

Re: [O] Changing title for outline

2014-01-31 Thread Erich Neuwirth
Is there a way of putting this into the document itself? I tried #+begin_src emacs-lisp :results value (setq org-beamer-outline-frame-title "Themen") #+end_src before any of the text of the document, and this did not work! On Jan 30, 2014, at 12:14 PM, Sebastien Vauban wrote: > setq org-be

Re: [O] code blocks inside enumerations

2014-01-31 Thread Alan Schmitt
I dug a little deeper and found the answer: I need to indent the source block. Alan Schmitt writes: > Hello, > > I'm writing a series of exercises where I need to write some code in the > middle of an enumeration. Unfortunately the following does not work: > > 1. This is how one write an empty l

[O] code blocks inside enumerations

2014-01-31 Thread Alan Schmitt
Hello, I'm writing a series of exercises where I need to write some code in the middle of an enumeration. Unfortunately the following does not work: --8<---cut here---start->8--- 1. This is how one write an empty list #+BEGIN_SRC emacs-lisp nil #+END_SRC 2. A

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Nick Dokos
Bastien writes: > Rustom Mody writes: > >> For the below file, if I place the cursor in the right column >> and give C-c C-c I get the above error > > I can't reproduce this -- can you send a backtrace? This form (org-element-property :contents-begin context) seems to be returning nil

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Bastien
Rustom Mody writes: > For the below file, if I place the cursor in the right column > and give C-c C-c I get the above error I can't reproduce this -- can you send a backtrace? -- Bastien

Re: [O] How to define shortcut for equations

2014-01-31 Thread o.castillo.felis...@gmail.com
Bastien... You were right! I guess the previous session didn't charge the updated configuration. Thx. Cheers. On Fri, Jan 31, 2014 at 9:47 AM, Bastien wrote: > "o.castillo.felis...@gmail.com" > writes: > > > I tried the following but does not work > > > > -8< Code Start --

[O] Stop clock on closing emacs

2014-01-31 Thread Igor Sosa Mayor
Hi, is there any hook to stop automatically a running clock when closing emacs? I can't find anything neither in the manual nor in internet... many thanks in advance. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid

[O] Bug: Wrong type argument: Integer or marker-p, nil

2014-01-31 Thread Rustom Mody
For the below file, if I place the cursor in the right column and give C-c C-c I get the above error org 8.2.5e emacs 24.3.1 --- * What about $\Leftrightarrow$ ? As we know the truth-table for 'iff' also written as $\Leftrightarrow$ is as follows #+ATTR_LATEX: :align |c|c|c| | $P$ |

Re: [O] How to define shortcut for equations

2014-01-31 Thread Bastien
"o.castillo.felis...@gmail.com" writes: > I tried the following but does not work > > -8< Code Start ->8-- > #+BEGIN_SRC emacs-lisp > (eval-after-load "org" >   '(add-to-list 'org-structure-template-alist >     '("E" "\\begin\{equation\}\n?\n\\end\{equation\}" ""))) >

[O] How to define shortcut for equations

2014-01-31 Thread o.castillo.felis...@gmail.com
Dear community, I'd like to use the shortcut =8-- #+BEGIN_SRC emacs-lisp (eval-after-load "org" '(add-to-list 'org-structure-template-alist '("E" "\\begin\{equation\}\n?\n\\end\{equation\}" ""))) #+END_SRC -8< Code End ->8-- --

Re: [O] Timestamps - anything goes?

2014-01-31 Thread Thorsten Jolitz
Bastien writes: Hi Bastien, > Thorsten Jolitz writes: > >> 1. can deadlines be time-ranges? > > No. > >> 2. in time-ranges, can both entries have repeaters? > > No. > >> 3. can deadline and closed have repeaters? > > No. > >> 4. are any combinations of deadline and scheduled valid? > > Yes!

Re: [O] bugs in property searches?

2014-01-31 Thread Bastien
Nick Dokos writes: > OK, I played the git blame game and found commit 3ec38f5c: I reverted this commit, so this particular bug is fixed*. Thanks John and Nick, * I could not remember why I used `save-window-excursion' here. I should have documented this in the commit message. If anyone fi

Re: [O] fold only DONE items at #+STARTUP

2014-01-31 Thread John Kitchin
you can set a VISIBILITY property to folded in the DONE subtrees. then it seems like those trees stay folded even if startup opens the rest of them. If it is that important maybe you can get changing the status to also change the visibility property with some emacs-lisp. John ---

Re: [O] LaTeX export controls

2014-01-31 Thread Peter Davis
On 1/30/14, 9:04 PM, John Hendy wrote: #+author: Peter Davis (addl info) Aha! That also lead me to #+title:, which I also needed. Thank you! I kept looking for LaTeX-specific options, instead of more global export ones. -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com

Re: [O] how to group together fields

2014-01-31 Thread Alexander Baier
On 2014-01-30 16:45 Stefan Huchler wrote: > What do I want as result: > > 2. give me a list of scores for each brand [TODO] > > is there a way to group together Tea brands to give each Brand a Score > (how I liked it)? I do not think that this is possible with column view. You could maybe get sum

Re: [O] bad link in FAQ

2014-01-31 Thread Bastien
Mirko Vukovic writes: > A better link would be: http://www.emacswiki.org/emacs/SkeletonMode Fixed, thanks. -- Bastien

Re: [O] Clojure Code Block Results not Tabularized

2014-01-31 Thread Bastien
Hi Greg, Soapy Smith writes: > Is there a way to get the > complete code blocks exported in an entire org file using a global > option? I think you want :export both -- see tangle export options in the manual. > Python code blocks are used for comparison. There were some > differences. Plea

Re: [O] vertical space

2014-01-31 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Why exactly the last one is parsed as a literal string and not as a line > break, I don't know. Nicolas will probably explain all. The only thing I > can say is that if there is something other than whitespace on the line > before the \\, it gets parsed as a line brea

Re: [O] vertical space

2014-01-31 Thread Nicolas Goaziou
Hello, Rustom Mody writes: >> Why exactly the last one is parsed as a literal string and not as a line >> break, I don't know. Nicolas will probably explain all. The only thing I >> can say is that if there is something other than whitespace on the line >> before the \\, it gets parsed as a line

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-01-31 Thread Nicolas Goaziou
Hello, John Hendy writes: > The closest I found in my googling for a solution/setting/variable was > the variable =org-src-preserve-indentation=, but that seems to only > have to do with tangling. The first line of its docstring is: If non-nil preserve leading whitespace characters on export

Re: [O] LaTeX export controls

2014-01-31 Thread Nicolas Goaziou
Hello, Peter Davis writes: > I'm finding the documentation on LaTeX export a bit thin. Where, for > example, does the author's name come from? I noticed my documents do > have my correct name, but I don't know where it's coming from. See (info "(org) Export settings") Regards, -- Nicolas G