Re: [O] Org campture recursively expands %-escapes

2016-01-03 Thread Nicolas Goaziou
Michael Brand writes: > On Sun, Jan 3, 2016 at 8:51 PM, Nicolas Goaziou > wrote: >> >> Michael Brand writes: >> >> > release_8.3.2-350-gbd3a2cb introduces a regression of "%()" in Org >> > feed templates. See >> >

[O] Bug: org-clock-remove-empty-clock-drawer eats LOGBOOK drawer before todo state gets logged [8.3.2 (8.3.2-52-g6d0af5-elpaplus @ /Users/Olli/.emacs.d/elpa/org-20151228/)]

2016-01-03 Thread Olli P
Steps to reproduce: Launching Emacs with -Q, calling `M-x package-initialize` and then `M-x org-mode`, and evaluating the following settings: (setq org-clock-into-drawer t) (setq org-log-into-drawer t) (setq org-clock-into-drawer t) (setq org-log-done 'time) (setq org-clock-out-when-done t)

Re: [O] [0] Run org-babel src block periodically

2016-01-03 Thread John Kitchin
This is kind of close to what you want I think (at least it updates every 5 seconds for me, 5 times before it stops). You might adapt it to do what you want. This is the block to run periodically. #+name: time-string #+BEGIN_SRC sh date top -o "cpu" -ncols 4 -l 1| head -n 15 #+END_SRC #+RESULTS:

Re: [O] Org campture recursively expands %-escapes

2016-01-03 Thread Michael Brand
Hi Nicolas On Sun, Jan 3, 2016 at 10:07 PM, Nicolas Goaziou wrote: > The only error I get is a difference of indentation before the date. Am > I missing something ? When you evaluate (progn (require 'org-feed) (org-feed-format-entry '(:title "5 % less (see\n item

[O] quote block interrupts text?

2016-01-03 Thread Lawrence Bottorff
I've got this ** The quick red fox #+BEGIN_QUOTE red foxes are great #+END_QUOTE jumped over the lazy brown dog. But when I export to HTML I see the 1.5 The quick red fox Red foxes are great. jumped over the lazy

Re: [O] Remove notes blocks from latex export

2016-01-03 Thread Joon Ro
> A simple derived exporter? Or (on the LaTeX side) the comment package? > Thank you. I managed to achieve this with the following code: (defun my/latex-remove-NOTES-blocks (text backend info) "Filter special blocks from latex export." (when (eq backend 'latex) (if (string/starts-with

Re: [O] Org campture recursively expands %-escapes

2016-01-03 Thread Michael Brand
Hi Nicolas On Sun, Jan 3, 2016 at 8:51 PM, Nicolas Goaziou wrote: > > Michael Brand writes: > > > release_8.3.2-350-gbd3a2cb introduces a regression of "%()" in Org > > feed templates. See > > - commit release_7.8.10-1057-g042db37 > > -

[O] [PATCH] ox-koma-letter.el: Add support for section

2016-01-03 Thread Daniele Pizzolli
Hello, I was really surprised that headlines, that are so common in org-mode are discarded by default in ox-koma-letter. This patch tries to add the support for them. It works for me but requires some work to fit the coding and documentation convention that are still unknown to me. I will be

[O] Bug: org-clock-display dependence on org-clock-display-default-range is undocumented [8.3.2 (8.3.2-dist @ /usr/share/emacs24/site-lisp/org-mode/)]

2016-01-03 Thread David Bremner
Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2) of 2015-10-24 on trouble, modified by Debian Package: Org-mode version 8.3.2 (8.3.2-dist @ /usr/share/emacs24/site-lisp/org-mode/) Today being January first, the definition of 'thisyear changed rather suddenly, and I spent a

Re: [O] Org campture recursively expands %-escapes

2016-01-03 Thread Michael Brand
Hi Nicolas On Sun, Nov 29, 2015 at 5:00 PM, Nicolas Goaziou wrote: > I committed a patch along those lines in master. Please let me know if > anything goes wrong with capture templates. release_8.3.2-350-gbd3a2cb introduces a regression of "%()" in Org feed templates.

Re: [O] Bug: Org Habits does not recalculate the "Scheduled:" line [8.3.2 (release_8.3.2-441-ga87dea @ /home/swflint/.emacs.d/org-mode/lisp/)]

2016-01-03 Thread Nicolas Goaziou
Hello, swfl...@flintfam.org (Samuel W. Flint) writes: > The buffer starts out like so: > > * TODO Weekly Review > SCHEDULED: <2016-01-01 Fri .+1w/2w> > :PROPERTIES: > :STYLE:habit > :END: > > With the point on any part of the headline, C-c C-t switches to DONE, > and the SCHEDULED line is

[O] Org list source block

2016-01-03 Thread Jarmo Hurri
Greetings. Once again I fail when I try to do something very _simple_ with Org. I am trying to define a checklist and then use the same list in my exported document in multiple locations. I don't think macros would work here, since my org code has multiple lines. So I am trying to use Babel.

Re: [O] Org list source block

2016-01-03 Thread Richard Lawrence
Hi Jarmo, Jarmo Hurri writes: > I am trying to define a checklist and then use the same list in my > exported document in multiple locations. ... > What is the correct solution to this? Would an #+INCLUDE file work here? See

Re: [O] Org list source block

2016-01-03 Thread Jarmo Hurri
Richard Lawrence writes: > Hi Jarmo, > > Jarmo Hurri writes: > >> I am trying to define a checklist and then use the same list in my >> exported document in multiple locations. ... >> What is the correct solution to this? > > Would an #+INCLUDE

Re: [O] How define a hook function for `org-babel-post-tangle-hook' for a single file?

2016-01-03 Thread John Kitchin
It sounds a little circular. This org-file adds a hook function when loaded. Maybe you can adapt something like this? ymmv... #+BEGIN_SRC emacs-lisp :tangle my-local-hook.el (+ 9 9) #+END_SRC * hook function #+name: my-hook-function #+BEGIN_SRC emacs-lisp (defun my-special-hook ()

[O] How define a hook function for `org-babel-post-tangle-hook' for a single file?

2016-01-03 Thread Grant Rettke
Good morning, * Desire - I've got a file X - I've got a hook function H - It does post-processing, copying the tangled results to different directories - I want to defined H in X - I want H to be evaluated and run when X is tangled * Research - Emacs 25, Org Git current -

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-03 Thread John Kitchin
What do you have org-block-background set to? I use the leuven theme, which gives this a light yellow background for me. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213

Re: [O] Org list source block

2016-01-03 Thread Charles C. Berry
On Sun, 3 Jan 2016, Jarmo Hurri wrote: Greetings. Once again I fail when I try to do something very _simple_ with Org. I am trying to define a checklist and then use the same list in my exported document in multiple locations. I don't think macros would work here, since my org code has

Re: [O] Org list source block

2016-01-03 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > Once again I fail when I try to do something very _simple_ with Org. You're building programmatically your document. I don't believe it belongs to "very simple" tasks. > I am trying to define a checklist and then use the same list in my >

[O] [0] Run org-babel src block periodically

2016-01-03 Thread Giri Prashanth
Hi, I would like to run a org-src block code periodically, is there any property for org-blocks for such repeated execution. For example if I want to watch the tail of a file periodically every 1 min for next 1 hour, I would like to set a property like repeat for times to repeat and keep the org

Re: [O] Bug: org-clock-display dependence on org-clock-display-default-range is undocumented [8.3.2 (8.3.2-dist @ /usr/share/emacs24/site-lisp/org-mode/)]

2016-01-03 Thread Nicolas Goaziou
Hello, David Bremner writes: > Today being January first, the definition of 'thisyear changed rather > suddenly, and I spent a while trying to understand why org-display-clock > was "broken". Of course it wasn't really broken, but I could have solved > my problem quicker if

Re: [O] Org campture recursively expands %-escapes

2016-01-03 Thread Nicolas Goaziou
Hello, Michael Brand writes: > release_8.3.2-350-gbd3a2cb introduces a regression of "%()" in Org > feed templates. See > - commit release_7.8.10-1057-g042db37 > - (commit release_7.8.10-1068-ge1d5a31) > - http://thread.gmane.org/gmane.emacs.orgmode/56991 > > I just

Re: [O] Bug: Asychronous export fails [8.3.2 (8.3.2-52-g6d0af5-elpa @ /home/rrt/.emacs.d/elpa/org-20151228/)]

2016-01-03 Thread Nicolas Goaziou
Hello, Reuben Thomas writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the

Re: [O] [PATCH] Fix typo

2016-01-03 Thread Nicolas Goaziou
Hello, Daniele Pizzolli writes: > Fix a typo. Applied. Thank you. BTW, have you signed the FSF papers? I thought you already had provided some patches, but I was apparently wrong. Regards, -- Nicolas Goaziou