[O] Org-mode and/or org-ref citation formats

2017-01-04 Thread Gerald Wildgruber
Hi, I'm about to migrate my entire LaTeX document setup to Org-mode and the one point in this process that is more complicated than every other is the bibliography system. In LaTeX I was using BibTeX/biblatex with lots of coomands like: \cite[PAGENUM]{MYREF} or

[O] editing scheme fragments

2017-01-04 Thread Roger Mason
Hello, When I try to edit a scheme fragment such this Header: #+BEGIN_SRC scheme :tangle "header.skb" (document :title [A First Skribilo Block] :author [Roger Mason] #+END_SRC using C-c ', org thinks it is an org table. I am using GNU Emacs 25.1.1 (i386-portbld-freebsd10.1, GTK+

[O] Avoid add-to-list on local variables

2017-01-04 Thread Kaushal Modi
Hi all, I just noticed this commit on emacs master branch: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2ec41c415f39990561cc9da4c9bad0b69bfad489 The commit touches these parts of org: Avoid add-to-list on local variables * lisp/org/org-archive.el (org-all-archive-files): *

Re: [O] Avoid add-to-list on local variables

2017-01-04 Thread Kyle Meyer
Hello, Kaushal Modi writes: > Hi all, > > I just noticed this commit on emacs master branch: [...] > So I believe that these changes should be back-ported into the master > branch of org too? Thanks for the heads up. Those changes should be considered. I backport

Re: [O] editing scheme fragments

2017-01-04 Thread Eric S Fraga
On Wednesday, 4 Jan 2017 at 13:11, Roger Mason wrote: > Hello, > > When I try to edit a scheme fragment such this > > Header: > > #+BEGIN_SRC scheme :tangle "header.skb" > (document :title [A First Skribilo Block] > :author [Roger Mason] > #+END_SRC > > using C-c ', org thinks it is an

Re: [O] editing scheme fragments

2017-01-04 Thread John Kitchin
I can't reproduce that. I wonder if you should try running org-element-cache-reset Sometimes I have seen org get confused when the cache is out of date. this usually happens when I have code that generates parts of the file. John --- Professor John Kitchin

Re: [O] Org-mode and/or org-ref citation formats

2017-01-04 Thread John Kitchin
Gerald Wildgruber writes: > Hi, > > I'm about to migrate my entire LaTeX document setup to Org-mode and the > one point in this process that is more complicated than every other is > the bibliography system. > > In LaTeX I was using BibTeX/biblatex with lots of coomands like: > >

Re: [O] editing scheme fragments

2017-01-04 Thread Marco Wahl
Hello! > When I try to edit a scheme fragment such this > > Header: > > #+BEGIN_SRC scheme :tangle "header.skb" > (document :title [A First Skribilo Block] > :author [Roger Mason] > #+END_SRC > > using C-c ', org thinks it is an org table. Here org thinks it's scheme. > [...] > Any

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

2017-01-04 Thread Nicolas Goaziou
Hello, wtm writes: > After some additional testing, I was able to isolate the problem: > org-agenda-filter-by-effort only filtered entries that had no tags or > tag inheritance. This leads me to believe that I just don't > understand how this command,

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

2017-01-04 Thread wtm
Wonderful! Is there any elisp that I could add to my config to test it? I would love have this capability. On Wed, Jan 4, 2017 at 4:31 PM, Nicolas Goaziou wrote: > Hello, > > wtm writes: > >> After some additional testing, I was able to isolate

Re: [O] Problem with Org-capture mode

2017-01-04 Thread Doyley, Marvin M.
Thanks, The problem is now solved It turns out that the problem was yasnippet. Cheers, M On Jan 4, 2017, at 2:30 PM, Kaushal Modi > wrote: You seem to have mixed installations. org-set-local has been deprecated for a while now. What are

Re: [O] [PATCH] ox-koma-letter.el: Add support for fromurl variable

2017-01-04 Thread Nicolas Goaziou
Hello, Grant Rettke writes: > The next change that I want to make is to include the description for > the fromurl like this: > > \setkomavar{fromurl}[description]{content} > > I haven't figured out how to do that yet. What is "description" supposed to do? > Subject:

