[O] Lines above header

2014-01-21 Thread Andreas Leha
Hi all, There are situation where some lines that belong to a header are *above* this header. A simple example is the following, where the \cleardoublepage belongs to the 'Figures' header: --8---cut here---start-8--- * Introduction Bla * Methods Blup

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

2014-01-21 Thread Detlef Steuer
My suggestion is to get rid of the contrib/ directory and to have a separate Git repository with libraries available from Org ELPA. I really like that the important contribs are included in my orgmode GIT checkout. It would make it harder to _start_ with orgmode if the repo woud be splitted.

Re: [O] Table with LaTeX math expressions as default

2014-01-21 Thread Eric S Fraga
o.castillo.felis...@gmail.com o.castillo.felis...@gmail.com writes: Hi there! I'm using org-mode to generate a table which has columns with mathematical expressions in certain columns. [...] Is there a way to say that a column contains (by default) mathematical expressions? In LaTeX

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

2014-01-21 Thread Eric S Fraga
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 | No table but M-x customize-group RET org RET gives all user customisable variables, many (most? all?) grouped logically as well.

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

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 19:38 , Eric Schulte wrote: 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

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

2014-01-21 Thread Andreas Leha
Hi Rainer, really cool. I am very short on time right now, so I can't promise I'll get around to test it soon. Just one comment: Rainer M Krug rai...@krugs.de writes: On 01/20/14, 19:38 , Eric Schulte wrote: I will check it a little bit longer and see that I can display the error message

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

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/14, 16:34 , Eric Schulte wrote: 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 })

[O] :draft header argument for source block evaluation - WAS: [babel] suggestion: wrap creation of graphics into try() block

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/21/14, 11:03 , Andreas Leha wrote: Hi Rainer, really cool. I am very short on time right now, so I can't promise I'll get around to test it soon. Great. Just one comment: Rainer M Krug rai...@krugs.de writes: On 01/20/14,

[O] Can I use an already defined agenda view in another agenda command?

2014-01-21 Thread Martin Beck
Is there a way to first create an agenda command with basic settings and then reuse and extend those settings in another agenda? Example: first create a weekly agenda overview-10d, which can be invoked e. g. with C-c a a, that shows all deadlines for the next 10 days then create another agenda

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

2014-01-21 Thread Bastien
Thanks for sharing your thoughts on this and clarifying the possibilities. Eric Schulte schulte.e...@gmail.com writes: 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 (or somesuch)

[O] Can org-mode publish the unchanged files too?

