Re: [O] Revealing when following file:NAME::LINENO

2013-11-15 Thread François Pinard
François Pinard writes: > Bastien writes: >> François Pinard writes: >>> Whenever one follows an Org link of the form file:NAME::LINENO, let me >>> suggest that the found line be "org-revealed" automatically. In my >>> opinion, this would be convenient for most people using such forms. >> A

Re: [O] Repeaters in plain timestamps

2013-11-15 Thread François Pinard
Hi, Org people. Merely revisiting the Org mailing list after many days. Gosh! That list is fairly active! :-) Quoting an earlier message of mine: > The manual, section "8.3.2 Repeated tasks", says: >Some tasks need to be repeated again and again. Org mode helps to >organize such task

Re: [O] Revealing when following file:NAME::LINENO

2013-11-15 Thread François Pinard
Bastien writes: > François Pinard writes: >> Whenever one follows an Org link of the form file:NAME::LINENO, let me >> suggest that the found line be "org-revealed" automatically. In my >> opinion, this would be convenient for most people using such forms. > Actually I think this is a good id

Re: [O] [Exporter] How to extract timestamp from headline's title?

2013-11-15 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> when writing an exporter backend, I wonder what is the canonical way to >> extract the (optional) timestamp element from a headline's :title >> attribute (which holds a secondary string)? >> >> I could do something like this to extra

Re: [O] [bug] ox-org.el subtree export appears broken

2013-11-15 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > Hmmm, I don't have a strong intuition here. I'm tempted to say that > whatever the HTML export engine does would be a good starting place, > plus any keyword explicitly set in subtree properties. I feel like this > decision must have already been made in some othe

Re: [O] Lisp code blocks fail

2013-11-15 Thread Thomas S. Dye
Hi Eric, An edebug adventure :) AFAICT, the error is thrown by this call to a macro: (org-babel-result-cond ("replace") (car result)), where result has been set to "2" by the long (funcall) in (let). Specifically, (org-babel-lisp-vector-to-list "2") appears to trigger the (error)--at least that

Re: [O] org-mouse

2013-11-15 Thread Kenneth Jacker
>> Do I need something else? nd> No, evaling the require should be enough. OK. nd> Try clicking button-1 on an asterisk of a heading in an org file: nd> does it fold the item? If so, it's working :-) Yes, that does! Guess I was clicking in the inactive areas of the heading. Thanks fo

Re: [O] org-mouse: solved

2013-11-15 Thread Kenneth Jacker
rs> I needed to configure variable org-mouse-features Ah, the other part that I didn't know about ... ;-) Thanks to all for the help, -Kenneth

Re: [O] [Exporter] How to extract timestamp from headline's title?

2013-11-15 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > when writing an exporter backend, I wonder what is the canonical way to > extract the (optional) timestamp element from a headline's :title > attribute (which holds a secondary string)? > > I could do something like this to extract the timestamp from the headline

[O] [Exporter] How to extract timestamp from headline's title?

2013-11-15 Thread Thorsten Jolitz
Hi List, when writing an exporter backend, I wonder what is the canonical way to extract the (optional) timestamp element from a headline's :title attribute (which holds a secondary string)? I could do something like this to extract the timestamp from the headline #+begin_src emacs-lisp (let

Re: [O] How to filter on files

2013-11-15 Thread Bastien
Rene writes: > I'd have loved though to be able to switch from one view (home+office view) > to another (office view) without having to reconstruct the whole > agenda. Maybe the `org-agenda-sticky' option can help there? -- Bastien

Re: [O] How to filter on files

2013-11-15 Thread Rene
Bastien gnu.org> writes: > Rene yahoo.com> writes: > > > But once in a while I'd like to dynamically narrow down my list of agenda > > entries to either one of these files. I tried to play with > > org-agenda-filter-by-tag or org-agenda-filter-by-category but to no > > avail. > > Use a #+CATE

