Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Giuseppe Lipari
Dear Bastien, thanks for the response. I did some debugging, but I am not an expert of elisp and org-mode. Anyway, this is what I found: I put a breakpoint in fuinction org-latex-src-block() which receives src-block as parameter. This parameter contains field language already set to

Re: [O] [bug][ox-latex] Captions in equations

2014-01-20 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Rasmus ras...@gmx.us writes: OK. I can prepare a patch. Great. Thank you. In LaTeX the floating would be kind of odd, I think. At the very least math floats shouldn't be Figure or Tables (IMO); unfortunately the Internets seem to

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Jambunathan K
regcl re...@channing.harvard.edu writes: I am looking for advice regarding how to write medical journal articles using org-mode. My primary motivations are the desire to ... automate the flow of data from computation to publication, avoid clerical errors, speed up the conversion of

Re: [O] [bug][ox-latex] Captions in equations

2014-01-20 Thread Rasmus
Hi Vladimir, Vladimir Lomov lomov...@gmail.com writes: IMHO, this is wrong approach. I don't understand. As I said, this is IMHO. I just didn't understand that sentence. I was not disputing your opinion. I would consider this example as a special way to generate a matrix when exporting

[O] still prob on .emacs (win / linux)

2014-01-20 Thread Renato Pontefice
Hi, I still have some prob, on my init.el/.emacs file on a Dropbox folder. Actually, my init.el on windos, is this: __ ;; -*- mode: elisp -*- (load C:/Documents and Settings/renatop/Documenti/Dropbox/Documenti/emacs_prof/.emacs)

Re: [O] still prob on .emacs (win / linux)

