Re: [O] Insert git hash into exported document

2017-01-03 Thread Eric S Fraga
On Saturday, 24 Dec 2016 at 09:07, Michael Welle wrote: [...] > do you have some mechanism that warns you if you try to export > uncommitted changes? I'm not sure how such a process should be designed. I do not. I manually always check the status of the working directory (C-x v d RET). In any

Re: [O] speeding up Babel Gnuplot

2017-01-03 Thread Thierry Banel
Le 03/01/2017 22:55, Nicolas Goaziou a écrit : > Hello, > > Thierry Banel writes: > >> Here is a patch to avoid generating temporary files multiple times. >> >> There is no way to ensure a single call to >> (org-babel-gnuplot-process-vars) without modifying ob-core.el. I

Re: [O] org-babel-tangle ignores noweb-ref property

2017-01-03 Thread Charles C. Berry
On Tue, 3 Jan 2017, Joon Ro wrote: Hi, When I use org 8.3.6, it works correctly, but when I use org 9.0.3, it seems org-babel-tangle ignores noweb-ref property. For example, using the example from http://orgmode.org/manual/noweb_002dref.html: #+BEGIN_SRC sh :tangle yes :noweb yes

Re: [O] speeding up Babel Gnuplot

2017-01-03 Thread Nicolas Goaziou
Hello, Thierry Banel writes: > Here is a patch to avoid generating temporary files multiple times. > > There is no way to ensure a single call to > (org-babel-gnuplot-process-vars) without modifying ob-core.el. I don't > want to do that because I would have to change a lot

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread wtm
Thanks, Nicolas. After adding that code to my config, I tried it again and although the message "invalid face reference" no longer displays, I'm still unable to see any of the entries I also tried it without any custom configuration except the addition of the code you sent. I had the same

Re: [O] speeding up Babel Gnuplot

2017-01-03 Thread Thierry Banel
Here is a patch to avoid generating temporary files multiple times. There is no way to ensure a single call to (org-babel-gnuplot-process-vars) without modifying ob-core.el. I don't want to do that because I would have to change a lot of babel backends. Thus, I come back to my first light patch.

[O] search not found leaves you in target buffer

2017-01-03 Thread Samuel Wales
when links are followed, and search not found, you are left at the top of the target file. this makes sense if you intend to search manually, but you still have to go back to fix the link. can org be made to stay at the link if the link is broken? -- The Kafka Pandemic:

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread Nicolas Goaziou
wtm writes: > I'm installing org-mode from elpa. Until that update is available > would using the "org-faces.el" file in the latest git commit > (http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=3bba31ff44033e895fedd99857363dd5b0586b41) > work? Meanwhile, you

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread wtm
Nicolas, Thank you for finding that problem so quickly! It's vexed me for some time. I'm installing org-mode from elpa. Until that update is available would using the "org-faces.el" file in the latest git commit

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread Nicolas Goaziou
Hello, Jorge Morais Neto writes: > On 3 January 2017 at 14:16, Nicolas Goaziou wrote: >> I cannot reproduce it with, e.g. >> >> * TODO test >> :PROPERTIES: >> :Effort: 2:00 >> :END: >> >> and a bare configuration. Could you double-check

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread Jorge Morais Neto
On 3 January 2017 at 14:16, Nicolas Goaziou wrote: > I cannot reproduce it with, e.g. > > * TODO test > :PROPERTIES: > :Effort: 2:00 > :END: > > and a bare configuration. Could you double-check you're really using Org > 9.0.3? I reproduce it (the behavior and the

[O] org-babel-tangle ignores noweb-ref property

2017-01-03 Thread Joon Ro
Hi, When I use org 8.3.6, it works correctly, but when I use org 9.0.3, it seems org-babel-tangle ignores noweb-ref property. For example, using the example from http://orgmode.org/manual/noweb_002dref.html: #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh <> #+END_SRC

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread wtm
Nicolas, Thanks for responding. Here's what I get when I enter M-x org-version: Org mode version 9.0.3 (9.0.3-elpa @ c:/Users/Will/.emacs.d/elpa/org-20161224/) Will On Tue, Jan 3, 2017 at 11:16 AM, Nicolas Goaziou wrote: > Hello, > > wtm

Re: [O] function to select text of in a cell of a table