Re: [O] adapted org-flag-drawer to hide newlines of consecutive drawers to save lines

2013-11-15 Thread Bastien
Nicolas Goaziou writes: > The only reliable way to know if it is cache related is to try with > `org-element-use-cache' set to nil. Right, I'll try this for a while if I'm hit again by the bug. -- Bastien

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Glenn Morris writes: > >> "Sebastien Vauban" wrote: >> >>> But I wonder: how can you now reproduce it (and not before)? >> >> Because I downloaded a snapshot of Org. >> Your problem is not with code that is in Emacs current trunk. > > Using Glenn's reproducer, I bise

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Nick Dokos
Glenn Morris writes: > "Sebastien Vauban" wrote: > >> But I wonder: how can you now reproduce it (and not before)? > > Because I downloaded a snapshot of Org. > Your problem is not with code that is in Emacs current trunk. Using Glenn's reproducer, I bisected it - another one for Nicolas's TODO

Re: [O] links to attachments don't export anymore

2013-11-15 Thread Nicolas Goaziou
Nicolas Goaziou writes: > Hello, > > Thomas Holst writes: > >> · Myles English wrote: >> >> [ ... snip ... ] >>> It was possible to insert a link to an attachment like this: >>> >>> [[att:FigureA.jpg]] >>> >>> and clicking on it would show the file (still works), and it would show >>> up in the

Re: [O] Implementing Reproducible Research

2013-11-15 Thread Thomas S. Dye
Aloha Christophe, Thanks for spotting this. I don't know if anyone has written a chapter presenting org. I haven't seen anything on the ML. All the best, Tom Christophe Pouzat writes: > Hi all, > > I've just seen that a book, Implementing Reproducible > Research

Re: [O] adapted org-flag-drawer to hide newlines of consecutive drawers to save lines

2013-11-15 Thread Nicolas Goaziou
Hello, Bastien writes: > If M-x org-element-cache-reset RET always solve such problems, then my > problems was not related to the cache, as org-element-cache-reset did > not solve it. The only reliable way to know if it is cache related is to try with `org-element-use-cache' set to nil. Regar

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Glenn Morris
"Sebastien Vauban" wrote: > But I wonder: how can you now reproduce it (and not before)? Because I downloaded a snapshot of Org. Your problem is not with code that is in Emacs current trunk.

Re: [O] links to attachments don't export anymore

2013-11-15 Thread Nicolas Goaziou
Hello, Thomas Holst writes: > · Myles English wrote: > > [ ... snip ... ] >> It was possible to insert a link to an attachment like this: >> >> [[att:FigureA.jpg]] >> >> and clicking on it would show the file (still works), and it would show >> up in the exported document (no longer happens). >

Re: [O] How to filter on files

2013-11-15 Thread Bastien
Hi Rene, Rene writes: > But once in a while I'd like to dynamically narrow down my list of agenda > entries to either one of these files. I tried to play with > org-agenda-filter-by-tag or org-agenda-filter-by-category but to no > avail. Use a #+CATEGORY: property on top of each file, then use

[O] How to filter on files

2013-11-15 Thread Rene
Bastien gnu.org> writes: > Maybe show us your config and tell us what do you expect and what > do you get instead, that will surely be faster. You're right. I basically have 2 org files (home.org and office.org) where my tasks and appointments are stored. Most of the time I like to have all th

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Eli Zaretskii
> From: "Sebastien Vauban" > Cc: Sebastien Vauban , michael_heerde...@web.de, > 15...@debbugs.gnu.org > Date: Fri, 15 Nov 2013 14:01:10 +0100 > > What's weird is that I only saw once "org", but still have the code block > executed twice in Emacs. That probably means that some Lisp does the eq

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Stefan Monnier wrote: > BTW, it's probably easier to debug this in Elisp. > You can start with > > (add-hook 'after-load-functions > (lambda (file) (message "Loaded %S" file))) > > Or change your recipe to replace (sit-for 3) with (debug). Right. The above can prove very useful. Thanks!

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Stefan Monnier
BTW, it's probably easier to debug this in Elisp. You can start with (add-hook 'after-load-functions (lambda (file) (message "Loaded %S" file))) Or change your recipe to replace (sit-for 3) with (debug). Stefan