2014-01-20 Thread Bastien
Hi Renato, Renato Pontefice renato.pontef...@gmail.com writes: I still have some prob, on my init.el/.emacs file on a Dropbox folder. Please ask such questions on the Emacs Help mailing: https://lists.gnu.org/mailman/listinfo/help-gnu-emacs This is where general questions about Emacs are

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
henry attings...@online.de writes: Maybe it says it's still a long way to go ;) cd gnus_git grep defcustom lisp/*.el | wc -l 1204 Mhhh... that's somehow comforting (but I don't know how!) -- Bastien

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
M elwood...@web.de writes: p.s. for a new user, the large choice of options can really be quite confusing Indeed. We always need more tutorials and more structure in Worg. I may help with a fresh tutorial at some point, but I need time. -- Bastien

Re: [O] using lightbox plugins in HTML export

2014-01-20 Thread Bastien
Hi Peter, Peter Salazar cycleofs...@gmail.com writes: Alternatively, how do I specify the LaTeX image on one line, and the HTML image as an a href rel=lightbox on a different line, such that the link doesn't appear in the LaTeX export and the image doesn't get duplicated in the HTML export?

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Bastien
Hi Joseph, Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: It's very nice that an org file can be exported both to a .tex file with article class as well as to beamer class. Here is my question: does anyone knows how mixing in the same org file what is supposed to be in the

Re: [O] Automatically add a repeater when scheduling

2014-01-20 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: This might be a good feature and I might looking into creating a new version that does this automatically, since I use the current day agenda view as my next actions list, and use it to automatically carry tasks to the following

Re: [O] How to include past deadlines and scheduled TODOs in an Agenda?

2014-01-20 Thread Bastien
Hi Martin, Martin Beck elwood...@web.de writes: (agenda ((org-agenda-overriding-header Critical Now) (org-agenda-entry-types (quote (:deadline :deadline*))) (org-agenda-sorting-strategy (quote (deadline-down priority-down))) (org-agenda-time-grid nil) (org-deadline-warning-days 0)

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 12:17 , Bastien wrote: M elwood...@web.de writes: p.s. for a new user, the large choice of options can really be quite confusing Indeed. We always need more tutorials and more structure in Worg. True. But Is there a table with

Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-20 Thread Bastien
Rainer M Krug rai...@krugs.de writes: True. But Is there a table with all the variables, in the form of: | Variable | *short* description | link to manual | Not exactly this, but there is http://orgmode.org/worg/doc.html (This is for options, i.e. user variables, not all variables.) This

Re: [O] org-tag-alist and org-tag-persistent-alist

2014-01-20 Thread Bastien
Hi Giovanni, giovanni bono giovanni.bono...@gmail.com writes: i would appreciate help in understanding the difference between `org-tag-alist' and `org-tag-persistent-alist'. org-tag-alist goes with the #+TAGS in-buffer option. Inserting #+TAGS then completing by hitting TAB will complete

Re: [O] worg questions

2014-01-20 Thread Bastien
Hi Ian, Ian Kelling ian...@gmail.com writes: I pushed some formatting changes to worg, in contrib/org-drill.org. I got messages when I did, remote: worg publish process 5487. And it mentioned many files, but not the file I edited. Its been a few hours, when will this change propogate on the

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Nicolas Goaziou
Hello, Bastien b...@gnu.org writes: ox-beamer.el could have an option so that plain lists are always converted as dynamic lists (using the 1- 2- syntax) -- one problem would be solved, at least. This is already possible on a case by case basis : - @@beamer:1-@@ Item - @@beamer:2-@@ ...

Re: [O] org export for both latex and beamer, a recipe?

2014-01-20 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: This is already possible on a case by case basis : - @@beamer:1-@@ Item - @@beamer:2-@@ ... and as a frame property: * Headline :PROPERTIES: :BEAMER_ACT: [+-] :END: - item - item Great! Thanks for this :) --

[O] Still have some problem in org-publish-project

2014-01-20 Thread Ming Lu
Dear All: When I do *org-publish-project* command, the error message occurs like this: Symbol' function definition is void: org-export-as-html I just update my org-mode to the newest using:* package-install org .* My *.emacs *file is very simple: -- (add-to-list

Re: [O] Still have some problem in org-publish-project

2014-01-20 Thread Ming Lu
Sorry, the email display has some problem. Here is my publish setup: (require 'org-publish) (setq org-publish-project-alist '( ;;first, the notes component (org-notes :base-directory ~/Documents/org/notes/ :base-extension org :publishing-directory ~/Documents/org/publish/ :recursive t

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Hello, Giuseppe Lipari giulip...@gmail.com writes: thanks for the response. I did some debugging, but I am not an expert of elisp and org-mode. Anyway, this is what I found: I put a breakpoint in fuinction org-latex-src-block() which receives src-block as parameter. This parameter contains

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Nicolas Goaziou n.goaz...@gmail.com writes: I think the following patch fixes the issue. I'll let Eric decide if it has to be applied or not. The test is wrong. Corrected version follows. -- Nicolas Goaziou From 26d72c6452864be2acb165e087ea5387fb3f6457 Mon Sep 17 00:00:00 2001 From: Nicolas

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Nicolas Goaziou n.goaz...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: I think the following patch fixes the issue. I'll let Eric decide if it has to be applied or not. The test is wrong. Corrected version follows. Ah well. This is getting embarrassing. Third, and

[O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which I use :session for creating R graphs. These look like: #+begin_src R :file

Re: [O] Still have some problem in org-publish-project

2014-01-20 Thread Nick Dokos
Ming Lu hilum...@gmail.com writes: Sorry, the email display has some problem. Here is my publish setup: (require 'org-publish) (setq org-publish-project-alist       '( ;;first, the notes component (org-notes :base-directory ~/Documents/org/notes/ :base-extension org

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Giuseppe Lipari
Dear Nicolas, I applied your patch to the latest version (from git) and now it works! Well done, thanks a lot! Giuseppe 2014/1/20 Nicolas Goaziou n.goaz...@gmail.com Nicolas Goaziou n.goaz...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: I think the following patch

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Andreas Leha
Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which I use :session for creating R graphs. These look like: #+begin_src R :file

[O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I would like to use :prologue and :epilogue to enclose the code block in a local({}) block, i.e. * test #+begin_src R :prologue local({ :epilogue }) qwerty - test #+end_src But the problem seems to be the unbalanced brackets, and everything is

Re: [O] org-store-link without having to press Enter?

2014-01-20 Thread Bastien
Nick Dokos ndo...@gmail.com writes: What do you and others think? Much better! I've now pushed this patch in master. Sébastien, please test C-c M-l to insert the last stored link and let us know what you think. Thanks, -- Bastien

Re: [O] Filter for recursive counting (org-hierarchical-todo-statistics)

2014-01-20 Thread Bastien
Hi Fletcher, Fletcher Charest fletcher.char...@gmail.com writes: Okay, actually, after using this solution, there is just one thing I think that could be considered a bug (not very problematic though). I just pushed a fix for this in master. (The reason I'm pushing it to master instead of

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a

Re: [O] Making org-agenda-list hide items scheduled for the future

2014-01-20 Thread Fabrice Niessen
Hello Nick, Nick Dokos wrote: Fabrice Niessen fni-n...@pirilampo.org writes: Michael Hoffman wrote: I use the weekly/daily agenda and want to be able to use the SCHEDULED keyword to hide items until the scheduled time comes up. I don't want to think about them until then. How can I set up

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R code blocks, but the should be useful for other languages as well. I have a document in which

Re: [O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-20 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: Hi I would like to use :prologue and :epilogue to enclose the code block in a local({}) block, i.e. * test #+begin_src R :prologue local({ :epilogue }) qwerty - test #+end_src I tried wrapping the prologue and epilogue values in quotes so that

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: I think the following patch fixes the issue. I'll let Eric decide if it has to be applied or not. The test is wrong. Corrected version follows. Ah well.

Re: [O] Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]

2014-01-20 Thread Nicolas Goaziou
Hello, Eric Schulte schulte.e...@gmail.com writes: This patch looks fine to me. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
Nick Daly nick.m.d...@gmail.com writes: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Is it currently possible to tangle included files? If not, could that feature be added to a

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-20 Thread Eric Schulte
Nick Daly nick.m.d...@gmail.com writes: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Is it currently possible to tangle included files? If not, could that feature be added to a

Re: [O] How to signal end of a section or subsection

2014-01-20 Thread Skip Collins
Several requests have been made over the years for a way to end a subsection without starting a new new higher level section. This is possible with plain lists: a blank line ends the list. Some other syntax would have to be added to org to allow this for sections. I would love to see something

[O] bug#16506: 24.3; Raw Org hyperlink markup exported to DocBook footnotes

2014-01-20 Thread Bastien
Hi Am, Am Turnip amtur...@yahoo.com.mx writes: 24.3; Raw Org hyperlink markup exported to DocBook footnotes The latest Emacs version does not come with a Org-DocBook exporter. The way to produce a DocBook document from an Org file is to export it as .texi, then to use makeinfo --docbook from

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 16:28 , Eric Schulte wrote: Rainer M Krug rai...@krugs.de writes: On 01/20/14, 15:00 , Andreas Leha wrote: Rainer M Krug rai...@krugs.de writes: Hi I have two suggestions which are liked to each other. They are based on R

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Erik Hetzner
At Mon, 20 Jan 2014 02:54:08 -0500, regcl wrote: I am looking for advice regarding how to write medical journal articles using org-mode. My primary motivations are the desire to ... automate the flow of data from computation to publication, avoid clerical errors, speed up the conversion

[O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread JBash
Orgmode list, I am getting the following error when unfolding certain trees (I believe this is only trees that have the PROPERTIES tag added automatically by mobileorg), and also when pushing files for mobileorg. My search for this in the archives has not turned up anything as yet, and as my

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Achim Gratz
Bastien writes: The first question is what do we want contrib to be? So let's start with this one. […] You didn't answer the question of what you want contrib to be or I'm too dense to find where. You keep talking about an Org ELPA that doesn't exist and about your expectation of

Re: [O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread Nicolas Goaziou
Hello, JBash bashve...@gmail.com writes: I am getting the following error when unfolding certain trees (I believe this is only trees that have the PROPERTIES tag added automatically by mobileorg), and also when pushing files for mobileorg. My search for this in the archives has not turned

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Bastien
Achim Gratz strom...@nexgo.de writes: You didn't answer the question of what you want contrib to be or I'm too dense to find where. I want contributed Org libraries to be maintained in a separate Git repository the same what the GNU ELPA packages are maintained in their own repository, outside

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-20 Thread Eric Schulte
I will check it a little bit longer and see that I can display the error message in the dummy graphic. Should have it by tomorrow. Sounds good. Alternately, maybe you could get the R process to fail and print an error to STDERR so that the export will stop immediately and inform the user of

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread regcl
Erik Hetzner e...@e6h.org writes: At Mon, 20 Jan 2014 02:54:08 -0500, regcl wrote: 3) How do I get references into MS word? Hi George, For question 3, you might have a look at pandoc (http://johnmacfarlane.net/pandoc/), which can convert from markdown to docx (MS Word) with citation

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Achim Gratz
Bastien writes: Achim Gratz strom...@nexgo.de writes: You didn't answer the question of what you want contrib to be or I'm too dense to find where. I want contributed Org libraries to be maintained in a separate Git repository the same what the GNU ELPA packages are maintained in their own

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Jambunathan K
regcl re...@channing.harvard.edu writes: org latex pandoc docx ? Too many moving parts. Each part coming from different manufacturers. The components will rub against each other and the resulting heat may vaporize the lubricant. Pick a workflow that has minimum dependencies - even if

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Bastien
Achim Gratz strom...@nexgo.de writes: So, the in-core exporters don't need to be discovered, but the contrib exporters all need their own ELPA package? You state it very well. In-core exporters are what people expect to be included in Emacs, easily activated without downloading and

Re: [O] Unable to push to org-mobile

2014-01-20 Thread Dror Atariah
I'm sorry I keep bugging with this... ;) On Dec 14, 2013, at 22:06 PM, Nick Dokos wrote: Nick Dokos ndo...@gmail.com writes: Dror Atariah dror...@gmail.com writes: 2. What's next? I believe this is a bug... How can I report it? Consider it reported - thanks for checking it. I'll push

Re: [O] Error when unfolding trees and when mobileorg push

2014-01-20 Thread JBash
Thanks Nicolas. The problem I had with unfolding is now gone. However, when pushing to mobileorg, I now am getting: Symbol's function definition is void: avl-tree-mapc Thanks, Jerry On Mon, Jan 20, 2014 at 1:08 PM, Nicolas Goaziou n.goaz...@gmail.comwrote: Hello, JBash

Re: [O] Unable to push to org-mobile

2014-01-20 Thread Nick Dokos
Dror Atariah dror...@gmail.com writes: I'm sorry I keep bugging with this... ;) On Dec 14, 2013, at 22:06 PM, Nick Dokos wrote: Nick Dokos ndo...@gmail.com writes: Dror Atariah dror...@gmail.com writes: 2. What's next? I believe this is a bug... How can I report it? Consider it

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-20 Thread Alan Schmitt
Memnon Anon memnon+use...@freeshell.org writes: Okay. As I said, I found this the only one conflicting with org (or other packages). Just remember to require icicles at the very end of your config, and everything should work. I found that C-` (which I use to jump to errors when compiling in

[O] (i/a)spell in org-mode - ignore links?

2014-01-20 Thread John Kitchin
does anyone do spell checking with ispell or aspell in org-mode? I was wondering if there was a way to get it to ignore links, latex markup, etc... John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Rasmus
Bastien b...@gnu.org writes: Achim Gratz strom...@nexgo.de writes: So, the in-core exporters don't need to be discovered, but the contrib exporters all need their own ELPA package? You state it very well. In-core exporters are what people expect to be included in Emacs, easily activated

Re: [O] Citations and references in ODT

2014-01-20 Thread Aric Gregson
--On January 19, 2014 11:16:53 AM +0530 Jambunathan K kjambunat...@gmail.com wrote: Are you still stuck here or you made some repairs and stuck elsewhere. ... IMO, starting from scratch (i.e., an empty .emacs) and installing Org via M-x list-packages is a sure way to have a working setup

Re: [O] Italicise block of text

2014-01-20 Thread Samuel Wales
Dunno if this makes sense, but now that we have @@html: ... @@ etc., I wonder if it is worth considering @@italic: ... @@, or @@emphasis /: ... @@, or @@emphasis italic: ... @@. Or $[emphasis :beg /] ... $[emphasis :end] as previously discussed. === Samuel -- The Kafka Pandemic:

Re: [O] M-right does not demote some subheadings in a region

2014-01-20 Thread Samuel Wales
Thanks for the explanation. On 1/19/14, Bastien b...@gnu.org wrote: Why does folding affect semantics? -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.

Re: [O] [RFC] Move ox-koma-letter into core?

2014-01-20 Thread Eric Schulte
My suggestion is to get rid of the contrib/ directory and to have a separate Git repository with libraries available from Org ELPA. If I understand correctly you are suggesting two thing. 1. We remove the contrib/ directory, and host the contributed packages in a single new org-contrib

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Erik Hetzner
At Mon, 20 Jan 2014 14:04:24 -0500, regcl wrote: Erik Hetzner e...@e6h.org writes: At Mon, 20 Jan 2014 02:54:08 -0500, regcl wrote: 3) How do I get references into MS word? Hi George, For question 3, you might have a look at pandoc (http://johnmacfarlane.net/pandoc/),

Re: [O] How to write medical journal articles with org-mode

2014-01-20 Thread Aric
Jambunathan K kjambunathan at gmail.com writes: regcl regcl at channing.harvard.edu writes: org latex pandoc docx ? Too many moving parts. I agree. I tried this with a relatively simple export, albeit with tables and figures and references, and pandoc choked on the latex and I was