2014-01-21 Thread Ming Lu
When doing *org-publish* command, the org-mode publish only the changed files. If there is no file changed, it just skip all the files. My question is : when I changed the emacs publishing setup, how can I easily apply this change to all the files without change their status(ie: not open and

[O] ox-md conforming pandoc-markdown

2014-01-21 Thread Michel Kuhlmann
Hi, I often convert files with `pandoc`. Currently there is no pandoc-org-mode-reader, so I'm using markdown as an intermediate step. I'm aware of https://github.com/robtillotson/org-pandoc.git; this also uses `ox-md`, so the issue applies also there. I found these issues inconvenient: -

Re: [O] Table with LaTeX math expressions as default

2014-01-21 Thread o.castillo.felis...@gmail.com
Thank you! On Jan 21, 2014 5:32 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: o.castillo.felis...@gmail.com o.castillo.felis...@gmail.com writes: Hi there! I'm using org-mode to generate a table which has columns with mathematical expressions in certain columns. [...] Is there a way

Re: [O] Can org-mode publish the unchanged files too?

2014-01-21 Thread Bastien
Ming Lu hilum...@gmail.com writes: When doing org-publish command, the org-mode publish only the changed files. If there is no file changed, it just skip all the files.  My question is : when I changed the emacs publishing setup, how can I easily apply this change to all the files without

[O] How to load .el file during startup and execute its commands (Win7/org8)

2014-01-21 Thread elwood151
Im trying to use a custom setup for org-mode 8.2 on Windows 7, but it does not work as expected. My Emacsversion: GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN What I tried: ## ~/.emacs in the file ~/.emacs I have (among others) those lines: (if (boundp

[O] [BUG] Cannot open load file: ob-sh

2014-01-21 Thread Thorsten Jolitz
Hi List, I just updated Org and - with (sh . t) in my Org Babel language list - get the following error: ,- | Cannot open load file: ob-sh `- It seems that 'lang' is sh in the load function

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

2014-01-21 Thread Nicolas Goaziou
Hello, John Kitchin jkitc...@andrew.cmu.edu writes: 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... It should already be the case in master branch. Regards, -- Nicolas Goaziou

[O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Bastien
Hi all, I released Org 8.2.5g, which fixes several bugs. http://orgmode.org Please heavily test this release and report important bugs. Then we will release Org 8.2.6 and sync it with Emacs trunk, so that Emacs 24.4 contains a very stable version. Thanks! -- Bastien

[O] Bug: [babel] Order of definition of :var makes or breaks the results [8.2.5f (release_8.2.5f-545-g630096 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)]

2014-01-21 Thread Rainer M Krug
Depending on the order in which variables are declared, the definitions are correct or wrong. In the example below, if DUMMY is declared first and SPECIES and SPECIES2 are declared via :var+ there are missing rownames and / or colnames as well as mixups (see below). If DUMMY is declared *after

[O] [babel] Passing of variables to R - usage of temporary file not ideal for tangling

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just realized that babel is using temporary files when passing tables to R (no idea about other languages). This is OK when evaluating code blocks or exporting, but causes problems when tangling, as the temporary files are not available in a new

Re: [O] [BUG] Cannot open load file: ob-sh

2014-01-21 Thread Eric Schulte
Thorsten Jolitz tjol...@gmail.com writes: Hi List, I just updated Org and - with (sh . t) in my Org Babel language list - get the following error: Yes, ob-sh has been renamed to ob-shell, the above should be changed to (shell . t). Best, ,- | Cannot open

Re: [O] [BUG] Cannot open load file: ob-sh

2014-01-21 Thread Bastien
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Yes, ob-sh has been renamed to ob-shell, the above should be changed to (shell . t). Can you not it in ORG-NEWS as an incompatible change in master? These things tend to get easily forgotten. Thanks! -- Bastien

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

2014-01-21 Thread Bastien
Hi Nick, Nick Dokos ndo...@gmail.com writes: But I think it would behoove us to step into those waters with a fair amount of caution, a backup strategy and lots of experimentation and documentation, before we take the leap. I completely agree. I would consider using git submodules iff the

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

2014-01-21 Thread Nick Dokos
Bastien b...@gnu.org writes: The separate repo could be a submodule of Org's core repo and its contents could even make it into the .tar.gz and .zip files. I'm not sure that submodules are robust enough. I tried using them for a small project and found them wanting (that was a couple of

Re: [O] [BUG] Cannot open load file: ob-sh

2014-01-21 Thread Eric Schulte
Bastien b...@gnu.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Yes, ob-sh has been renamed to ob-shell, the above should be changed to (shell . t). Can you not it in ORG-NEWS as an incompatible change in master? These things tend to get easily forgotten. Thanks!

Re: [O] Italicise block of text

2014-01-21 Thread Eric S Fraga
Samuel Wales samolog...@gmail.com writes: 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. No.

Re: [O] Italicise block of text

2014-01-21 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: Samuel Wales samolog...@gmail.com writes: 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 /]

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

2014-01-21 Thread Eric S Fraga
Hi, I guess you can find plenty of discussions on this list on this topic so I won't rehash. Just to say that there has never been a convincing use case that is not easily addressed with description lists and inline tasks. The former can be made to look like encapsulated sections on export with

Re: [O] ox-md conforming pandoc-markdown

2014-01-21 Thread Nicolas Goaziou
Hello, Michel Kuhlmann mic...@kuhlmanns.info writes: I often convert files with `pandoc`. Currently there is no pandoc-org-mode-reader, so I'm using markdown as an intermediate step. I'm aware of https://github.com/robtillotson/org-pandoc.git; this also uses `ox-md`, so the issue applies

[O] using custom ids

2014-01-21 Thread Rustom Mody
After Nicholas recently directed my attention to custom_ids Ive been using them. Now I find this: In a file say foo.org, I have an anchor point and a link point. If I write the anchor as * Head ppe I can write the link as [[ppe][Description]] However if I write the anchor as * Head :PROPERTIES:

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

2014-01-21 Thread Nicolas Goaziou
Hello, JBash bashve...@gmail.com writes: However, when pushing to mobileorg, I now am getting: Symbol's function definition is void: avl-tree-mapc It appears that `avl-tree-mapc' doesn't exist in Emacs 23's avl-tree. I pushed a workaround in master. This is only temporary as I plan to

Re: [O] Question about the math mode table exporting for latex and html

2014-01-21 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: I have attached a rough proof-of-concept that will export the above table correctly with mathjax. But I guess it will also have to handle it correctly in the case of static png images. Thank you. I agree that PNG handling is required. I think you need

Re: [O] using custom ids

2014-01-21 Thread Rustom Mody
On Tue, Jan 21, 2014 at 10:37 PM, Rustom Mody rustompm...@gmail.com wrote: After Nicholas recently directed my attention to custom_ids Ive been using them. Now I find this: In a file say foo.org, I have an anchor point and a link point. If I write the anchor as * Head ppe I can write the

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

2014-01-21 Thread Achim Gratz
Bastien writes: The separate repo could be a submodule of Org's core repo and its contents could even make it into the .tar.gz and .zip files. I'd guess you haven't worked with submodules yet. 1) In the long run, maybe Org will be a submodule of Emacs Git repo. Completely hypothetical,

[O] How to customize option templates?

2014-01-21 Thread Frederik
Hey there, is it possible to customize the option templates one can insert via `C-c C-e #' ? E.g. for productively composing letters it would be nice to have some of the listed options to be set differently from the default. Regards -- Frederik

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

2014-01-21 Thread Achim Gratz
Bastien writes: IIUC your suggestion is to keep contrib/ for things that are good candidates for core, and to remove non-candidate libraries. No, my suggestion is to look at the things in contrib and decide what to do with them. A few of those things will never be in core nor will they be in

Re: [O] How to customize option templates?

2014-01-21 Thread Nicolas Goaziou
Hello, Frederik freak.f...@gmail.com writes: is it possible to customize the option templates one can insert via `C-c C-e #' ? E.g. for productively composing letters it would be nice to have some of the listed options to be set differently from the default. I don't think it would be

[O] Nested ordered lists?

2014-01-21 Thread Peter Davis
Is there any way to create nested, ordered lists in org-mode? I'm thinking of something that would result in: 1) item 1 a) item 1a b) item 1b c) item 1c 2) item 2 a) item 2a b) item 2b 3) item 3 4) etc. ... Thanks! -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com

[O] Org heading properties in code block?

2014-01-21 Thread Christopher Kotfila
Is it possible to include org heading properties directly in codeblocks on tangle? Something to the effect of: ** Some Subheading :PROPERTIES: :FOO: bar :END: #+BEGIN_SRC emacs-lisp :tangle /path/to/.dir-locals.el :noweb yes ((python-mode . ((some-var . FOO #+END_SRC Thanks! /Chris

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

2014-01-21 Thread Bastien
Achim Gratz strom...@nexgo.de writes: 1) In the long run, maybe Org will be a submodule of Emacs Git repo. Completely hypothetical, but that will not be feasible if the Git repo contains contrib/. 2) In a far far galaxy, maybe Org will be stable enough to be maintained only in

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

