Re: [O] Preview LaTeX fragment not working (for me)

2013-09-11 Thread Rasmus
Hi Evan, Evan Misshula writes: > I am trying to Preview LaTeX fragment (11.7.4). I have the preview > working in Preview LaTeX but when I (C-c C-x C-l) org-mode shows empty > boxes. AUCTeX Preview LaTeX didn't work with Org last time I tried, but I'm not sure whether you're referring to this o

Re: [O] Link with spaces does not export properly in html

2013-09-11 Thread Nicolas Goaziou
Hello, Simon writes: > My problem is that if an external link in my org document has %20 for spaces > in and the document is then exported for html, the %20 is changed to %2520. > This means the link does note work in the exported document. > > Does anyone know how this issue can be resolved?

Re: [O] `org-element-map' ignores type 'org-data'?

2013-09-11 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > The returned mapped tree starts with the first (section (...)) element, > org-data is simply ignored and missing. > > How can I make `org-element-map' act on the 'org-data' element too? You can't. This behaviour is hard-coded. Regards, -- Nicolas Goaziou

[O] [bug?][patch] Org LaTeX Fragments

2013-09-11 Thread Rasmus
Hi, I don't know if this is a bug or a feature, but consider the following test file: #+BEGIN_SRC Org #+TITLE: Fails when exporting #+TITLE: Fails when exporting * Instructions :noexport: 1. Start =emacs -q= 2. <> Run \src_emacs-lisp{(org-

[O] [BUG] Re: How to trigger the clockcheck in an agenda view.

