Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > ,[ C-h f yes-or-no-p RET ] > | yes-or-no-p is an alias for `y-or-n-p'. > | > | (yes-or-no-p PROMPT) > | > | Ask user a "y or n" question. > ` => nil The interpreter produces _normalized_ syntax. It ignores indentation, capitalization on keywords and,

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Hello, > > Thorsten Jolitz writes: > >> ,[ C-h f yes-or-no-p RET ] >> | yes-or-no-p is an alias for `y-or-n-p'. >> | >> | (yes-or-no-p PROMPT) >> | >> | Ask user a "y or n" question. >> ` > > => nil > > The interpreter produces _normalized_ syntax. It ignores

[O] Example or tutorial for org-invoice.el?

2014-10-20 Thread Thorsten Jolitz
Hi List, I cannot find a good example file for org-invoice, does it exist somewhere? And does anybody have a workflow (and maybe src-code) that uses org-invoice report data and a (customized) latex-class to semi-automatically create good looking invoices from Org files? I would be interested.

Re: [O] [PATCH] Fix typo in org.texi

2014-10-20 Thread Bastien
Hi Rafael, Rafael Laboissiere writes: > The patch below fixes (what i think) is a minor typo in the info > documentation. Applied, thanks, -- Bastien

Re: [O] Link to named block