2014-01-21 Thread Bastien
Achim Gratz strom...@nexgo.de writes: If you'd split off something like Babel it may very well create a live community, but fragmenting contrib into separate repos could drain any signs of life from them. Just to be clear: I'm not suggesting to split each library in contrib/ into its own

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Achim Gratz
Bastien writes: Hi all, I released Org 8.2.5g, which fixes several bugs. http://orgmode.org Please heavily test this release and report important bugs. The tag for release_8.2.5e is on the wrong branch (you tagged the merge instead of the last commit in maint (that would be 0a8fe04a9d).

Re: [O] Nested ordered lists?

2014-01-21 Thread Bastien
Hello Peter, Peter Davis p...@pfdstudio.com writes: 1) item 1 a) item 1a b) item 1b c) item 1c 2) item 2 a) item 2a b) item 2b 3) item 3 4) etc. ... Yes! (setq org-list-allow-alphabetical t) Then insert 1) item 1 = M-RET 2) ... or 1) item 1 a) item 1a = M-RET

Re: [O] How to customize option templates?

2014-01-21 Thread Frederik
I just looked at `org-export-define-derived-backend' and saw all the org-koma-letter-* options -- this will ease most of the pain ;-) But I did not yet figure out how to set options like LATEX_CLASS_OPTIONS or how to use German language and smart quotes when composing a letter. Thanks and

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Achim Gratz
Bastien writes: Since you have commit access and the fixes seem non problematic, I'd say feel free to fix them directly--reporting them if still useful of course, it helps us not repeating them :) I didn't fix these for two reasons: 1) I didn't touch the tag because I couldn't sign it. 2)

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Bastien
Hi Achim, Thanks for reporting these problems. Since you have commit access and the fixes seem non problematic, I'd say feel free to fix them directly--reporting them if still useful of course, it helps us not repeating them :) Thanks, -- Bastien

Re: [O] [babel] Passing of variables to R - usage of temporary file not ideal for tangling

2014-01-21 Thread Andreas Leha
Hi Rainer, Rainer M Krug rai...@krugs.de writes: I just realized that babel is using temporary files when passing tables to R (no idea about other languages). This is OK when evaluating code blocks or exporting, but causes problems when tangling, as the temporary files are not available in a

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Bastien
Bastien b...@gnu.org writes: I'd say feel free to fix them directly--reporting them if still useful of course, it helps us not repeating them :) s/if/is ! -- Bastien

Re: [O] [babel] Passing of variables to R - usage of temporary file not ideal for tangling

2014-01-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/21/14, 20:37 , Andreas Leha wrote: Hi Rainer, Rainer M Krug rai...@krugs.de writes: I just realized that babel is using temporary files when passing tables to R (no idea about other languages). This is OK when evaluating code blocks

Re: [O] Nested ordered lists?

2014-01-21 Thread Peter Davis
On Tue, Jan 21, 2014 at 08:20:07PM +0100, Bastien wrote: Hello Peter, Peter Davis p...@pfdstudio.com writes: 1) item 1 a) item 1a b) item 1b c) item 1c 2) item 2 a) item 2a b) item 2b 3) item 3 4) etc. ... Yes! (setq org-list-allow-alphabetical t) Then

Re: [O] [babel] Passing of variables to R - usage of temporary file not ideal for tangling

2014-01-21 Thread Andreas Leha
Rainer M Krug rai...@krugs.de writes: On 01/21/14, 20:37 , Andreas Leha wrote: Hi Rainer, Rainer M Krug rai...@krugs.de writes: I just realized that babel is using temporary files when passing tables to R (no idea about other languages). This is OK when evaluating code blocks or

Re: [O] Nested ordered lists?

2014-01-21 Thread Peter Davis
On Tue, Jan 21, 2014 at 02:40:11PM -0500, Peter Davis wrote: On Tue, Jan 21, 2014 at 08:20:07PM +0100, Bastien wrote: (setq org-list-allow-alphabetical t) Symbol's value as variable is void: org-drawers Ok, quitting and re-starting emacs has almost gotten it working. I'm not getting

[O] Prettier (or at least fancier) code block delimiters

2014-01-21 Thread Eric Schulte
Hi, I tried the following on a lark not thinking I'd like it. However, after a week or two I've yet to turn it off and I think it makes my code block heavy Org-mode buffers somewhat more readable, so I'm sharing it here. ;; -*- emacs-lisp -*- (defun prettier-org-code-blocks ()

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

2014-01-21 Thread John Kitchin
hmm.. that is not my experience. In org 8.2.5f a link like this: file:mispeled gets flagged by ispell-buffer. I did see that if I turn on flyspell, those links are not flagged. on the other hand, flyspell does not check the whole buffer. I can always run flyspell-buffer to check the whole

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Bastien
Achim Gratz strom...@nexgo.de writes: The tag for release_8.2.5e is on the wrong branch (you tagged the merge instead of the last commit in maint (that would be 0a8fe04a9d). Actually I don't understand: the release_8.2.5e tag appears on e7ebe4163a, and 0a8fe04a9d is the merge commit.

Re: [O] Nested ordered lists?

2014-01-21 Thread Vladimir Lomov
Hello, ** Peter Davis [2014-01-21 15:45:05 -0500]: On Tue, Jan 21, 2014 at 12:37:53PM -0800, Josiah Schwab wrote: but my html output had all list items numbered. Please read http://orgmode.org/worg/org-faq.html#sec-11-5 Thank you, Josiah. That does explain it. It would be nice if

[O] bug in 8.2.5f for using tables as data in python?

2014-01-21 Thread John Kitchin
Hi all, I am having a problem in 8.2.5 using a table as a data source for a python block. I get this particular error: org-babel-python-var-to-python: Wrong type argument: stringp, 1 It seems to be that the 1 is not a string, but a number. Here is what I have to reproduce the problem. the table

Re: [O] bug in 8.2.5f for using tables as data in python?

2014-01-21 Thread Nick Dokos
John Kitchin jkitc...@andrew.cmu.edu writes: Does anyone else see this? Yes. I seem to have different default header args (e.g. :results value rather than :results output for the first python block and the table gets printed out as a table, not as a lisp list, for the elisp block) but the last

[O] orgstruct-mode taking over C-c C-f

2014-01-21 Thread Eric Abrahamsen
Hey there, I use the orgstruct minor mode in message mode, and recently it has started eating the C-c C-f prefix, which it didn't used to do. Or it's erroring on it, instead of passing it along, I'm not sure which. In message mode, C-c C-f is the prefix for a set of goto mail header commands.

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-21 Thread Jambunathan K
Eric Abrahamsen e...@ericabrahamsen.net writes: Debugger entered--Lisp error: (void-function set-transient-map) New function in snapshot builds. From the ChangeLog 2013-12-23 Chong Yidong c...@gnu.org * subr.el (set-transient-map): Rename from set-temporary-overlay-map.

Re: [O] orgstruct-mode taking over C-c C-f

2014-01-21 Thread Jambunathan K
Eric Abrahamsen e...@ericabrahamsen.net writes: Debugger entered--Lisp error: (void-function set-transient-map) New function in snapshot builds. ChangeLog says 2013-12-23 Chong Yidong c...@gnu.org * subr.el (set-transient-map): Rename from

Re: [O] Org release 8.2.5g (minor release from maint)

2014-01-21 Thread Achim Gratz
Bastien bzg at gnu.org writes: The tag for release_8.2.5e is on the wrong branch (you tagged the merge instead of the last commit in maint (that would be 0a8fe04a9d). Actually I don't understand: the release_8.2.5e tag appears on e7ebe4163a, and 0a8fe04a9d is the merge commit. You