Re: [O] org-list-indent-offset only works partially

2011-10-19 Thread Michael Brand
Hi Nicolas Now I understand that - 1 :: item 1 [TAB]- item 2 works as expected, when assuming that you don't want the space after the - to change the indentation similar to Emacs Electric C but want to keep only TAB, C-c and the modified cursor keys to change the indentation. BTW, were there

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Carsten Dominik
On 18.10.2011, at 20:03, Sanjoy Mahajan wrote: Christian Moe mail at christianmoe.com writes: The Org manual (2.5 Structure editing) says to use M-S-≤right (org-demote-subtree) for what the submitter wants to do. (I am the original reporter of the issue on the Debian BTS.) That is

Re: [O] A more universal markup for exporters with italics/quotes?

2011-10-19 Thread Christian Moe
Hi, On 10/18/11 10:14 PM, John Hendy wrote: - italics: org doesn't handle multiple line italics in between / and /. Tip: You can customize org-emphasis-regexp-components to accept more than one newline. Could there be something like #+begin_quote There is! It makes blockquotes. Just go

Re: [O] Cdlatex questions

2011-10-19 Thread Carsten Dominik
On 17.10.2011, at 21:55, Rasmus wrote: Hi, I would like to add to cdlatex. However, it does not seem to work. This is probably the best place to ask. First, I want to add \mathbb{·} to cdlatex-math-modify-alist. Second, I want to change \mathbf{·} to \boldsymbol{·}, which is nicer

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Babel seems to interpret every *leading space* as *one empty column*. Normal, feature, bug? Is there some workaround to this? I thought stating scalar would really completely override any interpretation... I've just pushed up a fix which should resolve this

Re: [O] Recurring events with exceptions

2011-10-19 Thread Eric S Fraga
Skip Collins skip.coll...@gmail.com writes: ,[ C-h f org-clone-subtree-with-time-shift RET ] I find that this exactly what you are describing: I define an entry, clone it (with weekly shift, for instance) and then delete the exceptions and maybe add a few extras.  If any weekly instance

Re: [O] org-list-indent-offset only works partially

2011-10-19 Thread Nicolas Goaziou
Michael Brand michael.ch.br...@gmail.com writes: Hi Nicolas Now I understand that - 1 :: item 1 [TAB]- item 2 works as expected, when assuming that you don't want the space after the - to change the indentation similar to Emacs Electric C but want to keep only TAB, C-c and the modified

Re: [O] why was makefile changed to produce this?

2011-10-19 Thread Rémi Vanicat
Olaf Meeuwissen olaf.meeuwis...@avasys.jp writes: Nick Dokos nicholas.do...@hp.com writes: [...] $ dpkg -S makeinfo texinfo: /usr/bin/makeinfo octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc texinfo:

Re: [O] Problem with org-startup-indented

2011-10-19 Thread Andrei Jirnyi
Unfortunately, I'm not running 23.2. A backtrace produced with toggle-debug-on-quit and C-g may be helpful though. Could you provide one? I'm not familiar with the Emacs debugger, so I'm not sure if I am doing it right -- please let me know if I should do something else. If (when in the .org

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Matt Price
On Tue, Oct 18, 2011 at 5:15 PM, Mehul Sanghvi mehul.sang...@gmail.comwrote: Christian, Thanks for the stopgap measure. As for fonts, like styles, it would be easier, simpler and more elegant to be able to do that without having to edit styles.odt every time. This is not specific to

[O] Prompt for time when clocking in?

2011-10-19 Thread Nathan Neff
Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock in on the task, 2) Go to the CLOCK section for that header and press tab to open it 3) Fix the clock-in time If it's not

Re: [O] why was makefile changed to produce this?

2011-10-19 Thread Nick Dokos
Rémi Vanicat vani...@debian.org wrote: Olaf Meeuwissen olaf.meeuwis...@avasys.jp writes: Nick Dokos nicholas.do...@hp.com writes: [...] $ dpkg -S makeinfo texinfo: /usr/bin/makeinfo octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m emacs23-common:

Re: [O] Org, Diffs, and Version Control

2011-10-19 Thread Rustom Mody
Dave Abrahams dave at boostpro.com wrote: I was wondering what other people do. I am using http://www.mayrhofer.eu.org/dvcs-autosync for automatically committing of changes but without activated XMPP sync feature (so far). The already mentioned «git diff --color-words» helps me a lot

Re: [O] Problem with org-startup-indented

2011-10-19 Thread Nicolas Goaziou
Andrei Jirnyi a-jir...@northwestern.edu writes: Unfortunately, I'm not running 23.2. A backtrace produced with toggle-debug-on-quit and C-g may be helpful though. Could you provide one? I'm not familiar with the Emacs debugger, so I'm not sure if I am doing it right -- please let me know

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread John Hendy
On Wed, Oct 19, 2011 at 9:54 AM, Nathan Neff nathan.n...@gmail.com wrote: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock in on the task, 2) Go to the CLOCK section

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Mehul Sanghvi
On Wed, Oct 19, 2011 at 10:35, Matt Price mopto...@gmail.com wrote: On Tue, Oct 18, 2011 at 5:15 PM, Mehul Sanghvi mehul.sang...@gmail.com wrote: Christian,      Thanks for the stopgap measure.  As for fonts, like styles, it would be easier, simpler and more elegant to be able to do that