2014-10-20 Thread Bastien
Hi Greg, Daimrod writes: > I've made a small function to link to a named block in org files. > > #+BEGIN_SRC emacs-lisp > (defun dmd--org-link-to-named-block () > "Create an org-link to the named block at point. > > Blocks are named with #+NAME." > (when (eq major-mode 'org-mode) > (let*

Re: [O] Exponents / subscripts

2014-10-20 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Given that it is only a matter of presentation, does that mean it could be > changed ? > If yes, I can try to give it a shot. If you mean that a^bc should be equivalent to a^{b}c, then I think it is superior in its current state. Regards, -- Nicolas Goaziou

[O] After org-agenda-tag-filter-preset, (search ".") seems to break.

2014-10-20 Thread Brady Trainor
For a global search, the result of custom command `g' seems to work, while the custom command `f' fails. I am guessing this has to do with `search' block is not tied in strongly to the greater set of custom command tools, but wanted to bring it to your attention in case it was found to be unwanted

Re: [O] Append a second agenda view then refresh; this kills first agenda view.

2014-10-20 Thread Bastien
Hi Brady, Brady Trainor writes: > If I append (A) a second agenda-view to a first, then refresh for > clocking (g), the first agenda-view vanishes and I am left with the > second. I confirm the bug -- but a difficult one to fix for now. I've added it to my TODO list. Thanks, -- Bastien

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Nick Dokos
Thorsten Jolitz writes: > Your interpretation of 'obvious' seems (obviously?) be a bit overly > optimistic sometimes. Probably apocryphal but ... http://mystatpage.wordpress.com/tag/g-h-hardy/ -- Nick

Re: [O] Small bug? Strange behaviour of

2014-10-20 Thread Bastien
Hi Igor, Igor Sosa Mayor writes: > I have the following template for capture > > ("tp" "TODO privado" entry (file+headline "~/Documents/org/privat.org" > "General") >"* TODO %?\n SCHEDULED: %t ") > > It works perfectly, except from a small strange behaviour. If I try to > change

Re: [O] After org-agenda-tag-filter-preset, (search ".") seems to break.

2014-10-20 Thread Bastien
Hi Brady, Brady Trainor writes: > For a global search, the result of custom command `g' seems to work, > while the custom command `f' fails. I am guessing this has to do with > `search' block is not tied in strongly to the greater set of custom > command tools, but wanted to bring it to your att

Re: [O] after-todo-statistics hook for checkboxes

2014-10-20 Thread Bastien
Hi James and Nicolas, Nicolas Goaziou writes: > I have no objection to this. FWIW, same here. > Thanks for working on it. +1! -- Bastien

Re: [O] How to change a link?

2014-10-20 Thread Nicolas Goaziou
Marcin Borkowski writes: > OK, it works, but: if the link description is empty, after this change > it's still empty, so that it becomes the result of concatenation. I'd > like the link description to stay the same, no matter whether it's empty > or not. How do I set the /contents/ of a link ob

Re: [O] How to change a link?

2014-10-20 Thread Nicolas Goaziou
Nicolas Goaziou writes: > (org-with-wide-buffer > (dolist (link (nreverse > (org-element-map (org-element-parse-buffer) 'link > (lambda (l) > (member (org-element-property :type l) > '("cust

Re: [O] in-agenda item formatting

2014-10-20 Thread Bastien
Hi Torys, torys.ander...@gmail.com (Tory S. Anderson) writes: > I notice that the agenda doesn't support markup the way standard org > files do; I can't use +strikeout+ to mark appointments I've missed, or > *bold* to emphasize things. Is there an option to turn this on, or a > simple patch to en

Re: [O] [Feature Request] HEADLINE special property

2014-10-20 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: > >> I think "ITEM" is expected return the headline without all the meta >> data. If no one objects, I'll change it so in master. > > Yes, thanks for this, Here is the current state: ITEM property includes stars, TODO keyword, priority, headlin

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Thorsten Jolitz
Nick Dokos writes: > Thorsten Jolitz writes: > >> Your interpretation of 'obvious' seems (obviously?) be a bit overly >> optimistic sometimes. > > Probably apocryphal but ... > > http://mystatpage.wordpress.com/tag/g-h-hardy/ Nice. Whats really obvious is that spelling errors in Mail Subjects

Re: [O] *Clock Task Select* - feature request

2014-10-20 Thread Bastien
Hi Marcin, Marcin Borkowski writes: > I'd love it if *Clock Task Select* were buried (or better, killed) after > use. (Is there ever a scenario when someone might want it not to be > killed?) It seems that this should do: > > > *** /home/marcin/

Re: [O] Internal links not working?

2014-10-20 Thread Bastien
Hi Marcin, Marcin Borkowski writes: > Funny thing - I /never/ turned this module on! The only thing connected > with tag tables in Emacs I do is I sometimes accidentally hit M-. or > something like that. Can you check that M-. (or some other command) is not adding those functions in the hook b

Re: [O] electric-indent-mode in Emacs 25 not indenting in Org

2014-10-20 Thread Bastien
Hi William, William Denton writes: > But when I run Emacs 25 with emacs -Q, check to make sure > electric-indent-mode is enabled and see that it is because that's the > default, open foo.org, and type > > * Heading > > then when I hit return the cursor ends up under the *! What happens if you r

Re: [O] [PATCH] contrib/lisp/org-velocity: Fix failure for big window

2014-10-20 Thread Bastien
Hi Marco, Marco Wahl writes: > I found a bug which might not have occurred in the past since the > monitors were smaller. The bug shows up when the number of lines of the > match window exceeds the number of available indexes (which is 61). I > think the patch (which is just a switch from 'gre

Re: [O] [PATCH] org.el: Use normalized names in org-agenda-file-p

2014-10-20 Thread Bastien
Hi Yann, Yann Hodique writes: > attached is a patch that fixes a bug where `org-agenda-file-p' doesn't > recognize files when, for example, `org-agenda-files' contains entries > that involve symlinks. Applied, thanks, -- Bastien

Re: [O] Table of contents for just one section?

2014-10-20 Thread Nicolas Goaziou
Hello, "D. C. Toedt" writes: > I'd like to do sub-TOCs for individual sections and subsections. We could add a "local" keyword to TOC lines, e.g., #+TOC: headlines 1 local would mean only top level children in current headline. This feature is trivial to add to ox-ascii, probably easy for

Re: [O] *Clock Task Select* - feature request

2014-10-20 Thread Marcin Borkowski
On 2014-10-20, at 15:28, Bastien wrote: > Hi Marcin, > > Good idea, I pushed this change. I don't think the second kill-buffer > is necessary, as this buffer is already temporary. Let me know if I'm > wrong. > > Thanks, Thanks a lot - that was quite annoying for me! Best, -- Marcin Borkowsk

Re: [O] Table of contents for just one section?

2014-10-20 Thread D. C. Toedt
The local keyword would be great. Right now I'm interested only in HTML export -- I can use Pandoc to convert to anything else. Thanks! D. C. (Dell Charles) Toedt III *(my** last name is pronounced "Tate") * Attorney and neutral arbitrator -- tech contracts and intellectual property Lecturer,

Re: [O] electric-indent-mode in Emacs 25 not indenting in Org

2014-10-20 Thread William Denton
On 20 October 2014, Bastien wrote: But when I run Emacs 25 with emacs -Q, check to make sure electric-indent-mode is enabled and see that it is because that's the default, open foo.org, and type * Heading then when I hit return the cursor ends up under the *! What happens if you run M-x elec

[O] Org-mode Habit with Varying Description

2014-10-20 Thread Daya Atapattu
Is there a way to create a habit that picks-up the description from a list? I like to schedule studying a book: It would be scheduled as "Read pages 100-125." Then the next day it should read "Read pages 126-150." The description of the habit varies; org-mode picks that up sequentially from a l

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Bastien
Hi Daya, Daya Atapattu writes: > Is there a way to create a habit that picks-up the description from a > list? > > I like to schedule studying a book:  It would be scheduled as "Read > pages 100-125."  Then the next day it should read "Read pages > 126-150."  The description of the habit varies;

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Daya Atapattu
Thanks for the response, Bastien. I guess, short of writing some elisp code, I will have to reschedule each evening for next day.I can't schedule in advance, because I miss some days. - Daya On Mon, Oct 20, 2014 at 10:52 AM, Bastien wrote: > Hi Daya, > > Daya Atapattu writes: > > > Is th

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Jorge A. Alfaro-Murillo
Daya Atapattu writes: Is there a way to create a habit that picks-up the description from a list? I like to schedule studying a book: It would be scheduled as "Read pages 100-125." Then the next day it should read "Read pages 126-150." The description of the habit varies; org-mode picks th

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Pete Ley
As Bastien said, this doesn't really fit the idea of a habit, but I think there is a reasonable non-elisp way of tweaking it to fit. Maybe it would help. What if you had something like this: * Read :LOGBOOK: - Note taken on [2014-10-20 Mon 10:33] \\ 151-300 - Note taken on [2014-10-20

Re: [O] Link to named block

2014-10-20 Thread Daimrod
Bastien writes: > Hi Greg, Hi Bastien, > Daimrod writes: > >> I've made a small function to link to a named block in org files. >> >> #+BEGIN_SRC emacs-lisp >> (defun dmd--org-link-to-named-block () >> "Create an org-link to the named block at point. >> >> Blocks are named with #+NAME." >>

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Melleus
Why don't you set your habit as a "read 25 pages" and use a piece of paper or some card as a bookmark to remember where you finished? E-book readers provide the functionality of remembering where you stopped last time as I know. The title of the book is written on the book itself and e-book readers

Re: [O] [PATH] Speedups to org-table-recalculate

2014-10-20 Thread Michael Brand
Hi Nathaniel On Mon, Oct 20, 2014 at 3:56 AM, Nathaniel Flath wrote: > Thanks for the review! Updated patches attached. I believe I've fixed > everything you mentioned - Yes, thank you. I tried them out. > let me know if I missed something. > Subject: [PATCH 1/2] org-table.el: Add early retur

[O] Captions below figures in LaTeX export

2014-10-20 Thread Suvayu Ali
Hi everyone, I am trying to export to LaTeX, and I include images like this: #+name: fig:ads-glw-plot #+caption: \BtoDh events measured using the GLW, and ADS methods. #+attr_latex: :width 0.9\linewidth :placement [!ht] [[file:ali/ADS_GLW_Fig2_Fig4.pdf]] When exported this generates LaTe

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Brady Trainor
Daya Atapattu writes: > Is there a way to create a habit that picks-up the description from a > list? > > I like to schedule studying a book: It would be scheduled as "Read > pages 100-125." Then the next day it should read "Read pages 126-150." > The description of the habit varies; org-mode pic

[O] [PATCH] org.el: Fix bindings of < and > for calendar scrolling

2014-10-20 Thread Marco Wahl
Dear list, Find a fix for the bindings of < and > for calendar scrolling for Emacs 25. The fix is necessary because Emacs 25 dropped some aliases in the calendar lib, in particular those that have been bound to < and >. Since the fix is small and clear (AFAICT) and the tests pass I try to push i

[O] org-lookup formula missing

2014-10-20 Thread Chris Drane
For some reason, the org-lookup formula [1] are not available to me. I don't see anything that I'm supposed to enable to have access to them, and I don't think there's anything in my config that would be blocking them. Does anyone know why this might be? Thanks [1] http://orgmode.org/manual/Looku

Re: [O] Small bug? Strange behaviour of

2014-10-20 Thread Igor Sosa Mayor
Bastien writes: > I can't reproduce this. Where is the cursor when you hit C-c C-s ? > Can you share a reproducible recipe? Hi Bastien, the cursor is here: ** TODO esto es una prueba [CURSOR] SCHEDULED: <2014-10-20 lun> I hit C-c C-s and the calendar has the cursor on 2014-10-19. The capt

Re: [O] Captions below figures in LaTeX export

2014-10-20 Thread Suvayu Ali
Hi John, On Mon, Oct 20, 2014 at 04:04:55PM -0500, John Hendy wrote: > > On Mon, Oct 20, 2014 at 2:44 PM, Suvayu Ali > wrote: > > Hi everyone, > > > > I am trying to export to LaTeX, and I include images like this: > > > > #+name: fig:ads-glw-plot > > #+caption: \BtoDh events measured using

Re: [O] Small bug? Strange behaviour of

2014-10-20 Thread Marco Wahl
Hi Igor, > I have: org 8.2.10 on emacs 24.3. > > PS: BTW is there a command to insert org-version and emacs version > in a emails automatically? What about using (signature (concat "Org " (org-version) ", " (emacs-version))) in gnus-posting-styles? Best regards, Marco -- Org 8.2.10, GNU E

Re: [O] [Feature Request] HEADLINE special property

2014-10-20 Thread Brett Witty
Seems like a good solution. Although how about HEADLINE_LEVEL, OUTLINE_LEVEL or some abbreviation to make it more unlikely to clash with user defined properties? BrettW On Tue, Oct 21, 2014 at 12:16 AM, Nicolas Goaziou wrote: > Hello, > > Bastien writes: > > > Nicolas Goaziou writes: > > > >>

Re: [O] Exponents / subscripts

2014-10-20 Thread Rasmus
Hi, Nicolas Goaziou writes: > Fabrice Popineau writes: > >> Given that it is only a matter of presentation, does that mean it could be >> changed ? >> If yes, I can try to give it a shot. > > If you mean that a^bc should be equivalent to a^{b}c, then I think it is > superior in its current stat

Re: [O] \input causes conflict with LaTeX equation preview

2014-10-20 Thread Rasmus
Ken Mankoff writes: > I have > [+] > #+LATEX_HEADER: \input{preamble} > > in an Org file. When I try to preview equations, it does not work > because "\input{preamble}" is exported to the equation preview preamble, > but no file "preamble.tex" is exported. The "preamble.tex" file is not > needed

Re: [O] Small bug? Strange behaviour of

2014-10-20 Thread Igor Sosa Mayor
Marco Wahl writes: > Hi Igor, > What about using > > (signature (concat "Org " (org-version) ", " (emacs-version))) > > in gnus-posting-styles? thanks for your answer. This is a good idea!

Re: [O] [RFC] Change property drawer syntax

2014-10-20 Thread Rasmus
Nicolas Goaziou writes: > As discussed previously, I would like to modify property drawers syntax. I think the syntax change looks great (based on the proposal)! Thanks a bunch! —Rasmus -- Dobbelt-A

Re: [O] org-lookup formula missing

2014-10-20 Thread Rasmus
Hi, Chris Drane writes: > For some reason, the org-lookup formula [1] are not available to me. I > don't see anything that I'm supposed to enable to have access to them, and > I don't think there's anything in my config that would be blocking them. > Does anyone know why this might be? In my Or

Re: [O] Org-mode Habit with Varying Description

2014-10-20 Thread Eric Abrahamsen
Pete Ley writes: > As Bastien said, this doesn't really fit the idea of a habit, but I > think there is a reasonable non-elisp way of tweaking it to fit. Maybe > it would help. > > What if you had something like this: > > * Read > :LOGBOOK: > - Note taken on [2014-10-20 Mon 10:33] \\ > 1

Re: [O] \input causes conflict with LaTeX equation preview

2014-10-20 Thread Ken Mankoff
* On 2014-10-20 at 18:26, Rasmus wrote: > Ken Mankoff writes: > >> I have >> >> #+LATEX_HEADER: \input{preamble} >> >> in an Org file. When I try to preview equations, it does not work >> because "\input{preamble}" is exported to the equation preview >> preamble, but no file "preamble.tex" is exp

Re: [O] \input causes conflict with LaTeX equation preview

2014-10-20 Thread Nicolas Goaziou
Hello, Ken Mankoff writes: > * On 2014-10-20 at 18:26, Rasmus wrote: >> Ken Mankoff writes: >> >>> I have >>> >>> #+LATEX_HEADER: \input{preamble} >>> >>> in an Org file. When I try to preview equations, it does not work >>> because "\input{preamble}" is exported to the equation preview >>> pre