2017-01-03 Thread D M German
Kaushal Modi twisted the bytes to say: Kaushal> Check out this earlier thread: Kaushal> https://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00240.html Kaushal> You probably just need the org-table-mark-field definition from that. thank you both very much. Kaushal, your function is

[O] org-crypt: GPG error: "no usable configuration"

2017-01-03 Thread hymie!
Greetings. I'm running Orgmode 9.0.3 under emacs 25.1.2 on Microsoft Windows 7. I think this is really an emacs issue and not an orgmode issue; but other than orgmode, I don't use emacs, and I don't know where else to turn. For a year or so, I've been using org-crypt like this: (setq exec-path

Re: [O] Bug: Cannot tangle bash source blocks [9.0 (release_9.0-237-gccf2b9 @ /usr/local/share/emacs/site-lisp/org/)]

2017-01-03 Thread Nicolas Goaziou
Hello, David Dynerman writes: > I cannot tangle a bash source block (via ob-shell) that contains > variables. To reproduce, enter this into an org file: > > #+BEGIN_SRC bash :var HELLO="world" :tangle > echo $HELLO > #+END_SRC > > Then C-c C-v t RET > > This error

Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread Nicolas Goaziou
Hello, wtm writes: > I'm having trouble using org-agenda-filter-by-effort on existing > agendas in orgmode 9.0.3 in GNU Emacs 25.1.1 ([x86_64-w64-mingw32] of > 2016-09-17). Each time I attempt to use org-agenda-filter-by-effort, > I type "_" and then "=" and I select the

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Charles C. Berry
On Tue, 3 Jan 2017, Jonas Bernoulli wrote: So here's the ECM: * Node #+BEGIN_SRC emacs-lisp (progn (progn foo bar)) #+END_SRC (info "(org) Literal examples") suggests this #+BEGIN_SRC emacs-lisp -i (progn (progn foo bar)) #+END_SRC (16 spaces before bar) which gives

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Jonas Bernoulli
So here's the ECM: * Node #+BEGIN_SRC emacs-lisp (progn (progn foo bar)) #+END_SRC It doesn't matter whether `bar))` is preceded, in the org file, by two tabs or 16 spaces. In both cases it will be preceded by one tab followed by 7 spaces in the texi file; and by 5 spaces followed by one tab

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Thomas S. Dye
Aloha Kaushal Modi, Kaushal Modi writes: > On Tue, Jan 3, 2017 at 8:53 AM Jonas Bernoulli > wrote: > >> On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou >> wrote: >> >> >> Could you provide an ECM? >> >> >> What's an ECM? >> > > I also do not

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Nick Dokos
Kaushal Modi writes: > On Tue, Jan 3, 2017 at 8:53 AM Jonas Bernoulli > wrote: > > On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou > wrote: > > Could you provide an ECM? > > What's an ECM? > > I also

Re: [O] use-package with ox-latex

2017-01-03 Thread Kaushal Modi
On Tue, Dec 27, 2016 at 8:02 AM Dushyant Juneja wrote: > Hi all, > > I was trying to wrap ox-latex in a use-package configuration. My > use-package statement is super simple: > > (use-package ox-latex > :defer t) > > However, emacs cribs on this at startup as follows:

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Kaushal Modi
On Tue, Jan 3, 2017 at 8:53 AM Jonas Bernoulli wrote: > On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou > wrote: > > > Could you provide an ECM? > > > What's an ECM? > I also do not know what ECM means though it has been mentioned in this

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Jonas Bernoulli
Hi So Gmail decided that your reply was spam... On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou wrote: > > Could you provide an ECM? > What's an ECM? > > Besides, using `org-export-filter-final-output-functions' seems easier > than your set up. > I'll try that,

[O] Copying actions from meeting notes with org-mactions-collect-todos-in-subtree

2017-01-03 Thread donotspamthis
Hi, I am refering to the meeting notes workflow described in http://orgmode.org/worg/org-tutorials/org-meeting-tasks.html. This is an example of some meeting notes. * Notes from [2017-01-02 Mo] ** Topic 1 Something was discussed ** TODO Action #3 A nice little inline

Re: [O] Cannot export Latex to PDF when "Body Only" is "on"

2017-01-03 Thread Nicolas Goaziou
Hello, Young-whan writes: > But, when "Body Only" is "on", the export is failed always. > > Comparing "Body Only" on and off case, the on-case doesn't have > \documentclass or \usepackage headers. It looks it has only body and that's > why converting pdf fails always.