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

2012-01-24 Thread Andreas Leha
Eric Schulte eric.schu...@gmx.com writes: [...] To my mind a better path moving forward would be to change the behavior of the :RESULTS: drawer so that it is exported but *not* to change the default drawer export behavior. This way with a :wrap header argument the code block results could

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

2012-01-24 Thread Bastien
Hi Alexander, Alexander Corvinus acr...@gmail.com writes: So the question is - why such useful functions like org-show-subtree, hide-subtree, show-children aren't documented in manual? Because of that, previously I thought that what I wanted was impossible (without source change). Please

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

2012-01-24 Thread Eric S Fraga
Michael Bach pha...@gmail.com writes: 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

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

2012-01-24 Thread François Pinard
Nick Dokos nicholas.do...@hp.com writes: Well, the proper thing is very much in the eye of the beholder :-) My mother, who was a musician and a painter, used to say: Des goûts et des couleurs, on ne discute pas... Mais il y en a de meilleurs que d'autres! The sentence is soft and spicy

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

2012-01-24 Thread François Pinard
Nick Dokos nicholas.do...@hp.com writes: Well, the proper thing is very much in the eye of the beholder :-) My mother, who was a musician and a painter, used to say: Des goûts et des couleurs, on ne discute pas... Mais il y en a de meilleurs que d'autres! The sentence is soft and spicy

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

2012-01-24 Thread Carsten Dominik
On 23.1.2012, at 16:27, Alexander Corvinus wrote: 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

Re: [O] export-as-hmtl fail

2012-01-24 Thread Martyn Jago
Hi Aaron aaron barclay aaron.diplo...@gmail.com writes: 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

[O] using first heading as h1 in batch export to html

2012-01-24 Thread Detlef Steuer
If I batch export a test.org looking like this -- test.org * heading1 some text to html I get a h1 class=titletest/h1 as result. If I open the file and do C-c @ on the first heading the result contains h1 class=titleheading1/h1 How do I achieve the latter in

[O] Question about Sorting All Day Events in Agenda View

2012-01-24 Thread Tatsuhito Koya
Hello, I use Org-Mode with Calendar/Diary integration turned on. This works well for me, but the only issue I have is that in the agenda view, all day events such as holidays and anniversaries are displayed at the bottom. I have many tasks, so sometimes I need to scroll down quite a bit to see

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

2012-01-24 Thread Bastien
Hi Peter, Peter Danenberg p...@roxygen.org writes: It's been irritating me that after saving an edit buffer, the undo history disappears; the attached patch restores the undo history. Applied. Next time, please provide a full patch (with an Emacs ChangeLog message) with git format-patch.

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

2012-01-24 Thread Bastien
Hi François, pin...@iro.umontreal.ca (François Pinard) writes: Could it be: Date+time [2012-01-23]: = [2012-01-23 lun] when appropriate? This is now the case. Thanks for the suggestion. -- Bastien

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

2012-01-24 Thread Bastien
Hi Nicolas, 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

Re: [O] customize agenda time boundaries

2012-01-24 Thread Bastien
Hi Sergio, Bernt Hansen be...@norang.ca writes: You might be able to use org-agenda-span to accomplish some of this. Yes -- a combination of `org-agenda-starting-day' and `org-agenda-span' should do. HTH, -- Bastien

Re: [O] Capitalisation and good taste ?

2012-01-24 Thread Bastien
Eric S Fraga e.fr...@ucl.ac.uk writes: Indeed. Attached is a very simple patch to fix these missing s. Untested. Applied, thanks a lot! -- Bastien

Re: [O] using first heading as h1 in batch export to html

2012-01-24 Thread Bastien
Hi Detlef, Detlef Steuer detlef.ste...@gmx.de writes: -- test.org * heading1 some text to html I get a h1 class=titletest/h1 as result. If I open the file and do C-c @ on the first heading the result contains h1 class=titleheading1/h1 How do I achieve

Re: [O] latex export of #+header: lines

