[O] Programmatically add birthdays/holidays to the Agenda View.

2015-04-24 Thread Keith David Bershatsky
The following is a full working draft to programmatically add birthdays/holidays to the Agenda View without making entries in the diary or org files. It is modeled after what `calendar-mode` presently offers. I have posted the code on the Emacs beta stackexchange. Please feel free to modify /

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Vikas Rawal
> On 25-Apr-2015, at 6:22 am, John Kitchin wrote: > > Inspired by this conversation, I hacked up this functional comment link: > > http://kitchingroup.cheme.cmu.edu/blog/2015/04/24/Commenting-in-org-files/ > > > It h

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Eric Abrahamsen
John Kitchin writes: > Inspired by this conversation, I hacked up this functional comment > link: > > http://kitchingroup.cheme.cmu.edu/blog/2015/04/24/Commenting-in-org-files/ > > > It has a custom link type that exports in html and latex, and when you > click on it, it asks if you want to delet

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread John Kitchin
Inspired by this conversation, I hacked up this functional comment link: http://kitchingroup.cheme.cmu.edu/blog/2015/04/24/Commenting-in-org-files/ It has a custom link type that exports in html and latex, and when you click on it, it asks if you want to delete the comment. John ---

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Vikas Rawal
> > [...] > >> Why use footnotes when you can use todonotes? > > Good question! > > It's personal preference: I prefer footnotes as I am often using narrow > margins and anything more than a boxed footnote number is too > much... However, it is trivial to change the export template to use > to

Re: [O] Display Agenda in Reverse Order

2015-04-24 Thread Subhan Michael Tindall
Take a look at org-agenda-sorting-strategy It should help you out. Note though that the timestamp sorting does not work on all agenda types, it's a known bug. > -Original Message- > From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org > [mailto:emacs-orgmode-bounces+subhant=f

[O] Display Agenda in Reverse Order

