Re: [O] org-insert-heading

2013-11-15 Thread Bastien
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com 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

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

2013-11-15 Thread Sebastien Vauban
Eli Zaretskii wrote: From: Sebastien Vauban sva-n...@mygooglest.com 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

[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

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 should be

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

2013-11-15 Thread Sebastien Vauban
Bastien wrote: Glenn Morris r...@gnu.org 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 (message Eval

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

2013-11-15 Thread Eli Zaretskii
From: Sebastien Vauban sva-n...@mygooglest.com 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

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, and

[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), I had

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 ndo...@gmail.com 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

[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] org-agenda-category-filter-preset

2013-11-15 Thread Bastien
Hi Rene, Rene jl...@yahoo.com 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

[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

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

2013-11-15 Thread Eli Zaretskii
From: Sebastien Vauban sva-n...@mygooglest.com 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

[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] 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

[O] Implementing Reproducible Research

2013-11-15 Thread Christophe Pouzat
Hi all, I've just seen that a book, Implementing Reproducible Researchhttp://www.amazon.com/Implementing-Reproducible-Research-Chapman-Series/dp/1466561599, 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] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Sebastien Vauban
Eli Zaretskii wrote: From: Sebastien Vauban sva-n...@mygooglest.com 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

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 k...@be.cs.appstate.edu writes: [ Xubuntu 12.04.3; Xfce 4.8; Wfwm 4.8.3; org-mode 8.2.1 ] As

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, schrieb

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 far.

[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

[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! Best

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

2013-11-15 Thread Eli Zaretskii
From: Sebastien Vauban sva-n...@mygooglest.com Cc: Sebastien Vauban sva-n...@mygooglest.com, 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

[O] How to filter on files

2013-11-15 Thread Rene
Bastien bzg at 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

Re: [O] How to filter on files

2013-11-15 Thread Bastien
Hi Rene, Rene jl...@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 #+CATEGORY: property on top of each

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

2013-11-15 Thread Nicolas Goaziou
Hello, Thomas Holst thomas.ho...@de.bosch.com writes: · Myles English mylesengl...@gmail.com 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

[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] adapted org-flag-drawer to hide newlines of consecutive drawers to save lines

2013-11-15 Thread Nicolas Goaziou
Hello, Bastien b...@gnu.org 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

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 christophe.pou...@gmail.com writes: Hi all, I've just seen that a book, Implementing Reproducible

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

2013-11-15 Thread Nicolas Goaziou
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thomas Holst thomas.ho...@de.bosch.com writes: · Myles English mylesengl...@gmail.com 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

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

2013-11-15 Thread Nick Dokos
Glenn Morris r...@gnu.org 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

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

2013-11-15 Thread Nicolas Goaziou
Hello, Nick Dokos ndo...@gmail.com writes: Glenn Morris r...@gnu.org 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

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

2013-11-15 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com 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] How to filter on files

2013-11-15 Thread Rene
Bastien bzg at gnu.org writes: Rene jlr_0 at 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

Re: [O] How to filter on files

2013-11-15 Thread Bastien
Rene jl...@yahoo.com 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

[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

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

2013-11-15 Thread Nicolas Goaziou
Hello, Thorsten Jolitz tjol...@gmail.com 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

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] 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 for

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 is

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

2013-11-15 Thread Nicolas Goaziou
Hello, Eric Schulte schulte.e...@gmail.com 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

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

2013-11-15 Thread Thorsten Jolitz
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thorsten Jolitz tjol...@gmail.com 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

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

2013-11-15 Thread François Pinard
Bastien b...@gnu.org writes: François Pinard pin...@iro.umontreal.ca 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

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 tasks

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

2013-11-15 Thread François Pinard
François Pinard pin...@iro.umontreal.ca writes: Bastien b...@gnu.org writes: François Pinard pin...@iro.umontreal.ca 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