[O] how to do footers

2011-10-19 Thread Mehul Sanghvi
I know that Org can do foot notes using fn:xxx but what I wanted to do was put a footer to every page that is created. It would be the same thing on each page. How would I do that ? Either I missed it in the manual or it is not there. -- Mehul N. Sanghvi email: mehul.sang...@gmail.com

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
The font thing was just something coming out from the fact that I do not know or understand ODT styles. Something new to learn now :) This is how you will change the fonts. 1. Export your resume.org to resume.odt (without using any custom styles) 2. Open resume.odt in LibreOffice 3. F11 -

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Wed, Oct 19, 2011 at 9:54 AM, Nathan Neff nathan.n...@gmail.com wrote: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock

Re: [O] how to do footers

2011-10-19 Thread John Hendy
On Wed, Oct 19, 2011 at 10:27 AM, Mehul Sanghvi mehul.sang...@gmail.com wrote: I know that Org can do foot notes using fn:xxx but what I wanted to do was put a footer to every page that is created.  It would be the same thing on each page. How would I do that ?  Either I missed it in the

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
Matt Price mopto...@gmail.com writes: I think the problem here, Mehul, is that odt export works with styles, not fonts.  So to do what you want, the exporter would need to be able to tweak the styles manually(so, I guess, first run some kind of xml transform on the stylesheet, then apply the

Re: [O] how to do footers

2011-10-19 Thread Mehul Sanghvi
On Wed, Oct 19, 2011 at 11:35, John Hendy jw.he...@gmail.com wrote: On Wed, Oct 19, 2011 at 10:27 AM, Mehul Sanghvi mehul.sang...@gmail.com wrote: I know that Org can do foot notes using fn:xxx but what I wanted to do was put a footer to every page that is created.  It would be the same

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Michael Brand
Hi Carsten On 18.10.2011, at 20:03, Sanjoy Mahajan wrote: I do worry about one point, namely that C-c C- (outline-demote) should still work. And it does work in regular outline mode. For example, if I rename my test file to c.otl and then use C-c C- on the main heading, all the subtrees are

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
Jambunathan K kjambunat...@gmail.com writes: The font thing was just something coming out from the fact that I do not know or understand ODT styles. Something new to learn now :) This is how you will change the fonts. 1. Export your resume.org to resume.odt (without using any custom

Re: [O] how to do footers

2011-10-19 Thread Jambunathan K
Mehul Sanghvi mehul.sang...@gmail.com writes: I know that Org can do foot notes using fn:xxx but what I wanted to do was put a footer to every page that is created. It would be the same thing on each page. How would I do that ? Either I missed it in the manual or it is not there. You

Re: [O] Problem with org-startup-indented

2011-10-19 Thread Andrei Jirnyi
Notably, the problem disappears if I re-evaluate org-indent.el -- I wonder if the bug may be with the package loading? Also, when the issue is present, turning org-indent-mode off manually fixes it, but also produces an error message: org-indent-mode: Invalid function: org-with-wide-buffer

[O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi, is it possible to export an org file from the command line, so that a currently running Emacs instance is not disturbed? I want to export the attached org file and run the included source blocks, so I have an activity report in the end. I use the shell script pasted below, but there are two

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Jambunathan K
C-h v org-export-run-in-background Hi, is it possible to export an org file from the command line, so that a currently running Emacs instance is not disturbed? I want to export the attached org file and run the included source blocks, so I have an activity report in the end. I use the

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Viktor Rosenfeld
Hi, Sebastien Vauban wrote: #+BABEL: :engine msosql :cmdline -S SERVER -U USER -P PASS -d DATABASE -n -w 700 Where is the :engine directive documented? Cheers, Viktor

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread Bernt Hansen
Nathan Neff nathan.n...@gmail.com writes: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock in on the task, 2) Go to the CLOCK section for that header and press tab to

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Nick Dokos
Viktor Rosenfeld listuse...@googlemail.com wrote: Hi, Sebastien Vauban wrote: #+BABEL: :engine msosql :cmdline -S SERVER -U USER -P PASS -d DATABASE -n -w 700 Where is the :engine directive documented? The only place I know of is lisp/ob-sql.el - there is support for the

Re: [O] org-list-indent-offset only works partially

2011-10-19 Thread Michael Brand
Hi Nicolas Thanks for the explanations, it helps me to get the right perspective to all the various possibilities. And the reread of the manual about Plain lists reminded me of org-M-RET-may-split-line that I will configure now. Michael

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Viktor Rosenfeld
Cool, thanks! Nick Dokos wrote: Viktor Rosenfeld listuse...@googlemail.com wrote: Hi, Sebastien Vauban wrote: #+BABEL: :engine msosql :cmdline -S SERVER -U USER -P PASS -d DATABASE -n -w 700 Where is the :engine directive documented? The only place I know of is

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Sebastien Vauban
Hi Viktor and Nick, Nick Dokos wrote: Viktor Rosenfeld listuse...@googlemail.com wrote: Sebastien Vauban wrote: #+BABEL: :engine msosql :cmdline -S SERVER -U USER -P PASS -d DATABASE -n -w 700 Where is the :engine directive documented? The only place I know of is lisp/ob-sql.el -

[O] Exporting selected tasks (maybe from agenda view) including their body.

2011-10-19 Thread Dominik Schrempf
Is there a possibility to export tasks including their body (text, maybe logbook etc.) from the agenda view? What I would like to do is the following: I have Tasks with a certain todo state (e.g. WAITING). I can view all these tasks in an agenda view. Now I need to leave my computer and want to

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
I agree with Mehul it would be great to have an option to specify a styles file on a per-file basis. Something like: #+ODT_STYLE: ~/org/odt-templates/cv.odt I have gone with `#+ODT_STYLES_FILE: '[1]. Refer the docstring below for a sample setting. ,[ C-h v org-export-odt-styles-file

Re: [O] [babel] Verbatim output from SQL command

2011-10-19 Thread Eric Schulte
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Babel seems to interpret every *leading space* as *one empty column*. Normal, feature, bug? Is there some workaround to this? I thought stating scalar would really completely override any interpretation...

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Mehul Sanghvi
On Wed, Oct 19, 2011 at 13:54, Jambunathan K kjambunat...@gmail.com wrote: I agree with Mehul it would be great to have an option to specify a styles file on a per-file basis. Something like:    #+ODT_STYLE: ~/org/odt-templates/cv.odt I have gone with `#+ODT_STYLES_FILE: '[1]. Refer the

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Christian Moe
On 10/19/11 7:54 PM, Jambunathan K wrote: #+ODT_STYLES_FILE: /path/to/styles.xml Perfect. Thanks for the quick response! Yours, Christian

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Christian Moe
Hi, Mehul, It's not that I would be opposed to a fonts option, of course, but I don't see it as a priority or even necessary. As long as org-odt handles the document structure and semantics right, and allows attaching an external stylesheet, I think it's done its job. There are other

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Sanjoy Mahajan
Carsten, Thank you for the very clear explanation. I like this option that you suggested: (add-hook 'org-mode-hook (lambda () (define-key org-mode-map [(control ?)] 'org-promote-subtree) (define-key org-mode-map [(control ?)] 'org-demote-subtree))) It makes outline mode adapt to

Re: [O] Cdlatex questions

2011-10-19 Thread Rasmus Pank Roulund
Carsten Dominik carsten.domi...@gmail.com writes: Hi Rasmus, you need to set these variables before cdlatex.el has been loaded, or you need run (cdlatex-reset-mode) after you have changed them. THis is not documented well, unfortunately. Thanks Carsten. For the reference I use the

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi, Jambunathan K wrote: C-h v org-export-run-in-background This only works for org-export, but not for org-export-as-XXX. Additionally, it appears that setting org-confirm-babel-evaluate locally does not have an effect on background exports. Even setting it globally in a running Emacs

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Nick Dokos
Viktor Rosenfeld listuse...@googlemail.com wrote: Hi, Jambunathan K wrote: C-h v org-export-run-in-background This only works for org-export, but not for org-export-as-XXX. Additionally, it appears that setting org-confirm-babel-evaluate locally does not have an effect on

[O] Code block evaluation export bug ? (was: Re: Export an org file from the command line in the background)

2011-10-19 Thread Nick Dokos
While testing my response to Viktor's question, I ran into a problem. I used a test file that is slightly modified from a previous post of Tom Dye's: --8---cut here---start-8--- * R tables #+TBLNAME: tbl-1 | column1 | column2 | |-+-| | 45

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Viktor Rosenfeld
Hi Nick, Nick Dokos wrote: The usual method is to run a separate emacs in batch mode: that will avoid any conflicts with the running instance. But batch implies -q, so you will have to provide a minimal .emacs file that sets up enough structure to enable you to do what you want:

Re: [O] Export an org file from the command line in the background

2011-10-19 Thread Nick Dokos
Viktor Rosenfeld listuse...@googlemail.com wrote: ... One more question, it doesn't matter if I put the code in the file that is loaded via -l or in the --eval block, correct? I've included the code in the my org file, so I can tangle it. I find it better to have all the Emacs code in one

[O] direct link to mails in gmail

2011-10-19 Thread Torsten Wagner
Hi, I just figured out some kind of very interesting possibility. All the personal data and security feelings aside, I use a gmail account since I share it between many different computers. In my org-files, I would sometimes like to link to a particular mail e.g., for reference purpose. Today