[O] Header ':comments noweb' mangles lines in tangled code

2014-03-18 Thread Vladimir Lomov
Hello, consider the following example Org document: -- 8 -- #+TITLE: Example #+AUTHOR: Vladimir Lomov * How ~comments~ interferes with ~noweb~ #+NAME: code1 #+BEGIN_SRC sh var1 #+END_SRC #+NAME: code2 #+BEGIN_SRC sh [[ -t ${SHELL} ]]

Re: [O] HTML table export options essentially undocumented

2014-03-18 Thread Vladimir Lomov
Hello, ** James Harkins [2014-03-18 13:52:10 +0800]: The documentation here seems rather un-detailed. http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export What I wanted to do was to have vertical rules between all columns, but not horizontal rules. Neither this section

Re: [O] [BABEL] BUG Re: Omitting try/catch blocks from tangled R code?

2014-03-18 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Mar 17, 2014 at 10:00 AM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Fri, Feb 7, 2014 at 1:22 PM, Rainer M Krug rai...@krugs.de wrote: On 02/07/14, 17:47

Re: [O] \344 in org agenda date string only

2014-03-18 Thread Rainer Stengele
Am 06.03.2014 21:28, schrieb Rainer Stengele: All since a few days I see \344 instead of German ä, but only in the date string part of the agenda. The collected headlines from my org files show German Umlaute ä,ö,ü correctly. Also all Org files look good. I wonder if someone has an

Re: [O] HTML table export options essentially undocumented

2014-03-18 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: The documentation here seems rather un-detailed. http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export What I wanted to do was to have vertical rules between all columns, but not horizontal rules. Neither this section

Re: [O] [patch][ox-html] Stylistic changes

2014-03-18 Thread Rick Frankel
On 2014-03-17 23:36, Rasmus wrote: Rick Frankel r...@rickster.com writes: On Mon, Mar 17, 2014 at 11:19:27PM +0100, Rasmus wrote: Hi Rick, Rick Frankel r...@rickster.com writes: On Mon, Mar 17, 2014 at 03:17:10AM +0100, Bastien wrote: Hello, Nicolas Goaziou n.goaz...@gmail.com writes:

[O] [PATCH] Write org variables into own R environment instead of .GlobalEnv