Re: [O] [ANN] Improved Flyspell check

2013-11-15 Thread Sebastien Vauban
Nicolas Goaziou wrote: > "Sebastien Vauban" writes: > >> You mean it isn't applied yet? Because I already reloaded Emacs a ton of >> times today -- for different tests. > > No it isn't applied yet. Meanwhile, you can test it by applying the second > patch in this thread. Applied. Looks good so f

Re: [O] org-mouse: solved

2013-11-15 Thread Rainer Stengele
I needed to configure variable org-mouse-features Works! Thanks, Rainer. Am 15.11.2013 14:08, schrieb Rainer Stengele: > Hi, I also do see no functionality of any mouse button press after > successfully requiring org-mouse. > How can I track that problem? > > Rainer > > Am 14.11.2013 17:43, sc

Re: [O] org-mouse

2013-11-15 Thread Rainer Stengele
Hi, I also do see no functionality of any mouse button press after successfully requiring org-mouse. How can I track that problem? Rainer Am 14.11.2013 17:43, schrieb Nick Dokos: > Kenneth Jacker writes: > >> [ Xubuntu 12.04.3; Xfce 4.8; Wfwm 4.8.3; org-mode 8.2.1 ] >> >> As stated in the EL

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Cc: r...@gnu.org, michael_heerde...@web.de, 15...@debbugs.gnu.org >> Date: Fri, 15 Nov 2013 10:06:12 +0100 >> >> Eli Zaretskii wrote: >> > Unfortunately, this: >> > >> >> (gdb) No symbol "backtrace_list" in current context. >> > >> > (whose re

[O] Implementing Reproducible Research

2013-11-15 Thread Christophe Pouzat
Hi all, I've just seen that a book, Implementing Reproducible Research, edited by V. Stodden, F. Leisch and R. Peng is coming out next year from CRC. I was wondering if anyone has written a chapter presenting o

[O] [BUG] C-c C-x p inserts PROPERTY drawer *inside* LOGBOOK drawer

2013-11-15 Thread Sebastien Vauban
Hello, As you can see on http://screencast.com/t/Pwu5nf31AE, when being on the collapsed LOGBOOK drawer, and calling `C-c C-x p' to insert a new property, the PROPERTY drawer gets created *inside* the LOGBOOK drawer (see the consecutive END lines): --8<---cut here---start-

[O] [BUG] Children of archived task are visible in CONTENTS view

2013-11-15 Thread Sebastien Vauban
Hello, If you have archived tasks with subtasks, those subtasks become avialable in the CONTENTS view, when S-TAB'ing. They aren't visible (as expected) in the OVERVIEW and in the SHOW ALL views. See http://screencast.com/t/TCukmw8t6. When TAB'ing the parent task, there, no problem: children of

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Eli Zaretskii
> From: "Sebastien Vauban" > Cc: r...@gnu.org, michael_heerde...@web.de, 15...@debbugs.gnu.org > Date: Fri, 15 Nov 2013 10:06:12 +0100 > > Eli Zaretskii wrote: > > Unfortunately, this: > > > >> (gdb) No symbol "backtrace_list" in current context. > > > > (whose reason I don't really understand)

[O] When moving headings, blank lines are added to the display

2013-11-15 Thread Sebastien Vauban
Hello, As a short video is better than a long writing, see the effect on http://screencast.com/t/1GUx4OiqY1O4. In summary, with such a file: --8<---cut here---start->8--- * Personal :PROPERTIES: :CATEGORY: Personal :END: ** TODO Make dentist appointment

Re: [O] org-agenda-category-filter-preset

2013-11-15 Thread Bastien
Hi Rene, Rene writes: > Has anyone used org-agenda-category-filter-preset? > > I can't seem to make this working. > > Please provide me with some config example and tell me how to use it (which > key to use, etc.). Maybe show us your config and tell us what do you expect and what do you get ins

[O] org-agenda-category-filter-preset

2013-11-15 Thread Rene
Has anyone used org-agenda-category-filter-preset? I can't seem to make this working. Please provide me with some config example and tell me how to use it (which key to use, etc.).

Re: [O] Bug: org-use-sub-superscripts not working [8.2.3b (8.2.3b-elpa @ c:/Users/xxx/.emacs.d/elpa/org-20131112/)]

2013-11-15 Thread Bastien
Hi, Nick Dokos writes: > Maybe org-use-sub-superscripts is a remnant that should be deleted: not > sure why it is still around. I note that it is defined and used in > org.el, whereas org-export-with-sub-superscripts is defined and used in > ox.el. AFAIU both have different meaning: `org-use-su

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Eli Zaretskii wrote: > Unfortunately, this: > >> (gdb) No symbol "backtrace_list" in current context. > > (whose reason I don't really understand) means that the Lisp backtrace > is absent from your data. Should the following explain it? As I had no .gdbinit file (hence, no definition for xstring

Re: [O] maintaining Org

2013-11-15 Thread Simon Thum
David, I had a short look and find it interesting but I would need some configuration. In particluar, I use "CANCELLED" not CANCELED. http://grammarist.com/spelling/cancel/ but I guess there are also better reasons to make that configurable a bit. Do you inted to maintain org-effectiveness, an

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Eli Zaretskii
> From: "Sebastien Vauban" > Cc: r...@gnu.org, michael_heerde...@web.de, 15...@debbugs.gnu.org > Date: Fri, 15 Nov 2013 09:16:44 +0100 > > > (gdb) break Fload > > (gdb) commands > >> p file > >> xstring > >> end > > (gdb) r -Q > > > > Now, when the breakpoint breaks, you will see

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Bastien wrote: > Glenn Morris writes: >> "Sebastien Vauban" wrote: >> >>> Where is the black magic? >> >> Somewhere in the labyrinthine depths of Org, so I suggest you ask the >> Org maintainers to figure out why: >> >> emacs -Q -L /path/to/git/org-mode/lisp >> (with-eval-after-load "org" >> (me

Re: [O] Bug: org-use-sub-superscripts not working [8.2.3b (8.2.3b-elpa @

2013-11-15 Thread dieter
> The name of the variable is org-export-with-sub-superscripts. If you make > this change to your code below, it DTRT I think. If you say thank you very much, this solved my problem! > #+OPTIONS: ^:nil > that's the variable that is set. > Maybe org-use-sub-superscripts is a remnant that shoul

[O] can't (require 'org) from .emacs with ELPA-installed org

2013-11-15 Thread Dan
If I (require 'org) in my .emacs, then open a file.org immediately after emacs starts, then press C-c C-e (publish), I get byte-code: Symbol's function definition is void: org-defvaralias (no errors appear prior to attempting to publish in the message buffer, and org-mode functionality appears to

[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Date: Thu, 14 Nov 2013 19:57:02 +0100 >> Cc: 15...@debbugs.gnu.org >> >> 0. Copy the minimal configuration in the clipboard >> 1. Go into C:/Program Files/emacs-trunk/bin/ >> 2. Launch emacs -Q >> 3. Paste the minimal configuration in the scratc

Re: [O] org-insert-heading

2013-11-15 Thread Bastien
Hi Carsten, Carsten Dominik writes: > I think it is dangerous to change the behavior in such a way that > it will depend on the heading being folded or not. Definitely org-in-item-p > should not depend on that. I am still debating with myself if > org-insert-heading > should. Maybe only in i