2012-01-24 Thread Bastien
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: I think the problem is not with the latex or odt backends as such but in the export pre-processor. Just to make sure: are you suggesting `org-export-preprocess-string' should normalize comment lines like ^.+#header.*) and move them

Re: [O] using first heading as h1 in batch export to html

2012-01-24 Thread Detlef Steuer
Hi Bastien! Detlef Steuer detlef.ste...@gmx.de writes: -- test.org * heading1 some text to html I get a h1 class=titletest/h1 as result. If I open the file and do C-c @ on the first heading the result contains h1 class=titleheading1/h1

Re: [O] Org-edit-special and C-x C-s strange behavior

2012-01-24 Thread Bastien
Hi Leo, Leo Alekseyev dnqu...@gmail.com writes: Folks, I still think that the fact that buffer-file-name is not nil is a bug and should be fixed. So do I. I think this is fixed now -- thanks! -- Bastien

Re: [O] [Bug] Auto-fill and *bold-face* at line-begin

2012-01-24 Thread Bastien
Hi Maximilian, Maximilian Matthe maxi.mat...@googlemail.com writes: Filling paragraphs where the first word is *bold-face* fills the following lines beginning in the 2nd column. See attached file for details. Regards, Max * A *this is a test* where the line begins with a bold-face-star.

[O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Martyn Jago
Patch to fix `org-babel-result-end' command to provide consistent result removal where result is type `wrap'. Prior to this fix multiple (org-ctrl-c-ctrl-c) commands will add multiple newlines to the end of results (one newline per block execution). This patch also fixes the test

Re: [O] LOGBOOK opening

2012-01-24 Thread Bastien
Hi François, The default behavior of SPC in the agenda view stays the same, but you can now also use `C-u SPC' to avoid unfolding of logbooks and drawers. HTH, -- Bastien

[O] [Accepted] [O, 1/3] Document max number of stars in headings in docstring of org-inlinetask-minlevel

2012-01-24 Thread Bastien Guerry
Patch 1124 (http://patchwork.newartisans.com/patch/1124/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C20120122131516.GC21012%40shi.workgroup%3E Here is the original message containing the patch: Content-Type: text/plain;

[O] [Accepted] [O, 2/3] Document max number of stars in headings in manual

2012-01-24 Thread Bastien Guerry
Patch 1123 (http://patchwork.newartisans.com/patch/1123/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C20120122131506.GB21012%40shi.workgroup%3E Here is the original message containing the patch: Content-Type: text/plain;

[O] [Accepted] [O, 3/3] Document max number of stars in clocking section

2012-01-24 Thread Bastien Guerry
Patch 1125 (http://patchwork.newartisans.com/patch/1125/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C20120122133050.GD21012%40shi.workgroup%3E Here is the original message containing the patch: Content-Type: text/plain;

Re: [O] Problem at capture time

2012-01-24 Thread Bastien
Hi David, David Maus dm...@ictsoc.de writes: Sorry for my silence, haven't looked into the Orgmode mailing list for a while. I just pushed a fix for this problem: If the :exact-position for a list item is supplied we don't search for the position in an existing list at all but insert the

Re: [O] [BUG][PATCH] document number of stars limitation with respect to org-clock-sum

2012-01-24 Thread Bastien
Hi Gregor, Gregor Zattler telegr...@gmx.net writes: Since I don't know if the hardcoded lmax value `30' serves other purposes too I don't change it but document the fact in org-inlinetask.el and the manual. Applied, thanks. -- Bastien