2014-03-18 Thread Rainer M Krug
* (org-babel-R-assign-elisp): replaced simple assignments of variables to variables in R with assignments into an environment called 'org' and lock these so that they can not be modified anymore. * (org-babel-expand-body:R): wrap the call of `org-babel-variable-assignments:R' into -

Re: [O] Filter in Captured Column View

2014-03-18 Thread Juan Pechiar
Hi Mats, You can add :skip-empty-rows t to the columnview header, so that rows with no Status property will not show. This, however, will also hide the Release headers. Workaround is to add a dummy 'Status' property to these. Doc here: http://orgmode.org/manual/Capturing-column-view.html

[O] Write org variables into own R environment instead of .GlobalEnv

2014-03-18 Thread Rainer M Krug
Hi I just send a patch which changes the behaviour of how org variables are treated in R. At the moment, org variables are simply stored in the .GlobalEnv which means, that all show up in the variable listing (which can get cluttered when having many variables), they can accidentaly be deleted

Re: [O] Filter in Captured Column View

2014-03-18 Thread Mats Kindahl
Thanks Juan, It seems to work, so I'll use that for now, but having some sort of filtering supported would be a great feature. I'll play around a little and see if that can be added. Best wishes, Mats Kindahl On 03/18/2014 03:08 PM, Juan Pechiar wrote: Hi Mats, You can add

Re: [O] babel completion notification

2014-03-18 Thread Eric Schulte
However, there is a problem: --8---cut here---start-8--- #+name: notify #+BEGIN_SRC emacs-lisp :results none (shell-command popup.py DONE) #+END_SRC #+name: long-running #+BEGIN_SRC shell :results output :post notify sleep 5 echo DONE #+END_SRC

Re: [O] Org Agenda and BBDB File

2014-03-18 Thread Nick Dokos
Aric Gregson aorc...@mac.com writes: Hello, I am wondering if it is possible to get org-mode to stop asking to read the bbdb file when creating the new agenda. It is a bit annoying because GNUS in another instance of emacs generally has the file. I have seemingly removed any calls to bbdb

Re: [O] [patch][ox-html] Support for level based containers

2014-03-18 Thread Rick Frankel
On 2014-03-17 23:31, Rasmus wrote: It's a variable that you can set in your project or in your Org file or in your init file. I don't see why div × 3 is better than section article div or something else conditional on two variables being explicitly set to get fancy HTML5. . . In any case, I

Re: [O] [PATCH] Fixed bug in org-entry-get-with-inheritance

2014-03-18 Thread Bastien
Bastien b...@gnu.org writes: Ilya Shlyakhter ilya_...@alum.mit.edu writes: When I open emacs with this file, move to the emacs-lisp block, and evaluate it, I get aaa. I can reproduce your problem now, I'm on it, and the problem is real, but I need to make sure all tests pass fine before

Re: [O] [PATCH] Write org variables into own R environment instead of .GlobalEnv

2014-03-18 Thread Bastien
Hi Rainer, did you sign the FSF papers? We need this before considering applying the patch. Also, the formatting of the Changelog entry is not correct, please carefully read http://orgmode.org/worg/org-contribute.html Thanks, -- Bastien

Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}

2014-03-18 Thread Bastien
Hi Luke, Luke Crook l...@balooga.com writes: #+LATEX_HEADER: \newcommand{\orgtitle}TITLE My understanding is that Org's macros cannot be used within #+... options. HTH, -- Bastien

Re: [O] [PATCH] Only set org-hide foreground if one is available

2014-03-18 Thread Bastien
Hi Nikolai, Nikolai Weibull n...@disu.se writes: (org-mode): When loading Org buffers through desktop I'm not sure what the above means, can you explain it? Also, what is exactly the bug this fixes (beyond setting something that does not need setting)? Thanks, -- Bastien

Re: [O] [PATCH] Fixed bug in org-entry-get-with-inheritance

2014-03-18 Thread Ilya Shlyakhter
Thanks Bastien. Property API documentation could be made more precise in some places. From the documentation of org-entry-get (both the docstring and the Org manual), it would seem that unless the inherit argument is non-nil, file-wide and system-wide property settings should not be checked at

Re: [O] [PATCH] Fix clock table when there are links in headings.

2014-03-18 Thread Bastien
Hi Alexey, Alexey Lebedeff bina...@gmail.com writes: Sorry, I failed to explicitly mention that it was in agenda clockreport. It was in the screenshot, but I forgot that clocktable is used in other places than agenda. You need to configure `org-agenda-clockreport-parameter-plist' like this:

Re: [O] [patch] capture property table-line-pos can be a function

2014-03-18 Thread Bastien
Hi Thomas, Thomas Holst thomas_ho...@gmx.de writes: ok here is the patch for documentation. Thanks -- can you read this page? http://orgmode.org/worg/org-contribute.html#sec-5 There are advice on how to format the Changelog entry. See in particular this list: - Variables and functions names

