Re: [O] Inconsistency in odt export to other exporters

2012-01-23 Thread Jambunathan K
The following snippet exports correctly to LaTeX and to html, but produces the text Figure Figure in odt. Fixed.

Re: [O] Organizing by time or by subject and an idea

2012-01-23 Thread Eric S Fraga
Max Mikhanosha m...@openchat.com writes: At Fri, 20 Jan 2012 12:04:51 -0600, John Hendy wrote: [...] Generally I think the way to tackle this is to take advantage that you are working with plain text and not with Word document, and use standard Emacs/Unix tools for working with text.

Re: [O] Capitalisation and good taste ?

2012-01-23 Thread Eric S Fraga
Bernt Hansen be...@norang.ca writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Bernt Hansen be...@norang.ca writes: [...] I added the following to my .emacs to keep lowercase. Thanks. This is a great suggestion! Two possible typos, by the way, that would only affect you if you use muse

Re: [O] Inconsistency in odt export to other exporters

2012-01-23 Thread Andreas Leha
Jambunathan K kjambunat...@gmail.com writes: The following snippet exports correctly to LaTeX and to html, but produces the text Figure Figure in odt. Fixed. Works great for me, thanks! And thanks for all these fast responses! Best, Andreas

Re: [O] [bug] Tables in lists not exported to ODT

2012-01-23 Thread Andreas Leha
Jambunathan K kjambunat...@gmail.com writes: Jambunathan K kjambunat...@gmail.com writes: Btw, I was trying to make the tables cute-looking Just pushed a fix whereby one can control the width of the tables. , commit f9d242 | Customize table width using :rel-width option. For

Re: [O] [bug] Tables in lists not exported to ODT

2012-01-23 Thread Christian Moe
On 1/23/12 11:48 AM, Andreas Leha wrote: Jambunathan Kkjambunat...@gmail.com writes: Just pushed a fix whereby one can control the width of the tables. Thanks for this very useful feature. Works nicely for me. +1! Thanks, Christian

[O] (no subject)

2012-01-23 Thread Tom Regner
From aea3adc952de33aa9acad94fbd9baa717b7b1a1e Mon Sep 17 00:00:00 2001 From: Tom Regner t...@goochesa.de Rcpt To: emacs-orgmode@gnu.org Date: Mon, 23 Jan 2012 12:39:52 +0100 Subject: [PATCH] ob.el Adhere to current :padline header during noweb dereferencing. At the moment using the :noweb-ref:

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Andreas Leha
Nicolas Goaziou n.goaz...@gmail.com writes: [...] As a side note, #+label has been deprecated in favor of #+name (though the former is immediately translated into the latter at parse time). Sorry for hijacking this thread. But this side note is only valid for the new exporter, correct? As