2013-09-11 Thread Sebastien Vauban
Hi Nicolas, Nicolas Girard wrote: > 2013/8/5 Sebastien Vauban : >> >> Except the above, I definitely don't understand why it wouldn't work for you. >> Can you reproduce the problem with a minimal Emacs config file (adding the >> require of `org' and `org-agenda' before)? > > I think I understand w

[O] [BUG?] Duplicate agenda entries when enabling archives-mode

2013-09-11 Thread Sebastien Vauban
Hello, If you use the following block of code, you'll see that all your entries are duplicated. For a clock review, this is much worse, as Org will warn about clocking overlaps everywhere... (because multiple entries, then, happened at the same time). --8<---cut here---st

[O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Eric S Fraga
Hi, A minor feature request. Feel free to ignore! Using the sidewaystable :float option for table exports to LaTeX requires one to manually add a #+LaTeX_header: \usepackage{rotating} line to the org file. Could this package be added automatically by the exporter if the sidewaystable optio

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Nicolas Goaziou
Hello, Jambunathan K writes: > Some suggestions: > > 1. Give a better name. Say "pre-order" traversal of element in the >parse tree. [1] I don't know what "pre-order" means. What about `org-flat-forward-element' or simply (but misleading) `org-forward-paragraph'? > 3. When you say "Should

[O] [BUG] Re: Troubles with custom agenda commands

2013-09-11 Thread Sebastien Vauban
Hi Bastien, "Sebastien Vauban" wrote: > Bastien wrote: >> "Sebastien Vauban" writes: >> >>> When getting to the agenda dispatcher (`C-c a'), I see: >>> >>>S Summary Review: set of 3 commands >>> >>> while I only have... 2 commands (`agenda' and `todo'). Why? >> >> This is a bug, fixed.

[O] [bug] org-caldav-sync broken if entries have tables?

2013-09-11 Thread Eric S Fraga
Hello, I have just upgraded both org and org-caldav and now I can no longer sync to my Google calendar. I get the following error: Debugger entered--Lisp error: (args-out-of-range [left left right left] 4) org-export-table-cell-alignment((table-cell (:begin 49232 :end 49241 org-ascii-table-

Re: [O] [BUG] Re: Troubles with custom agenda commands

2013-09-11 Thread Sebastien Vauban
Hi Bastien, "Sebastien Vauban" wrote: > "Sebastien Vauban" wrote: >> Bastien wrote: >>> "Sebastien Vauban" writes: >>> When getting to the agenda dispatcher (`C-c a'), I see: S Summary Review: set of 3 commands while I only have... 2 commands (`agenda' and `todo').

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Rasmus
Hi Eric, Eric S Fraga writes: > A minor feature request. Feel free to ignore! > > Using the sidewaystable :float option for table exports to LaTeX > requires one to manually add a > > #+LaTeX_header: \usepackage{rotating} > > line to the org file. Could this package be added automatically by

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Eric S Fraga
Rasmus writes: > Hi Eric, > > Eric S Fraga writes: >> A minor feature request. Feel free to ignore! >> >> Using the sidewaystable :float option for table exports to LaTeX >> requires one to manually add a >> >> #+LaTeX_header: \usepackage{rotating} >> >> line to the org file. Could this pac

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Carsten Dominik
On 11.9.2013, at 14:08, Eric S Fraga wrote: > Rasmus writes: > >> Hi Eric, >> >> Eric S Fraga writes: >>> A minor feature request. Feel free to ignore! >>> >>> Using the sidewaystable :float option for table exports to LaTeX >>> requires one to manually add a >>> >>> #+LaTeX_header: \us

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 11:08:23PM +0200, Carsten Dominik wrote: > > And I agree with you, beginning of line is a good target column. On reading Nicolas's explanation, I agree too. This is better. Cheers, -- Suvayu Open source is the future. It sets us free.

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Rasmus
Carsten Dominik writes: >> Okay. I can live with this! >> >> I guess it would help if the documentation indicated when additional >> packages may be required. I had to do an internet search to find out I >> needed the rotating package for the sidewaystable option described in >> the org info

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Rainer M Krug
Carsten Dominik writes: > On 11.9.2013, at 14:08, Eric S Fraga wrote: > >> Rasmus writes: >> >>> Hi Eric, >>> >>> Eric S Fraga writes: A minor feature request. Feel free to ignore! Using the sidewaystable :float option for table exports to LaTeX requires one to manually

[O] [BUG] org-time-clock%

2013-09-11 Thread Pierre-Henry Frohring
Hi ! org-time-clock% gives me unexpected result. One could reproduce the bug using the code below or attached file. configuration : emacs-version : GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org org-version : Org-mode version 8.1.1 *

[O] [BUG] Colored tags generate an error when C-x C-w'ing the agenda

2013-09-11 Thread Sebastien Vauban
Hello, If you have colors for tags: --8<---cut here---start->8--- ;; faces for specific tags (setq org-tag-faces '(("home" . (:slant italic :foreground "#5C88D3" :background "#BBDDFF")) ("work" . (:slant i

Re: [O] [bug] org-caldav-sync broken if entries have tables?

2013-09-11 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I have just upgraded both org and org-caldav and now I can no longer > sync to my Google calendar. I get the following error: [...] > There is nothing particularly strange about the table found at location > 49232 in my diary. Are you able to export a buffer (wi

[O] How to insert fraction and other math inside tables?

2013-09-11 Thread Hans Bale
How do I insert eg. \frac{1}{2} inside a table? Following does not seem to work |text |some more text| |---+--| |\frac{1}{2}| \frac{1}{3} | Exporting to html, the .html it is displayed as: |text |some more text| |---+--| |\frac{

Re: [O] error message at line break

2013-09-11 Thread henry atting
henry atting writes: > Nicolas Goaziou writes: > >> Hello, >> >> henry atting writes: >> >>> When writing at every automatic break at the end of a line I get this >>> error message: >>> >>> org-comment-line-break-function: Wrong type argument: char-or-string-p, >>> nil >>> >>> It doesn't hurt m

Re: [O] [bug?][patch] Org LaTeX Fragments

2013-09-11 Thread Nicolas Goaziou
Hello, Rasmus writes: > I don't know if this is a bug or a feature, but consider the following > test file: > > #+BEGIN_SRC Org > #+TITLE: Fails when exporting > #+TITLE: Fails when exporting > > * Instructions > :noexport: > > 1. Star

[O] [wish, detail] Resume ordered lists

2013-09-11 Thread Sebastien Vauban
Hello, Currently, ordered list items may be (re-)started with a different value (e.g., 20), by writing the item with `[@20]'. A nice-to-have feature would be the ability to resume a list at the previous value + 1, such as: ╭ │ 1. This │ 2. That │ │ Some intermediate paragraph. │

Re: [O] error message at line break

2013-09-11 Thread Nicolas Goaziou
Hello, henry atting writes: > It happens with each org file without header when you do not indent > the first two lines at least one space. Could you provide an ECM? Regards, -- Nicolas Goaziou

Re: [O] error message at line break

2013-09-11 Thread henry atting
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> It happens with each org file without header when you do not indent >> the first two lines at least one space. > > Could you provide an ECM? > Okay, say I have an org file with two lines in it (fill-column is set to 70). Here you go:

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Nicolas Goaziou
Jambunathan K writes: > `org-forward-paragraph' is much better. As long as the docstring or > comments mention that Org's notion of paragraph is much more nuanced or > richer than a text-mode's notion of paragraph. OK. Suggestions welcome. Meanwhile, here is an updated version for the functi

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Nicolas Goaziou
Jambunathan K writes: > Nicolas Goaziou writes: > >> I don't understand. Are you talking about the error message? There is no >> "canonical" C-down position, so I'm a bit confused. > > Put your cursor on the blank line between. Do a C-down. You will see > the cursor moving and also an error re

Re: [O] Inline plot with matplotlib

2013-09-11 Thread Johan Ekh
Thank you! This works! /Johan On Tue, Sep 10, 2013 at 1:08 AM, Rasmus wrote: > Johan Ekh writes: > > > Hi all, > > I would like to create a plot with matplotlib and have it exported to a > > beamer presentation without storing the plot in a file. Is that possible? > > I guess you'd want to plo

Re: [O] [bug?][patch] Org LaTeX Fragments

2013-09-11 Thread Rasmus
Nicolas Goaziou writes: > I think `org-format-latex-header' shouldn't load amsmath at all. That's another possibility. >> The first patch adds amsmath as a dependency which fixes the above >> bug. According to my TeXLive it seems amstext is distributed with >> amsmath, so I don't think that's

[O] setting options to python interpreter for a code block

2013-09-11 Thread John Kitchin
Hi, I am looking at a new strategy to capture stderr and exceptions in python code blocks. Right now exceptions are not captured in the output, and neither is stderr. I made a little sandbox module that captures stdout, stderr, and exceptions and then prints them all to stdout with some minor form

Re: [O] error message at line break

2013-09-11 Thread henry atting
Nicolas Goaziou writes: > Hello, > > henry atting writes: > >> Okay, say I have an org file with two lines in it (fill-column is set to >> 70). Here you go: >> >> >> Jemand mußte Josef K. verleumdet haben, denn ohne daß er etwas Boeses >> getan haette, wurde er eines Morgens verhaftet. Die Koech

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-11 Thread Eric S Fraga
Rasmus writes: > Carsten Dominik writes: > >>> Okay. I can live with this! >>> >>> I guess it would help if the documentation indicated when additional >>> packages may be required. I had to do an internet search to find out I >>> needed the rotating package for the sidewaystable option des

Re: [O] error message at line break

2013-09-11 Thread Nicolas Goaziou
Hello, henry atting writes: > Okay, say I have an org file with two lines in it (fill-column is set to > 70). Here you go: > > > Jemand mußte Josef K. verleumdet haben, denn ohne daß er etwas Boeses > getan haette, wurde er eines Morgens verhaftet. Die Koechin der Frau > > > Then you go on with

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Nicolas Goaziou
Jambunathan K writes: > Hmmm... Object traversal. > > Now there should be a way to move between objects: Move to the next > object of the same type the cursor is on. This is interesting but not really possible at the moment. Currently Elements implement "successors" functions, which are basi

Re: [O] [bug] org-caldav-sync broken if entries have tables?

2013-09-11 Thread Eric S Fraga
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> I have just upgraded both org and org-caldav and now I can no longer >> sync to my Google calendar. I get the following error: > > [...] > >> There is nothing particularly strange about the table found at location >> 49232 in my dia

Re: [O] setting options to python interpreter for a code block

2013-09-11 Thread John Kitchin
cool! this worked wonderfully: (setq org-babel-python-command "python -m sandbox") #+BEGIN_SRC python print 'hello' print 4 + 6 import sys print >>sys.stderr, 'message to stderr' raise Exception('baboom') #+END_SRC #+RESULTS: #+begin_example

Re: [O] setting options to python interpreter for a code block

2013-09-11 Thread Eric Schulte
You could try setting org-babel-python-command to "python -m sandbox". If that doesn't work we could add a cmdline header argument to python code blocks pretty easily. Cheers, John Kitchin writes: > Hi, > I am looking at a new strategy to capture stderr and exceptions in python > code blocks.

[O] BUG: clicking on timestamp destroys buffer ordering and point

2013-09-11 Thread Samuel Wales
I like the feature where you can RET or click on a timestamp. Recently in git master, it changes the buffer list so that the buffer you are in is off in some random location. You cannot get back to it with next-buffer. I bind this to a function key and operate in full screen (I never split window

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Nicolas Goaziou
Jambunathan K writes: > I am happy with whatever is the latest version. You may want to commit > it. I copy here[fn:1] the current version, for the record, along with its backward counterpart. Some points are still to be discussed: 1. What to do on node properties? 2. What to do on source

Re: [O] Outline cycling does not preserve point's position

2013-09-11 Thread Suvayu Ali
Hi Nicolas, On Wed, Sep 11, 2013 at 10:01:31PM +0200, Nicolas Goaziou wrote: > Jambunathan K writes: > > > I am happy with whatever is the latest version. You may want to commit > > it. > > I copy here[fn:1] the current version, for the record, along with its backward > counterpart. Some point

[O] LaTeX export: images subplots

2013-09-11 Thread Martin Leduc
Hi all, I am using org-mode to write a report with several figures. I would like to group some images into a same figure, let say a 2x2 panel. I know that I can directly embed latex code in my org file, for example by using the subfloats (from the latex subfig package). However, I would pref

Re: [O] LaTeX export: images subplots

2013-09-11 Thread John Hendy
On Wed, Sep 11, 2013 at 8:56 PM, Martin Leduc wrote: > Hi all, > I am using org-mode to write a report with several figures. I would like > to group some images into a same figure, let say a 2x2 panel. I know that I > can directly embed latex code in my org file, for example by using the > subfl

Re: [O] LaTeX export: images subplots

2013-09-11 Thread Martin Leduc
Hi John, this solution using tables was indeed inspired from your post, I am so sorry, I should have refered to it... I suppose that the feature has not been implemented yet. I am now thinking of generating a panel with imagemagick before including it in the org buffer, for example with #+

Re: [O] LaTeX export: images subplots

2013-09-11 Thread John Hendy
On Wed, Sep 11, 2013 at 10:13 PM, Martin Leduc wrote: > Hi John, >this solution using tables was indeed inspired from your post, I am so > sorry, I should have refered to it... > Ha! No problem at all -- small mailing list world :) > I suppose that the feature has not been implemented yet. I

Re: [O] LaTeX export: images subplots

2013-09-11 Thread Charles Berry
Martin Leduc hotmail.com> writes: > > > Hi all, > I am using org-mode to write a report with several figures. I would > like to group some images into a same figure, let say a 2x2 panel. I > know that I can directly embed latex code in my org file, for > example by using the subfloats (from th