Re: [O] `org-attach-file-list' doesn't allow dotfiles

2014-03-18 Thread Bastien
Hi Oleh, Oleh ohwoeo...@gmail.com writes: I would modify it like this to ignore just . and ..: --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -425,7 +425,7 @@ This can be used after files have been added externally. Return a list of files in the attachment

Re: [O] How to use an image as an anchor in HTML export?

2014-03-18 Thread Rick Frankel
On 2014-03-18 11:46, William Denton wrote: I would like to use an image as an anchor in an HTML export (specifically in a reveal.js export---I really like this). I can't figure out how to make it work, and just end up with either a link with a missing image or an image with no link. I don't see

Re: [O] Ye Olde org-with-silent-modifications problem

2014-03-18 Thread Loyall, David
Pardon me for resurrecting an old thread, but I am sorry to report that I'm experiencing the issue described below today. Since I use eschulte's starter kit for my emacs initialization, it's not easy to start a fresh emacs and install org-mode from ELPA before calling any org-mode functions.

Re: [O] Is there an environment for Org syntax?

2014-03-18 Thread Phil Regier
Sorry, Fletcher, but this is beyond me. If what you want is essentially a buffer-based screenshot, then it may in theory be easier, relatively speaking, to build elisp routines to copy the contents of buffers, but that would be even further beyond my abilities. Phil - Original Message

Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}

2014-03-18 Thread Luke Crook
Bastien bzg at gnu.org writes: Hi Luke, Luke Crook luke at balooga.com writes: #+LATEX_HEADER: \newcommand{\orgtitle}TITLE My understanding is that Org's macros cannot be used within #+... options. HTH, Bastien, thanks. That would certainly explain it. I think I

Re: [O] [PATCH] Fixed bug in org-entry-get-with-inheritance

2014-03-18 Thread Achim Gratz
Bastien writes: Okay, so I committed a different fix in maint and master. That fix (and the explanation) makes much more sense… I'll have to see that this also gets tested, but I won't get to it for some time, unfortunately. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb

[O] plotting a transposed table

2014-03-18 Thread hubert
I have a table where the data runs left-to-right instead of top-to-bottom. For example: | year | 2014 | 2015 | 2016 | 2017 | 2018 | | value |1 |2 |3 |4 |5 | Gnuplot expects the data to be top-to-bottom, but I want to keep the table in that format. I know that I could

Re: [O] plotting a transposed table

2014-03-18 Thread Thomas S. Dye
Aloha hubert, Could you use the transpose function in the Library of Babel? #+name: transpose-example | 1 | 2 | 3 | | 4 | 5 | 6 | #+name: transpose #+begin_src emacs-lisp :var table=transpose-example (apply #'mapcar* #'list table) #+end_src #+results: transpose | 1 | 4 | | 2 | 5 | | 3 | 6 |

Re: [O] [PATCH] Only set org-hide foreground if one is available

2014-03-18 Thread Nikolai Weibull
On Tue, Mar 18, 2014 at 4:27 PM, Bastien b...@gnu.org wrote: Nikolai Weibull n...@disu.se writes: (org-mode): When loading Org buffers through desktop I'm not sure what the above means, can you explain it? Also, what is exactly the bug this fixes (beyond setting something that does not

Re: [O] [PATCH] Fixed bug in org-entry-get-with-inheritance

2014-03-18 Thread Bastien
Hi Achim, Achim Gratz strom...@nexgo.de writes: Bastien writes: Okay, so I committed a different fix in maint and master. That fix (and the explanation) makes much more sense… I'll have to see that this also gets tested, but I won't get to it for some time, unfortunately. I'll first fix

Re: [O] [patch] capture property table-line-pos can be a function

2014-03-18 Thread Thomas Holst
Hi Bastien, · Bastien b...@gnu.org wrote: Thomas Holst thomas_ho...@gmx.de writes: ok here is the patch for documentation. Thanks -- can you read this page? http://orgmode.org/worg/org-contribute.html#sec-5 There are advice on how to format the Changelog entry. See in particular this

Re: [O] plotting a transposed table

2014-03-18 Thread hubert
On Tue, 18 Mar 2014 07:44:20 -1000, t...@tsdye.com (Thomas S. Dye) said: [...] #+name: transpose #+begin_src emacs-lisp :var table=transpose-example (apply #'mapcar* #'list table) #+end_src Thanks. That works, except that hlines in the table confuse it, so I modified it as below (using

Re: [O] Org Agenda and BBDB File

2014-03-18 Thread Aric Gregson
Nick Dokos ndo...@gmail.com writes: I think your impression is correct, assuming that org-agenda-file-regexp has not been modified: Thanks Nick. So I am left trying to figure out why org agenda creation keeps pulling in the bbdb file. Aric

Re: [O] [patch][ox-html] Support for level based containers

2014-03-18 Thread Rasmus
Rick, Rick Frankel r...@rickster.com writes: On 2014-03-17 23:31, Rasmus wrote: It's a variable that you can set in your project or in your Org file or in your init file. I don't see why div × 3 is better than section article div or something else conditional on two variables being

Re: [O] [patch][ox-html] Stylistic changes

2014-03-18 Thread Rasmus
Rick Frankel r...@rickster.com writes: On 2014-03-17 23:36, Rasmus wrote: When you refer above to utf-8 entities, do you mean the named html entities (e.g., lt;) or the actual utf-8 encoded characters? The latter. Do M-x describe-char on such an character. Emacs will tell you the code

Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}

2014-03-18 Thread Luke Crook
I tried creating a custom class and then tried creating a custom style. But I found the easiest to be the following; #+AUTHOR: author #+LATEX_HEADER: \newcommand{\orgauthor}{author} #+EMAIL: email #+LATEX_HEADER: \newcommand{\orgemail}{email} #+TITLE: Title #+LATEX_HEADER:

Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}

2014-03-18 Thread Bastien
Luke Crook l...@balooga.com writes: It would be great if org-mode added support for substitution to the #+ fields. Nicolas, what do you think? -- Bastien

Re: [O] [bug] [babel] babel corrupts undo history

2014-03-18 Thread Bastien
Hi Samuel, Samuel Wales samolog...@gmail.com writes: as far as i know, my assessment below is correct, but i cannot confirm. I revisited this thread. i believe that if undo-related code is ripped out of babel, then undo will work correctly in the source buffer and in the edit buffer. i am

Re: [O] Write org variables into own R environment instead of .GlobalEnv

2014-03-18 Thread Andreas Leha
Hi Rainer, Rainer M Krug rai...@krugs.de writes: Hi I just send a patch which changes the behaviour of how org variables are treated in R. At the moment, org variables are simply stored in the .GlobalEnv which means, that all show up in the variable listing (which can get cluttered when

Re: [O] Incorrect hexification in URLs in LaTeX Export

2014-03-18 Thread R. Michael Weylandt michael.weyla...@gmail.com
On Mar 18, 2014, at 11:41, Bastien b...@gnu.org wrote: Hi Andreas, Andreas Leha andreas.l...@med.uni-goettingen.de writes: The second link is not clickable in the resulting pdf. This should be fixed now, thanks. Hi Bastien, I just tried with 35f27a1fe and my issue is fixed. (The one

[O] Converting to a useful table in org-mode?

2014-03-18 Thread Sharon Kimble
I have this list of books that I've read on my kindle which I now want to store for posterity in org-mode. 24-11-13 - Andrew Lane - young sherlock Holmes, fire storm 3-12-13 - Richmal Compton - just Williams New years day 9-12-13 - richmal compton - still william 11-1-14 - Pc wren - beau

Re: [O] Howto: different faces for begin_src and results

2014-03-18 Thread Grant Rettke
Just curious, what do you find unpleasant about the default coloring? At first I didn't like the grey, but after time I came to value it because I don't want the code to really jump out, instead just be reference-able since C:c ' brings up the editor with full highlighting. Really, I'm just

Re: [O] Strange newline characters in org-export-as-html

2014-03-18 Thread Grant Rettke
Hi Bastien, My config is definitely to blame. With my config newlines are output as:  Even on 8.2.5h. On Thu, Mar 13, 2014 at 3:15 AM, Bastien b...@gnu.org wrote: Hi Grant, I just tested the minimal example with Org 8.2.5h and fci-mode activated but didn't notice anything strange.

Re: [O] Converting to a useful table in org-mode?

2014-03-18 Thread Michael Weylandt
On Mar 18, 2014, at 20:39, Sharon Kimble boudic...@talktalk.net wrote: I have this list of books that I've read on my kindle which I now want to store for posterity in org-mode. (OT thus sounds more like tasks/checklists to me) 24-11-13 - Andrew Lane - young sherlock Holmes, fire storm

Re: [O] babel completion notification

2014-03-18 Thread Grant Rettke
The other options are prettier and the hook is more flexible; I had only cared about tangling though so I set this: (defadvice org-babel-tangle (before org-babel-tangle-before activate) (message (concat org-babel-tangle BEFORE: (format-time-string %Y-%m-%dT%T%z)

[O] Navigating from agenda causes incorrect expansion of children

2014-03-18 Thread Dan LaManna
Not sure if this is a feature or a bug, but those on #org-mode prompted me to post it. GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) Org version 8.2.5c If you take the following minimal example of an org file: * A ** B *** TODO C *** D *** E And navigate to TODO C from

Re: [O] Converting to a useful table in org-mode?

2014-03-18 Thread Nick Dokos
Sharon Kimble boudic...@talktalk.net writes: I have this list of books that I've read on my kindle which I now want to store for posterity in org-mode. 24-11-13 - Andrew Lane - young sherlock Holmes, fire storm 3-12-13 - Richmal Compton - just Williams New years day 9-12-13 - richmal

[O] A JavaScript Org-mode parser I'm experimenting with

2014-03-18 Thread François Pinard
Hi, people. Just want to share that, for the last few days, I'm playing with a JavaScript Org-mode parser written by Masafumi Oyamada, found here: https://github.com/mooz/org-js To my eyes at least, it is very speedy, and fairly clean internally (contrasting with other JavaScript Org parsers