Re: [O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Martyn Jago
[...] Oops - patch provided at start of this thread is malformed and should be ignored. The correct patch is provided below for consideration. Apologies for the noise. Best, Martyn Martyn Jago martyn.j...@btinternet.com writes: Patch to fix `org-babel-result-end' command to provide

Re: [O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Eric Schulte
Martyn Jago martyn.j...@btinternet.com writes: Patch to fix `org-babel-result-end' command to provide consistent result removal where result is type `wrap'. Prior to this fix multiple (org-ctrl-c-ctrl-c) commands will add multiple newlines to the end of results (one newline per block

Re: [O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Eric Schulte
Applied, Thanks, Martyn Jago martyn.j...@btinternet.com writes: [...] Oops - patch provided at start of this thread is malformed and should be ignored. The correct patch is provided below for consideration. Apologies for the noise. Best, Martyn Martyn Jago

Re: [O] Question about Sorting All Day Events in Agenda View

2012-01-24 Thread Eric S Fraga
Tatsuhito Koya tkoy...@gmail.com writes: Hello, I use Org-Mode with Calendar/Diary integration turned on. This works well for me, but the only issue I have is that in the agenda view, all day events such as holidays and anniversaries are displayed at the bottom. I have many tasks, so

Re: [O] Problem at capture time

2012-01-24 Thread François Pinard
Bastien b...@altern.org writes: David Maus dm...@ictsoc.de writes: I just pushed a fix for this problem Thanks a lot for the fix. After removing my patch and installing the official code here, things continue to work nicely for the few tests I did. Let me thank you as well! François

[O] [mobileorg/org] Problem when pulling data

2012-01-24 Thread Marcelo de Moraes Serpa
Hey guys, I have encryption ON both on mobileorg and orgmode. I wasn't sure what was the point of encryption on mobileorg and I'm fine deactivating it if the problem persists, but I'd like to know if anyone knows why the following happens during the process of (org-mobile-pull):

Re: [O] LOGBOOK opening

2012-01-24 Thread François Pinard
Bastien b...@altern.org writes: The default behavior of SPC in the agenda view stays the same, but you can now also use `C-u SPC' to avoid unfolding of logbooks and drawers. That's good news! HTH, Yes, it will indeed help! I felt the need many times this morning, so this correction is

[O] Wrapping of e-mail address in table when exporting to pdf through latex

2012-01-24 Thread Johnny
Hi, I have some e-mail addresses in a table that I want to export to pdf thorugh latex. However, the e-mail addresses do not wrap nicely (not at all) in the table, is there any way to make the latex export from org enable wrapping? Example: #+ATTR_LaTeX: align=llp{2cm} | ITEM|

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

2012-01-24 Thread Peter Danenberg
Thanks, Bastien! Just found the Preferred way of submitting patches document. Quoth Bastien on Prickle-Prickle, the 24th of Chaos: Hi Peter, Peter Danenberg p...@roxygen.org writes: It's been irritating me that after saving an edit buffer, the undo history disappears; the attached patch

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

2012-01-24 Thread Nicolas Goaziou
Hello, Eric Schulte eric.schu...@gmx.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Changing the default drawer export behavior from don't export to do export would be surprising Probably at first, but not for too long. would break many existing work flows Not at all, since it's

[O] problem with orgstruct/outline-minor-mode with indented headlines

2012-01-24 Thread David Rogoff
Hi all. I'm still trying to get orgstruct to work right. One thing I found is that I was getting confused with outline-magic which set up outline-minor-mode-map but not orgstruct-mode-map. I'm working inside verilog-mode, which uses the same // comment as c. So I defined outline-regexp:

[O] Custom agenda skips next todos if deadlined/scheduled (by default)

2012-01-24 Thread John Hendy
I have a simple block agenda view that I use with a script and conky to display as on my background. It's like so: -- (setq org-agenda-custom-commands '((e Export ((agenda ((org-agenda-ndays 7))) (todo next ((org-agenda-overriding-header Next

Re: [O] LOGBOOK opening

2012-01-24 Thread Bernt Hansen
pin...@iro.umontreal.ca (François Pinard) writes: Bastien b...@altern.org writes: The default behavior of SPC in the agenda view stays the same, but you can now also use `C-u SPC' to avoid unfolding of logbooks and drawers. snip P.S. While I'm happy, I think that for the consistency and

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

2012-01-24 Thread Leo Alekseyev
If /inline blocks/ above don't replace their results above then that is expected.  If you can find instances where call lines or blocks don't replace their results then that is a bug. Yes, I was finding that neither inline nor regular blocks replace: run the following with C-c C-v b a few

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

2012-01-24 Thread Nick Dokos
Bernt Hansen be...@norang.ca wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Bernt Hansen be...@norang.ca writes: I tried :results wrap but that didn't work for me. If I add RESULTS to my list of drawers then I can hide the block with TAB but I can't export my diagrams

[O] How do I create a drawer?

2012-01-24 Thread Nick Dokos
The only way I found so far to create a drawer is to actually type the damn thing in (I'm talking about my own drawers, not the special drawers that org knows something about). I didn't find any utility functions to insert drawers (except for :PROPERTIES:), and somewhat to my surprise, completion

[O] org-insert-timestamp issue

2012-01-24 Thread Marcelo de Moraes Serpa
Hi guys, I have bound org-insert-timestamp to C-c C-y, like so: (global-set-key (kbd C-c C-y) (lambda() (interactive) (org-insert-time-stamp nil t nil nil nil nil))) However, once in an org-mode buffer, when I press C-c C-y, I get the following in the mini-buffer: if: Not at a time-stamp

[O] elisp: link type isn't working

2012-01-24 Thread Alan E. Davis
I've been using an elisp function to open an encrypted file. I borrowed this setup from, I think, Sacha Chua's blog. It's worked unfailingly for at least a couple of years, until tonight. I keep some sensitive information in a file, junk.org. when encrypted using bcrypt, the file is renamed

[O] overruling subscripts in latex export

2012-01-24 Thread Peter Rayner
I'm documenting some code including lists of parameters. These have underscores in them which I don't want to interpret as subscripts. According to the manual I can overrule this behaviour with an option but it looks like I'm doing something wrong. Here is the test file #+OPTIONS: ^:{} #+TITLE:

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@gmail.com wrote: --485b393aac6dde430a04b7500c79 Content-Type: text/plain; charset=ISO-8859-1 Hi guys, I have bound org-insert-timestamp to C-c C-y, like so: (global-set-key (kbd C-c C-y) (lambda() (interactive) (org-insert-time-stamp nil t nil nil nil

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Marcelo de Moraes Serpa
Hi Nick, thank you very much! Why does org rebinds C-c C-y to that function? Is that a default binding for org? Marcelo. On Tue, Jan 24, 2012 at 7:46 PM, Nick Dokos nicholas.do...@hp.com wrote: Marcelo de Moraes Serpa celose...@gmail.com wrote: --485b393aac6dde430a04b7500c79

[O] typo in org.texi

2012-01-24 Thread Takaaki ISHIKAWA
Hi. Bastien, Japanese translation team of the manual found a small typo in org.texi. Please check the attached patch. Best regards, Takaaki Ishikawa @@ -15246,7 +15246,7 @@ not accept any arguments, and return the full link with prefix. @vindex org-ctrl-c-ctrl-c-hook Org has several

Re: [O] Question about Sorting All Day Events in Agenda View

2012-01-24 Thread Tatsuhito Koya
Thank you. I will take a look at this. Eric S Fraga wrote, On 01/24/2012 11:22 AM: Tatsuhito Koya tkoy...@gmail.com writes: Hello, I use Org-Mode with Calendar/Diary integration turned on. This works well for me, but the only issue I have is that in the agenda view, all day events such as

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@gmail.com wrote: Why does org rebinds C-c C-y to that function? Is that a default binding for org? Yes - see line 17340 in org.el.

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

2012-01-24 Thread Bernt Hansen
Nick Dokos nicholas.do...@hp.com writes: Bernt Hansen be...@norang.ca wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Bernt Hansen be...@norang.ca writes: I tried :results wrap but that didn't work for me. If I add RESULTS to my list of drawers then I can hide the

Re: [O] overruling subscripts in latex export

2012-01-24 Thread Nick Dokos
Peter Rayner pray...@unimelb.edu.au wrote: I'm documenting some code including lists of parameters. These have underscores in them which I don't want to interpret as subscripts. According to the manual I can overrule this behaviour with an option but it looks like I'm doing something wrong.

Re: [O] elisp: link type isn't working

2012-01-24 Thread Nick Dokos
Alan E. Davis lngn...@gmail.com wrote: --f46d0442829ce6a93e04b750a2ca Content-Type: text/plain; charset=ISO-8859-1 I've been using an elisp function to open an encrypted file. I borrowed this setup from, I think, Sacha Chua's blog. It's worked unfailingly for at least a couple of years,

Re: [O] overruling subscripts in latex export

2012-01-24 Thread Peter Rayner
Yes, the problem was, indeed, that I had forgotten I needed to activate the option with C-c C-c. Many thanks Peter -- Peter Rayner room 343 School of Earth Sciences, University of Melbourne, 3010, Vic, Australia tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 mobile +61 402 752 379,

Re: [O] elisp: link type isn't working

2012-01-24 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Alan E. Davis lngn...@gmail.com wrote: [[elisp:(open-encrypted-file ~/WB/org/junk.org.bfe)][PassWord]] Anymore, as of today, when I try to run this link, the following is received: Symbol's function definition is void: org-in-clocktable-p

[O] Indenting source code blocks in lists

2012-01-24 Thread Jarmo Hurri
Greetings. I am a big fan of org mode, but occasionally I feel that it is quite difficult to figure out how to do a relatively simple task. So sorry for this newbie question. The manual clearly states the following: Since indentation is what governs the structure of these lists, many

Re: [O] LOGBOOK opening

2012-01-24 Thread Bastien
Hi Bernt, Bernt Hansen be...@norang.ca writes: If you're going to make this change then maybe provide a new variable so the prefix behaviour can be selected. SPC in the agenda (without a prefix) is the only way I know of to quickly see the reason why a WAITING task is waiting and having to

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: Why does org rebinds C-c C-y to that function? Is that a default binding for org? Yes. But `C-c y' is free. HTH, -- Bastien

Re: [O] typo in org.texi

2012-01-24 Thread Bastien
Hi Takaaki, Takaaki ISHIKAWA tak...@ieee.org writes: Japanese translation team of the manual found a small typo in org.texi. Please check the attached patch. Fixed, thanks. And hello to the team! Best, -- Bastien

Re: [O] Indenting source code blocks in lists

2012-01-24 Thread Bastien
Hi Jarmo, Jarmo Hurri jarmo.hu...@syk.fi writes: But let us assume that I already have a source block, and it is not indented correctly; what is the easy way to indent this block in a list? (I can always keep pressing spacebar, but it does not feel very intelligent.) I select the region,