2015-04-24 Thread Kenneth Jacker
Looked around some, but could find nothing that helped ... So I ask the list! When I display my "agenda", the oldest (scheduled) items are earlier in the buffer, and the newest (today) are at the very end. Is there a simple way to reverse that "schedule order"? Ideally, my "timed" appointments (

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Rasmus
Hi, Nicolas Goaziou writes: >>> * h1 >>> foo[fn:1] >>> >>> * Footnotes >>> [fn:1] if \alpha $\beta$ \(\gamma\) >>> >>> Narrow it to h1 and export the buffer. Something like this is exported: >> >> This also does not seem to work correctly when exporting with ox-html. >> But there the problem is

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> Consider the following example: >> >> * h1 >> foo[fn:1] >> >> * Footnotes >> [fn:1] if \alpha $\beta$ \(\gamma\) >> >> Narrow it to h1 and export the buffer. Something like this is exported: >> >>foo\footnote{if \alpha \beta \gamma} >

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-24 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> Narrow to h1 in the following example and run org-footnote-action on the >> footnote-reference. Expected behavior is IMO to go to the definition. >> This does not happen. > > I disagree. Interactive commands are not expected to break curr

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-24 Thread Nicolas Goaziou
Hello, Rasmus writes: > Narrow to h1 in the following example and run org-footnote-action on the > footnote-reference. Expected behavior is IMO to go to the definition. > This does not happen. I disagree. Interactive commands are not expected to break current narrowing (try, e.g., C-c C-n). W

Re: [O] [PATCH] org.el: Remove org-timer-cancel-timer binding

2015-04-24 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > This patch deletes the binding for org-timer-cancel-timer binding, which > I should have removed when I merged the two timer APIs (commit > 173b0cb6d6d). Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Target and link text normalised to `orgtargetn'

2015-04-24 Thread Nicolas Goaziou
Rasmus writes: > Here's an updated patch. Thank you. Some comments follow. > +(defconst org-latex-math-environments-re > + (concat (regexp-opt > +'("equation" "eqnarray" "math" "displaymath" > + "align" "gather" "multline" "flalign" "alignat" > + "xalignat" "xxalign

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Nicolas Goaziou
Hello, Rasmus writes: > Rasmus writes: > >> * h1 >> foo[fn:1] >> >> * Footnotes >> [fn:1] if \alpha $\beta$ \(\gamma\) >> >> Narrow it to h1 and export the buffer. Something like this is exported: > > This also does not seem to work correctly when exporting with ox-html. > But there the proble

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Nicolas Goaziou
Hello, Rasmus writes: > Rasmus writes: > >> Rasmus writes: >> >>> * h1 >>> foo[fn:1] >>> >>> * Footnotes >>> [fn:1] if \alpha $\beta$ \(\gamma\) >>> >>> Narrow it to h1 and export the buffer. Something like this is exported: [...] > Add to this that the class of p is missing when including

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Nicolas Goaziou
Hello, Rasmus writes: > Consider the following example: > > * h1 > foo[fn:1] > > * Footnotes > [fn:1] if \alpha $\beta$ \(\gamma\) > > Narrow it to h1 and export the buffer. Something like this is exported: > >foo\footnote{if \alpha \beta \gamma} > > Somehow org-export-get-footnote-definiti

Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between exports

2015-04-24 Thread Charles C. Berry
On Fri, 24 Apr 2015, Rob Stewart wrote: Hi Loris, Caching with ditaa works for me with Emacs 24.4.1 and Org 8.2.10-37-gc000e8-elpaplus. What versions of Org/Emacs are you using? Org-mode version 8.3beta release_8.3beta-1028-g0865cb GNU Emacs 24.4.1 Use org-babel-execute-src-block or org-b

Re: [O] Visibility cycling at end of headline

2015-04-24 Thread Charles C. Berry
On Fri, 24 Apr 2015, Eric S Fraga wrote: On Thursday, 23 Apr 2015 at 21:59, Nikolaus Rath wrote: [...] Well, obviously I meant a way to *automatically* have Tab work at the end of the line I also would really like tab to work at the end of a headline with hidden text as it would anywhere el

[O] [PATCH] org.el: Remove org-timer-cancel-timer binding

2015-04-24 Thread Kyle Meyer
This patch deletes the binding for org-timer-cancel-timer binding, which I should have removed when I merged the two timer APIs (commit 173b0cb6d6d). >From bb87c7369dc21cc0e0884171c0672af3b59fa463 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 24 Apr 2015 12:53:43 -0400 Subject: [PATCH] org

Re: [O] [PATCH] org-timer.el: Use hh:mm:ss format instead of minutes

2015-04-24 Thread Kyle Meyer
Brice Waegenire wrote: > Hello, > > I've hacked a patch that use hh:mm:ss format instead of minutes for > org-timer-set-timer. I'm really not sure I did it in the right way, > any sugestions are welcome. [...] Thanks. I think it's nice to be able to specify seconds, but now you have to type 'N:0

[O] [bug, org] footnote-action broken with narrowed buffer

2015-04-24 Thread Rasmus
Hi, Narrow to h1 in the following example and run org-footnote-action on the footnote-reference. Expected behavior is IMO to go to the definition. This does not happen. Ideally, it should be possible to get back to the narrowed stage again, but I'm not sure how this would work. Perhaps hooking

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Rasmus
Rasmus writes: > Rasmus writes: > >> * h1 >> foo[fn:1] >> >> * Footnotes >> [fn:1] if \alpha $\beta$ \(\gamma\) >> >> Narrow it to h1 and export the buffer. Something like this is exported: > > This also does not seem to work correctly when exporting with ox-html. > But there the problem is tha

Re: [O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Rasmus
Rasmus writes: > * h1 > foo[fn:1] > > * Footnotes > [fn:1] if \alpha $\beta$ \(\gamma\) > > Narrow it to h1 and export the buffer. Something like this is exported: This also does not seem to work correctly when exporting with ox-html. But there the problem is that the parse-tree does not recogn

[O] [bug, ox-latex] footnotes with math in narrowed buffer

2015-04-24 Thread Rasmus
Hi, Consider the following example: * h1 foo[fn:1] * Footnotes [fn:1] if \alpha $\beta$ \(\gamma\) Narrow it to h1 and export the buffer. Something like this is exported: foo\footnote{if \alpha \beta \gamma} Somehow org-export-get-footnote-definition "knows about" math-blocks for footnote

Re: [O] Target and link text normalised to `orgtargetn'

2015-04-24 Thread Rasmus
Nicolas Goaziou writes: >> Yeah, I though of that, but that require us to maintain a list of latex >> math environments, which may or may not be annoying. > > Well, if an environment is not recognized as a math one, it still gets > a label. So, that's not a big deal to miss some of them. > >> If

Re: [O] ARCHIVE'd trees look like empty headlines

2015-04-24 Thread Sebastien Vauban
Nicolas Goaziou wrote: > Sebastien Vauban writes: > >> When exporting to HTML a file such as: > > [...] > >> * Item 2 >> >> Consequat. Duis aute irure dolor in reprehenderit in voluptate velit >> esse. >> >> ** Subitem 2.1 :ARCHIVE: >> >> Cillum dolor

Re: [O] ARCHIVE'd trees look like empty headlines

2015-04-24 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > When exporting to HTML a file such as: > [...] > * Item 2 > > Consequat. Duis aute irure dolor in reprehenderit in voluptate velit > esse. > > ** Subitem 2.1 :ARCHIVE: > > Cillum dolore eu fugiat nulla pariatur

[O] [PATCH] org-timer.el: Use hh:mm:ss format instead of minutes

2015-04-24 Thread Brice Waegenire
Hello, I've hacked a patch that use hh:mm:ss format instead of minutes for org-timer-set-timer. I'm really not sure I did it in the right way, any sugestions are welcome. Both tests test-org-timer/set-timer andtest-org-timer/pause-timer where adapted to the new format. Brice. From 18bf5a0c3e2a11

Re: [O] [bug] Leading spaces aren't preserved in a `verse' special block

2015-04-24 Thread Sebastien Vauban
Rasmus wrote: > Sebastien Vauban writes: > >> The HTML rendering is not correct, IMHO. But, indeed, the spaces are >> well in the HTML generated by Org, but then eaten by the browser... >> >> Not sure what's the solution if one wants the spaces preserved in the >> displayed page... > > On my syste

Re: [O] [bug] Leading spaces aren't preserved in a `verse' special block

2015-04-24 Thread Rasmus
Sebastien Vauban writes: > The HTML rendering is not correct, IMHO. But, indeed, the spaces are > well in the HTML generated by Org, but then eaten by the browser... > > Not sure what's the solution if one wants the spaces preserved in the > displayed page... On my system the spaces are display

Re: [O] [bug] Leading spaces aren't preserved in a `verse' special block

2015-04-24 Thread Sebastien Vauban
Nicolas Goaziou wrote: > Sebastien Vauban writes: > >> ECM: >> >> #+begin_verse >> In a verse, >>indentation should be >> preserved. >> #+end_verse > > I cannot reproduce it. The HTML rendering is not correct, IMHO. But, indeed, the spaces are well in the HTML generated by Org, but then eaten

Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between exports

2015-04-24 Thread Rob Stewart
Hi Loris, > Caching with ditaa works for me with Emacs 24.4.1 and Org > 8.2.10-37-gc000e8-elpaplus. > > What versions of Org/Emacs are you using? Org-mode version 8.3beta release_8.3beta-1028-g0865cb GNU Emacs 24.4.1 -- Rob

Re: [O] [bug] Leading spaces aren't preserved in a `verse' special block

2015-04-24 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > ECM: > > * Verse > > #+begin_verse >>> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. >> >> Tempor incididunt ut labore? >> Et dolore magna aliqua? > > In a verse, >indentation should be > preserved. > #+end_verse I cannot repro

[O] [bug] Leading spaces aren't preserved in a `verse' special block

2015-04-24 Thread Sebastien Vauban
Hello, As you can see on http://screencast.com/t/A7yegfql7awg, leading spaces aren't preserved in the HTML export of a verse environment. ECM: --8<---cut here---start->8--- * Verse #+begin_verse >> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed

Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between exports

2015-04-24 Thread Loris Bennett
Hi Rob, Rob Stewart writes: > Hi Loris, > > On 24 April 2015 at 06:48, Loris Bennett wrote: > >> I think you want to look at caching: >> >> http://orgmode.org/manual/cache.html > > Thanks for the tip. Interestingly, caching doesn't seem to work for > ditaa blocks. E.g. > > #+BEGIN_SRC ditaa :fi

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Eric S Fraga
On Friday, 24 Apr 2015 at 09:58, Marcin Borkowski wrote: [...] > Why use footnotes when you can use todonotes? Good question! It's personal preference: I prefer footnotes as I am often using narrow margins and anything more than a boxed footnote number is too much... However, it is trivial to

Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between exports

2015-04-24 Thread Rob Stewart
Hi Loris, On 24 April 2015 at 06:48, Loris Bennett wrote: > I think you want to look at caching: > > http://orgmode.org/manual/cache.html Thanks for the tip. Interestingly, caching doesn't seem to work for ditaa blocks. E.g. --8<---cut here---start->8--- #+B

[O] ARCHIVE'd trees look like empty headlines

2015-04-24 Thread Sebastien Vauban
Hello, When exporting to HTML a file such as: --8<---cut here---start->8--- * Item 1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. ** Subitem 1.1 Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. ** Sub

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Marcin Borkowski
On 2015-04-24, at 09:40, Eric S Fraga wrote: > On Friday, 24 Apr 2015 at 11:49, Vikas Rawal wrote: >> I am revising a long book manuscript, and would like to mark parts of >> text (not just the headlines) just to remind myself that these need to >> be dealt with. >> >> What could be an the easy

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Marcin Borkowski
On 2015-04-24, at 08:42, Thomas S. Dye wrote: > Vikas Rawal writes: > >> I am revising a long book manuscript, and would like to mark parts of >> text (not just the headlines) just to remind myself that these need to >> be dealt with. >> >> What could be an the easy way of doing it? > > Bookmar

Re: [O] [release_8.3beta-1062-gce4e64] Error when exporting to ODT

2015-04-24 Thread Rasmus
Vicente Vera writes: > The patch works. Thank you. Pushed. -- What will be next?

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Eric S Fraga
On Friday, 24 Apr 2015 at 11:49, Vikas Rawal wrote: > I am revising a long book manuscript, and would like to mark parts of > text (not just the headlines) just to remind myself that these need to > be dealt with. > > What could be an the easy way of doing it? I use inline tasks for this. If you

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Fabrice Niessen
Vikas Rawal wrote: > I am revising a long book manuscript, and would like to mark parts of > text (not just the headlines) just to remind myself that these need to > be dealt with. > > What could be an the easy way of doing it? Inserting `XXX' which are automatically highlighted in red? See "High

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Glyn Millington
Vikas Rawal writes: > I am revising a long book manuscript, and would like to mark parts of > text (not just the headlines) just to remind myself that these need to > be dealt with. > > What could be an the easy way of doing it? Just insert something like '' [1]at each place. The usual Emac

Re: [O] Visibility cycling at end of headline

2015-04-24 Thread Eric S Fraga
On Thursday, 23 Apr 2015 at 21:59, Nikolaus Rath wrote: [...] > Well, obviously I meant a way to *automatically* have Tab work at the > end of the line I also would really like tab to work at the end of a headline with hidden text as it would anywhere else on the line. I see no benefit from org

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Vikas Rawal writes: > >> I am revising a long book manuscript, and would like to mark parts of text >> (not just the headlines) just to remind myself that these need to be dealt >> with. >> >> What could be an the easy way of doing it? > > I use footnotes for this sor

Re: [O] Marking/highlighting text temporarily

2015-04-24 Thread Eric Abrahamsen
Vikas Rawal writes: > I am revising a long book manuscript, and would like to mark parts of text > (not just the headlines) just to remind myself that these need to be dealt > with. > > What could be an the easy way of doing it? I use footnotes for this sort of thing, but don't find it very id