Re: [O] editing scheme fragments

2017-01-04 Thread Marco Wahl
Roger Mason writes: > Hello Nick, > > Nick Dokos writes: > >> Try with a minimal init file, avoiding all your customizations (other than >> loadin >> org and enabling scheme): >> >> emacs -q -l /path/to/minimal/init/file >> >> Does it still fail? > > Yes, but

Re: [O] speeding up Babel Gnuplot

2017-01-04 Thread Charles C. Berry
On Wed, 4 Jan 2017, Achim Gratz wrote: Thierry Banel writes: 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. But that is the right fix to apply, unless

Re: [O] speeding up Babel Gnuplot

2017-01-04 Thread Nicolas Goaziou
Hello, Thierry Banel writes: >>> (car pair) ;; variable name >>> - (let* ((val (cdr pair)) ;; variable value >>> - (lp (listp val))) >>> - (if lp >>> + (let ((val (cdr pair))) ;; variable value >>> + (if (not (listp val)) >>> + val >>> +

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

2017-01-04 Thread wtm
Works perfectly. Thank you, Nicolas! On Wed, Jan 4, 2017 at 4:40 PM, Nicolas Goaziou wrote: > wtm writes: > >> Wonderful! Is there any elisp that I could add to my config to test >> it? I would love have this capability. > > You need to eval > >

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

2017-01-04 Thread yanmcbe
Wow, this issue comes very close to something I struggled for hours with (3h42') last year. It finally boiled down to this: sorting by effort in the agenda view only works (correctly) when org-agenda-remove-tags is t. Here's the (edited) ECM I created for IRC and eventually the list:

Re: [O] search not found leaves you in target buffer

2017-01-04 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > when links are followed, What links? Do you have an example? > 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. Or you

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

2017-01-04 Thread Nicolas Goaziou
wtm writes: > Wonderful! Is there any elisp that I could add to my config to test > it? I would love have this capability. You need to eval (defun org-agenda-compare-effort (op value) "Compare the effort of the current line with VALUE, using OP. If the line

Re: [O] Slow usage of capture templates

2017-01-04 Thread Nick Dokos
Johan Ekh writes: > Hi all > > I'm on Windows 10 with Cygwin-X and running Emacs 25.1.1 installed with > Cygwin installer. Org-mode version is 9.0 installed from Elpa. > > I am experiencing very slow usage of my capture templates. When I hit C-c c > my different templates

[O] automatically updating a table (including adding rows)

2017-01-04 Thread yanmcbe
Hi I have a bit of a rambling question. I'd like to have a table to which I can decide to have a row added which contains a value computed from a columnview table (the ratio of time logged over the total amount of Effort). That's the main goal, but since it doesn't work like I want, I'm looking

Re: [O] search not found leaves you in target buffer

2017-01-04 Thread Samuel Wales
On 1/4/17, Nicolas Goaziou wrote: >> can org be made to stay at the link if the link is broken? > > It is not clear to me that would be the best possible behaviour. example is broken file links. perhaps following a link could set the org mark so that org-mark-ring-goto

[O] Slow usage of capture templates

2017-01-04 Thread Johan Ekh
Hi all I'm on Windows 10 with Cygwin-X and running Emacs 25.1.1 installed with Cygwin installer. Org-mode version is 9.0 installed from Elpa. I am experiencing very slow usage of my capture templates. When I hit C-c c my different templates show up but when I select one of them nothing happens

[O] doing something yesterday?

2017-01-04 Thread joakim
Hello, I have a number of habits I keep track of in Org, with repeat TODO:s. They should be done every day. Quite often I want to change the "DONE" date from today to yesterday. As it is now, I manually change the done date and the next date. Can I achive this automatically somehow, by

Re: [O] editing scheme fragments

2017-01-04 Thread Roger Mason
Hello Nick, Nick Dokos writes: > Try with a minimal init file, avoiding all your customizations (other than > loadin > org and enabling scheme): > > emacs -q -l /path/to/minimal/init/file > > Does it still fail? Yes, but in trying this out I discovered that the keybinding I

Re: [O] Problem with Org-capture mode

2017-01-04 Thread Kaushal Modi
You seem to have mixed installations. org-set-local has been deprecated for a while now. What are your org and emacs versions? On Wed, Jan 4, 2017 at 2:23 PM Doyley, Marvin M. wrote: > Hi there, > > Org capture template is not working. > > I get the following message

[O] Problem with Org-capture mode

2017-01-04 Thread Doyley, Marvin M.
Hi there, Org capture template is not working. I get the following message when I try to use it. Does anybody know how to fix this ? Thanks M For information about GNU Emacs and the GNU system, type C-h C-a. Problems while trying to load feature ‘org-mac-message’ File mode specification

Re: [O] editing scheme fragments

2017-01-04 Thread Roger Mason
Hello John, John Kitchin writes: > I can't reproduce that. I wonder if you should try running > org-element-cache-reset Sometimes I > have seen org get confused when the cache is out of date. this usually > happens when I have code > that generates parts of the file.

Re: [O] editing scheme fragments

2017-01-04 Thread Roger Mason
Hello Marco, Marco Wahl writes: > Guess: You should add scheme to org-babel-load-languages. E.g. use M-x > customize-variable. Sorry, i should have mentioned that I tried that customisation without success. Cheers, Roger

Re: [O] editing scheme fragments

2017-01-04 Thread Roger Mason
Hi Eric, Eric S Fraga writes: > Works fine for me with later version of org (and emacs). Unfortunately, updating to Org mode version 9.0.3 (release_9.0.3-170-gfed1cf) did not make any difference. Cheers, Roger

Re: [O] mark as done on a previous date?

2017-01-04 Thread Marco Wahl
> Interesting. I couldn't get yours to work as I expected either, and > decided to try =org-todo-yesterday=, and couldn't get _that_ to work as > I expected either, which I thought was strange so I dug a bit deeper. I > tested with =emacs -q foo.org= and added the following entry (I did this > on

Re: [O] editing scheme fragments

2017-01-04 Thread Nick Dokos
Roger Mason writes: > Hello Marco, > > Marco Wahl writes: > >> Guess: You should add scheme to org-babel-load-languages. E.g. use M-x >> customize-variable. > > Sorry, i should have mentioned that I tried that customisation without > success. > > Cheers,

Re: [O] speeding up Babel Gnuplot

2017-01-04 Thread Achim Gratz
Thierry Banel writes: > 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. But that is the right fix to apply, unless there is a reason for the input vars to

Re: [O] doing something yesterday?

2017-01-04 Thread Marco Wahl
Hi! > I have a number of habits I keep track of in Org, with repeat TODO:s. > They should be done every day. > > Quite often I want to change the "DONE" date from today to yesterday. > > As it is now, I manually change the done date and the next date. > > Can I achive this automatically somehow,

Re: [O] Problem with Org-capture mode

2017-01-04 Thread Doyley, Marvin M.
Here is the backtrace Debugger entered--Lisp error: (void-function org-set-local) (org-set-local (quote yas/trigger-key) [tab]) (lambda nil (org-set-local (quote yas/trigger-key) [tab]) (define-key yas/keymap [tab] (quote yas/next-field-or-maybe-expand)))()

Re: [O] speeding up Babel Gnuplot

2017-01-04 Thread Thierry Banel
Le 04/01/2017 18:32, Achim Gratz a écrit : > Thierry Banel writes: >> 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. > But that is the right fix to

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

2017-01-04 Thread wtm
After some additional testing, I was able to isolate the problem: org-agenda-filter-by-effort only filtered entries that had no tags or tag inheritance. This leads me to believe that I just don't understand how this command, org-agenda-filter-by-effort, is actually supposed to work. If I have an

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

2017-01-04 Thread Grant Rettke
Good morning, I want to use the fromurl variable in KOMA so I copied how the phone variable works. The next change that I want to make is to include the description for the fromurl like this: \setkomavar{fromurl}[description]{content} I haven't figured out how to do that yet. Maybe the