[O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread François Pinard
Hi, Org people. This morning, I activated org-special-ctrl-a/e (setting it to t). It works as documented on header lines having TODO keywords. On check lists however, I would have expected a corresponding behavior. Currently, on the first C-a, the cursor moves back on the [ character, while I

[O] [PATCH] narrowing in agenda file

2012-01-23 Thread Litvinov Sergey
Narrowing in the agenda file does not survive agenda redo. Please see an example in the first patch. I think the second patch fixes this problem. From 60ef46625131391c6a49fccd26861f933a984515 Mon Sep 17 00:00:00 2001 From: Litvinov Sergey slitvi...@gmail.com Date: Mon, 23 Jan 2012 14:22:53 +0100

Re: [O] typo in doc/orgguide.texi

2012-01-23 Thread Bastien
Hi Guido, Guido Arnold watsoll...@googlemail.com writes: Hello, please forgive me for not filing a proper bug report, I am not even a org-mode user yet, but I am very interested. I just had a look at the quick guide and found a typo in line 1908:

[O] Prompts for C-. and

2012-01-23 Thread François Pinard

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, t...@tsdye.com (Thomas S. Dye) writes: #+CAPTION[An example photograph]: An example photograph. #+NAME: fig:photo for me, yields: \caption{\label{fig:photo}An example photograph} I was expecting: \caption[An example

[O] Prompts for `C-c .' and `C-c !'

2012-01-23 Thread François Pinard
Hi, Org people! :-) Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and the date is prompted in the mini-buffer in the same way for both commands. One of them is going to insert DATE, the other [DATE]. The mini-buffer always show DATE, like this: Date+time [2012-01-23]:

[O] Why functions like org-show-subtree are undocumented?

2012-01-23 Thread Alexander Corvinus
Hi all, I just reviewed code in org.el and noticed that function org-show-subtree, which is called by org-cycle, unconditionally shows whole subtree (exactly what I wanted to have in my shortcuts!). So the question is - why such useful functions like org-show-subtree, hide-subtree, show-children

Re: [O] Side-by-side support

2012-01-23 Thread Jambunathan K
Hello Christian Christian Wittern cwitt...@gmail.com writes: On 2012-01-20 05:03, Jambunathan K wrote: side-by-side has surfaced in the list for the second time, I think it deserves to be supported out of the box. I strongly support this, since I have a lot of files with side-by-side

Re: [O] (no subject)

2012-01-23 Thread Tom Regner
Tom Regner t...@goochesa.de writes: From aea3adc952de33aa9acad94fbd9baa717b7b1a1e Mon Sep 17 00:00:00 2001 From: Tom Regner t...@goochesa.de Rcpt To: emacs-orgmode@gnu.org Date: Mon, 23 Jan 2012 12:39:52 +0100 Subject: [PATCH] ob.el Adhere to current :padline header during noweb

Re: [O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread Nicolas Goaziou
Hello, pin...@iro.umontreal.ca (François Pinard) writes: On check lists however, I would have expected a corresponding behavior. Currently, on the first C-a, the cursor moves back on the [ character, while I think it should move after the space following ]. According to the documentation:

Re: [O] org-e-latex remove logfiles

2012-01-23 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: The documentation string for org-e-latex-remove-logfiles might better be: Non-nil means remove files with the extensions listed in org-e-latex-extensions. I think that the first sentence of the doc-string should be a tad bit shorter. In an

Re: [O] Prompts for `C-c .' and `C-c !'

2012-01-23 Thread Bernt Hansen
pin...@iro.umontreal.ca (François Pinard) writes: Hi, Org people! :-) Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and the date is prompted in the mini-buffer in the same way for both commands. One of them is going to insert DATE, the other [DATE]. The mini-buffer

Re: [O] customize agenda time boundaries

2012-01-23 Thread Bernt Hansen
sergio mail...@sergio.spb.ru writes: On 01/23/2012 07:17 AM, Bernt Hansen wrote: (setq org-agenda-start-on-weekday nil) C-c a a j -3 w OK, it works. But it's complicated and week was just an example. How to do the same for 3 days? For one day (show 12 hours before, and 12 after the

Re: [O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread François Pinard
Nicolas Goaziou n.goaz...@gmail.com writes: pin...@iro.umontreal.ca (François Pinard) writes: On check lists however, I would have expected a corresponding behavior. Currently, on the first C-a, the cursor moves back on the [ character, while I think it should move after the space following

Re: [O] [PATCH] narrowing in agenda file

2012-01-23 Thread Bernt Hansen
Litvinov Sergey slitvi...@gmail.com writes: Narrowing in the agenda file does not survive agenda redo. Please see an example in the first patch. I think the second patch fixes this problem. Hi Sergey, I haven't had a chance to try your patch yet but I recently tried to fix this behaviour as

Re: [O] [bugs] Export to HTML requires issuing org-babel-execute-buffer; results replace fails

2012-01-23 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: Since all source blocks are evaluated on export, I don't think it should be necessary to issue org-babel-execute-buffer before invoking export. However, running HTML export without org-babel-execute-buffer currently produces garbage output. What do

Re: [O] org-babel functions for Io evaluation

2012-01-23 Thread Eric Schulte
Hi Andrzej, This looks wonderful, thanks for sharing! Would you be willing to complete the FSF copyright assignment [1] so that we can include this into the Org-mode core? If that is not possible then we could still distribute this in the contrib directory, but inclusion in the core is

Re: [O] How to include comments on export? org-exp-blocks.el?

2012-01-23 Thread Eric Schulte
There are currently begin/end_comment blocks implemented as part of org-exp-blocks.el. See the `org-export-blocks-format-comment' function which is fairly simple and should not be difficult to customize. Best, Samuel Wales samolog...@gmail.com writes: We had a wonderful discussion of it once,

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-23 Thread Eric Schulte
Have you tried using the `org-babel-noweb-error-langs' variable that I mentioned previously? It should help in these situations. Yu yu_...@gmx.at writes: Hello again! I thought about the *noweb* part again. I tried the following: == #+begin_src sh

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-23 Thread Eric Schulte
Fixed. Thanks, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: there are two related functions which should help. ,[org-babel-view-src-block-info] bound to C-c C-v I | org-babel-view-src-block-info is an interactive Lisp function in | `ob.el'. | |

Re: [O] org-babel order of evaluation

2012-01-23 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: On Thu, Jan 12, 2012 at 7:52 PM, Rick Frankel r...@rickster.com wrote: On Thu, Jan 12, 2012 at 06:07:41PM -0700, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: Turns out it was not that difficult to change this behavior.  You and Leo are

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Nicolas Goaziou
t...@tsdye.com (Thomas S. Dye) writes: The file name passed to \includegraphics is formed like this: ~/path/to/graphics/file My LaTeX doesn't recognize this as a path. The old exporter passed a file name where the tilde was expanded: /Users/user/path/to/graphics/file It should be fixed

[O] Absolute paths in exported files

2012-01-23 Thread Yu
Hello! An older topic was here: http://lists.gnu.org/archive/html/emacs-orgmode/2010-01/msg00573.html The problem seems to persist as of now for latex (and thus pdf) export. The results are sort of diffuse though. I am working with emacs on Cygwin using the latest git-version and native Windows

Re: [O] Prompts for `C-c .' and `C-c !'

2012-01-23 Thread Lolo le 13
Hi ! If I understood well, I think that the difference between C-c . and C-c ! is that the timestamp is active or not. DATE is an active date that appear in agenda view. So you have ti use it if you want to see the task scheduled or deadlined. [DATE] format does not allow the timestamp to

Re: [O] [ODT] image scaling overridden by long caption

2012-01-23 Thread Jambunathan K
Hello Andreas I have added support for character anchored images as part of the following commit release_7.8.03-201-g1d99fd7. I am attaching a sample Org file and the associated ODT output. Nicolas/Eric Don't be surprised. Please Read on ... --8---cut

Re: [O] Is it possible to include #+call lines in HTML export?

2012-01-23 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: Currently, my org files look something like this: * And now, let's do the analysis ! #+call: foo(bar) #+results: : earth-shattering results : gonna land me a Nobel /and/ a Fields! But because #+call is not exported, it's not clear what function

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Eric Schulte
2) If the source block is executed in buffer with (org-ctrl-c-ctrl-c), as shown above, then the exporter appears to export the in-buffer results /and/ the export-generated results (where :exports is results or both) resulting in two sets of identical results in the export. It's out of

[O] [PATCH] ob.el Adhere to current :padline header during noweb dereferencing.

2012-01-23 Thread tom
At the moment using the :noweb-ref: property approach on subtrees results in the tangled code beeing broken because the newlines before the #+end_src line are excluded from the output. This patch uses :padline to check if a newline should be added. The default being yes, tangling with subtree

Re: [O] (no subject)

2012-01-23 Thread Eric Schulte
I'd rather not change the default silently in this way. Could you provide a minimal example of the difference you describe? I just tried viewing the expanded form of the following code block and saw no difference between :noweb-ref and normal #+name: based expansions. * examples #+name: first

Re: [O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread Nicolas Goaziou
pin...@iro.umontreal.ca (François Pinard) writes: It all depends if we read the letter or the spirit of the second sentence. [ ] is a kind of TODO, and [X] is a kind of DONE, as demonstrated by the commands `C-x -' and `C-x *'. That's why I quite naturally expect the cursor to be positioned

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Nicolas Goaziou
Hello, Eric Schulte eric.schu...@gmx.com writes: It's out of exporter's scope. I disagree. The current exporter conforms to the value of the :results header argument (e.g., silent, replace, append, etc...) when executing code blocks during export. I see no reason why the new exporter

Re: [O] [ODT] image scaling overridden by long caption

2012-01-23 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: Does the existing behaviour as captured in [[Side-by-Side images laid out by hand]] be preserved with new export driver? I'm not sure to get the syntax right, but in the new exporter, you can see what is the next or previous element, along

Re: [O] Prompts for `C-c .' and `C-c !'

2012-01-23 Thread Bernt Hansen
Lolo le 13 lolol...@gmail.com writes: Hi ! If I understood well, I think that the difference between C-c . and C-c ! is that the timestamp is active or not. DATE is an active date that appear in agenda view. So you have ti use it if you want to see the task scheduled or deadlined. [DATE]

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: t...@tsdye.com (Thomas S. Dye) writes: The file name passed to \includegraphics is formed like this: ~/path/to/graphics/file My LaTeX doesn't recognize this as a path. The old exporter passed a file name where the tilde was expanded:

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-23 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, t...@tsdye.com (Thomas S. Dye) writes: A quick question and a couple of comments on the LaTeX exporter. With the old exporter I set (setq org-export-latex-hyperref-format \\ref{%s}) so a link to a headline would cross reference properly

Re: [O] LaTeX export: Keep point position in TeX file

2012-01-23 Thread Michael Bach
Eric S Fraga e.fr...@ucl.ac.uk writes: If so, I suggest you could achieve what you want by using the org-export-* hooks to, for instance, save current position before export and then jump to that position after export? Maybe org-export-first-hook and org-export-latex-final-hook could be

[O] [PATCH] Save undo history after org-edit-src-save.

2012-01-23 Thread Peter Danenberg
It's been irritating me that after saving an edit buffer, the undo history disappears; the attached patch restores the undo history. diff --git a/lisp/org-src.el b/lisp/org-src.el index 8cdf81e..e85e04e 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -661,7 +661,7 @@ the language, a switch

Re: [O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread Anthony Lander
On 12-Jan-23, at 3:30 PM, Nicolas Goaziou wrote: pin...@iro.umontreal.ca (François Pinard) writes: It all depends if we read the letter or the spirit of the second sentence. [ ] is a kind of TODO, and [X] is a kind of DONE, as demonstrated by the commands `C-x -' and `C-x *'. That's why

Re: [O] C-a in lists when org-special-ctrl-a/e

2012-01-23 Thread François Pinard
Nicolas Goaziou n.goaz...@gmail.com writes: It all depends if we read the letter or the spirit of the second sentence. [ ] is a kind of TODO, and [X] is a kind of DONE, as demonstrated by the commands `C-x -' and `C-x *'. That's why I quite naturally expect the cursor to be positioned after

[O] Scrolling down after Shift-TAB ?

2012-01-23 Thread François Pinard
Hi again. Very, very often, after a Shift-TAB that collapses all entries, a few lines in the vicinity of the cursor are shown at the top of the window, which is mainly empty for its reminder; we contemplate the vacuum *after* the file. As my Org files are such that all the top level lines

Re: [O] Side-by-side support

2012-01-23 Thread Christian Wittern
Hi Jambunathan, On 2012-01-24 01:34, Jambunathan K wrote: In my case, I have simply separated the columns by atab character and set the tab-width to a sensible value for nice on-screen display. These are 'text' and 'translation of that text' side-by-side, When you are saying on-screen

Re: [O] Scrolling down after Shift-TAB ?

2012-01-23 Thread Nick Dokos
François Pinard pin...@iro.umontreal.ca wrote: Hi again. Very, very often, after a Shift-TAB that collapses all entries, a few lines in the vicinity of the cursor are shown at the top of the window, which is mainly empty for its reminder; we contemplate the vacuum *after* the file. As my

Re: [O] (no subject)

2012-01-23 Thread Tom Regner
Eric Schulte eric.schu...@gmx.com writes: I'd rather not change the default silently in this way. I understand that. Could you provide a minimal example of the difference you describe? I just tried viewing the expanded form of the following code block and saw no difference between

Re: [O] Scrolling down after Shift-TAB ?

2012-01-23 Thread François Pinard
Nick Dokos nicholas.do...@hp.com writes: François Pinard pin...@iro.umontreal.ca wrote: Very, very often, after a Shift-TAB that collapses all entries, [...] I [...] scroll down so see it all. You'd need to code it somewhat carefully sp that you wouldn't lose the property that after a

Re: [O] Scrolling down after Shift-TAB ?

2012-01-23 Thread Nick Dokos
François Pinard pin...@iro.umontreal.ca wrote: It usually does not do the proper thing alone, but `C-l C-l C-l' is closer to what I want. Well, the proper thing is very much in the eye of the beholder :-) Also, I never noticed the binding change: I've been living my life thinking that C-l

Re: [O] string joining accumulated noweb references Was: (no subject)

2012-01-23 Thread Eric Schulte
Tom Regner t...@goochesa.de writes: Eric Schulte eric.schu...@gmx.com writes: I'd rather not change the default silently in this way. I understand that. My apologies, now that I understand the issue I see that the current behavior is most likely confusing and I agree with your original

Re: [O] [bugs] Export to HTML requires issuing org-babel-execute-buffer; results replace fails

2012-01-23 Thread Leo Alekseyev
On Mon, Jan 23, 2012 at 11:58 AM, Eric Schulte eric.schu...@gmx.com wrote: Leo Alekseyev dnqu...@gmail.com writes: Since all source blocks are evaluated on export, I don't think it should be necessary to issue org-babel-execute-buffer before invoking export.  However, running HTML export

Re: [O] [bugs] Export to HTML requires issuing org-babel-execute-buffer; results replace fails

2012-01-23 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: On Mon, Jan 23, 2012 at 11:58 AM, Eric Schulte eric.schu...@gmx.com wrote: Leo Alekseyev dnqu...@gmail.com writes: Since all source blocks are evaluated on export, I don't think it should be necessary to issue org-babel-execute-buffer before invoking

Re: [O] Prompts for `C-c .' and `C-c !'

2012-01-23 Thread Leo
On 2012-01-24 00:01 +0800, François Pinard wrote: Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and the date is prompted in the mini-buffer in the same way for both commands. One of them is going to insert DATE, the other [DATE]. The mini-buffer always show DATE, like

Re: [O] [BUG] Inconsistency in src block hiding

2012-01-23 Thread Leo Alekseyev
statement above.  The tag-line to the Drawers section in the manual is Tucking stuff away which I think is often how drawers are used. Changing the default drawer export behavior from don't export to do export would be surprising, would break many existing work flows, and would likely make

Re: [O] [BUG] Inconsistency in src block hiding

2012-01-23 Thread Jambunathan K
Leo Alekseyev dnqu...@gmail.com writes: Tucking stuff away can mean different things to different users. Personally, I have treated them purely as an organizational device for supplementary information (I have :DETAILS: drawers all over my org files). (Out of Context) Drawer contents =

Re: [O] string joining accumulated noweb references

2012-01-23 Thread Tom Regner
Wow - this is /fast/ development :-); now I'm glad my son kept me awake this night, so that I could check my mails sooner than I normaly would have... Eric Schulte eric.schu...@gmx.com writes: Tom Regner t...@goochesa.de writes: Eric Schulte eric.schu...@gmx.com writes: I'd rather not

Re: [O] [bugs] Export to HTML requires issuing org-babel-execute-buffer; results replace fails

2012-01-23 Thread Leo Alekseyev
On Mon, Jan 23, 2012 at 10:05 PM, Eric Schulte eric.schu...@gmx.com wrote: Leo Alekseyev dnqu...@gmail.com writes: On Mon, Jan 23, 2012 at 11:58 AM, Eric Schulte eric.schu...@gmx.com wrote: Leo Alekseyev dnqu...@gmail.com writes: Since all source blocks are evaluated on export, I don't think

[O] export-as-hmtl fail

2012-01-23 Thread aaron barclay
Hello, When I use a python code block in a document any export-as-html results in the error Invalid file-name. Without a code block the export goes without a hitch. Other exports work no probs such as export-as-ascii. The code block within the document acts as expected, it is only the export that

Re: [O] Problem at capture time

2012-01-23 Thread David Maus
Hi François, Hi Bastien, At Mon, 09 Jan 2012 07:50:54 -0500, François Pinard wrote: Bastien b...@altern.org writes: Hi François, please be patient -- your patches are under radar, resending them does not help. OK, sorry. I do not know enough, yet, how Org works. I sent a problem,

Re: [O] string joining accumulated noweb references

2012-01-23 Thread Achim Gratz
Eric Schulte eric.schu...@gmx.com writes: I just pushed up a new customization variable named `org-babel-noweb-separator' which is used to join multiple accumulated noweb references like the above. The value defaults to a newline giving the same behavior resulting from your patch but can be

Re: [O] string joining accumulated noweb references

2012-01-23 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte eric.schu...@gmx.com writes: I just pushed up a new customization variable named `org-babel-noweb-separator' which is used to join multiple accumulated noweb references like the above. The value defaults to a newline giving the same