Re: [O] Can I ask "Which day is it?" when filtering org-agenda views?

2013-09-10 Thread Samuel Wales
What a great answer to Trevor. Thanks for your continued help to people, Nick. On 9/10/13, Nick Dokos wrote: > Trevor Murphy writes: > If I read the code correctly, the date of the item should be available -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress.

Re: [O] Can I ask "Which day is it?" when filtering org-agenda views?

2013-09-10 Thread Trevor Murphy
Nick Dokos writes: If I read the code correctly, the date of the item should be available to the function as the value of the dynamically bound variable "date", in (month day year) form. So you should be able to compare that to today's date, obtained with (calendar-gregorian-from-absolute

Re: [O] can't export org-tables to LaTeX / void error - org-list-allow-alphabetical

2013-09-10 Thread Nick Dokos
Benjamin Slade writes: > I have some older org files which once exported to LaTeX without > complaint but now refuse to do so, producing the error > "defconst: Symbol's value as variable is void: > org-list-allow-alphabetical" > A backtrace would help: see section 1.4, "Feedback", in the Org m

[O] `org-element-map' ignores type 'org-data'?

2013-09-10 Thread Thorsten Jolitz
Hi List, when mapping a parse tree with `org-element-map', this ,- | (org-element-map tree iorg-all-types-no-text | (lambda (--elem) | (if (eq (org-element-type --elem) 'org-data) [...] `- wi

Re: [O] Can I ask "Which day is it?" when filtering org-agenda views?

2013-09-10 Thread Nick Dokos
Trevor Murphy writes: > As preface, I'm aware that I may have gone too far down the rabbit > hole. I'm inserting many time grid lines (one per half hour) into my > agenda views so I have a visual sense of my free / busy time. But I > want time grid lines that have already passed to disappear,

[O] can't export org-tables to LaTeX / void error - org-list-allow-alphabetical

2013-09-10 Thread Benjamin Slade
I have some older org files which once exported to LaTeX without complaint but now refuse to do so, producing the error "defconst: Symbol's value as variable is void: org-list-allow-alphabetical" These files have org-tables in them; if removed, the files export without any problem. I haven't se

[O] Preview LaTeX fragment not working (for me)

2013-09-10 Thread Evan Misshula
I am trying to Preview LaTeX fragment (11.7.4). I have the preview working in Preview LaTeX but when I (C-c C-x C-l) org-mode shows empty boxes. The org mode file is: #+OPTIONS: tex:dvipng #+OPTIONS: toc:nil #+LATEX_HEADER: \usepackage{tikz} #+LATEX_HEADER: \usepackage{attrib} #+LATEX_HEADER: \u

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Carsten Dominik
On 10.9.2013, at 21:48, Nicolas Goaziou wrote: > Hello, > > Suvayu Ali writes: > >> 1. When traversing the file header, goes one line at a time. I would >> expect to go to the next blank line. In the attached Org file, from >> somewhere on #+TITLE to the blank line before the first head

Re: [O] 'org-calendar-holiday's not in an org agenda org file

2013-09-10 Thread Myles English
Hi Enda, Enda writes: > In order to include holidays in the org agenda for current day or week(M-x > org-agenda RET a),you have to put the following line in one of the > org-agenda-files: > > %%(org-calendar-holiday) > > Is there a way to include holidays in the org agenda for current dayor we

[O] Link with spaces does not export properly in html

2013-09-10 Thread Simon
Hello, I'm using Orgmode 8.04 on Emacs 24.2.1 on OSX. My problem is that if an external link in my org document has %20 for spaces in and the document is then exported for html, the %20 is changed to %2520. This means the link does note work in the exported document. Does anyone know how this i

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Nicolas Goaziou
Suvayu Ali writes: > Okay agreed there is nothing called "file header", but would be nice to > skip all the setup stuff (wherever in the file) and get to the > content. It's really out of the scope of this function. There are other solutions to ignore large "file headers", e.g. stuff them in a d

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Nicolas Goaziou
Jambunathan K writes: > Nicolas Goaziou writes: > >> Thanks. Take 2: > > Looks good. Less surprises. Some open questions... I have no > preference one way or the other. > > 1. Seems to like beginning of line. May be it should do a >back-to-indentation. It is disconcerting to have cursor

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Samuel Wales
On 9/10/13, Carsten Dominik wrote: > I think the main application is reasonably fast motion > and selection in a *linear* way. Is this correct, or do people > disagree here with me? Agreed, C-down is next paragraph. Also C-M-arrow for headlines, with up/down being linear and left/right being sa

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Nicolas Goaziou
Hello, Jambunathan K writes: > Nicolas Goaziou writes: > >> Here's a first draft for the linear forward motion. > > cond: Symbol's function definition is void: > org-forward-and-down-element Hmm. That's a silly mistake (few aren't): I changed its name as a second thought and forgot to update t

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Nicolas Goaziou
Hello, Suvayu Ali writes: > 1. When traversing the file header, goes one line at a time. I would >expect to go to the next blank line. In the attached Org file, from >somewhere on #+TITLE to the blank line before the first headline. There no such thing as a "file header". I think that

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 08:58:43PM +0200, Suvayu Ali wrote: > > Some comments and a backtrace (I used the corrected 2nd revision): Forgot to edit that out, no backtrace. :) -- Suvayu Open source is the future. It sets us free.

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
Hi Nicolas, On Tue, Sep 10, 2013 at 06:33:16PM +0200, Nicolas Goaziou wrote: > > Suvayu Ali writes: > > > On Tue, Sep 10, 2013 at 11:02:35AM +0200, Carsten Dominik wrote: > >> > >> And by linear, I think we don't mean strictly linear, but on a > >> paragraph/table/item scale, ignoring hierarchy

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
Hi Nicolas, On Tue, Sep 10, 2013 at 09:48:53PM +0200, Nicolas Goaziou wrote: > Suvayu Ali writes: > > > 1. When traversing the file header, goes one line at a time. I would > >expect to go to the next blank line. In the attached Org file, from > >somewhere on #+TITLE to the blank line

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Nicolas Goaziou
Hello, Suvayu Ali writes: > On Tue, Sep 10, 2013 at 11:02:35AM +0200, Carsten Dominik wrote: >> >> On 10.9.2013, at 10:50, Suvayu Ali wrote: >> >> > On Tue, Sep 10, 2013 at 10:16:06AM +0200, Carsten Dominik wrote: >> >> >> >> The question is: What are people using C-arrow for? >> >> >> >>

Re: [O] How to trigger the clockcheck in an agenda view.

2013-09-10 Thread Nicolas Girard
2013/8/5 Sebastien Vauban : > > Except the above, I definitely don't understand why it wouldn't work for you. > Can you reproduce the problem with a minimal Emacs config file (adding the > require of `org' and `org-agenda' before)? > I think I understand why Rainer has a problem. According to the

[O] Can I ask "Which day is it?" when filtering org-agenda views?

2013-09-10 Thread Trevor Murphy
As preface, I'm aware that I may have gone too far down the rabbit hole. I'm inserting many time grid lines (one per half hour) into my agenda views so I have a visual sense of my free / busy time. But I want time grid lines that have already passed to disappear, freeing up screen real estat

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Jambunathan K
Nicolas Goaziou writes: > When depth isn't involved When I am within a nested list (any arbitray position) and I C-down what should happen? When I am on an headline and I C-down, I find it disconcerting that cursor takes a far

Re: [O] Adding text properties to all Org mode links

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 05:39:58PM +0530, Jambunathan K wrote: > Suvayu Ali writes: > > > I can't see the properties. This is what I tried: > > Did something happen with my snippet? I see a tooltip (which is placed > afar from the link in question) in my machine. Sorry I think I wasn't clear

Re: [O] Adding text properties to all Org mode links

2013-09-10 Thread Jambunathan K
Suvayu Ali writes: > I can't see the properties. This is what I tried: Did something happen with my snippet? I see a tooltip (which is placed afar from the link in question) in my machine. > (add-hook 'org-mode-hook > (lambda nil > ;; (setq-local default-text-properties >

Re: [O] Adding text properties to all Org mode links

2013-09-10 Thread Jambunathan K
Add salt to taste or cookup your own recipe based on the hints here. (add-hook 'org-mode-hook (lambda nil (setq-local default-text-properties '(point-entered org-link-entered-maybe (defun org-link-entered-maybe (op np) (when (derived-mode-p 'or

Re: [O] Adding text properties to all Org mode links

2013-09-10 Thread Suvayu Ali
Hi Jambu, On Tue, Sep 10, 2013 at 12:26:22PM +0530, Jambunathan K wrote: > > Add salt to taste or cookup your own recipe based on the hints here. > > (add-hook 'org-mode-hook > (lambda nil > (setq-local default-text-properties > '(point-entered org-link-en

[O] [PATCH] Allow caption and header text in clocktable dblocks

2013-09-10 Thread Sebastien Vauban
Hello Francesco, "Francesco Pizzolante" wrote: > Nicolas Goaziou wrote: >> "Francesco Pizzolante" writes: >> >>> But if I try what you suggest and move the #+ATTR_LATEX line inside the >>> dynamic block (after the #+BEGIN: clocktable and just before the generated >>> table), then this line gets l

Re: [O] [PATCH] Center currently clocked headline to top of screen

2013-09-10 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: > On Sep 2, 2013, at 4:02 PM, Sebastien Vauban wrote: >> Carsten Dominik wrote: El Thu, 22 Aug 2013 10:36:00 +0200 Sebastien Vauban va escriure: > When jumping to the currently clocked headline (via `C-c C-x C-j'), it > seems (to me) more logi

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 11:02:35AM +0200, Carsten Dominik wrote: > > On 10.9.2013, at 10:50, Suvayu Ali wrote: > > > On Tue, Sep 10, 2013 at 10:16:06AM +0200, Carsten Dominik wrote: > >> > >> The question is: What are people using C-arrow for? > >> > >> I think the main application is reasona

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Carsten Dominik
On 10.9.2013, at 10:50, Suvayu Ali wrote: > On Tue, Sep 10, 2013 at 10:16:06AM +0200, Carsten Dominik wrote: >> >> The question is: What are people using C-arrow for? >> >> I think the main application is reasonably fast motion >> and selection in a *linear* way. Is this correct, or do peopl

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 10:16:06AM +0200, Carsten Dominik wrote: > > The question is: What are people using C-arrow for? > > I think the main application is reasonably fast motion > and selection in a *linear* way. Is this correct, or do people > disagree here with me? I use it for navigating

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Carsten Dominik
On 10.9.2013, at 09:58, Carsten Dominik wrote: > > On 10.9.2013, at 09:53, Suvayu Ali wrote: > >> On Tue, Sep 10, 2013 at 09:32:57AM +0200, Suvayu Ali wrote: >>> On Tue, Sep 10, 2013 at 08:03:32AM +0200, Carsten Dominik wrote: One more thought: What if the paragraph motion command

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Carsten Dominik
On 10.9.2013, at 09:53, Suvayu Ali wrote: > On Tue, Sep 10, 2013 at 09:32:57AM +0200, Suvayu Ali wrote: >> On Tue, Sep 10, 2013 at 08:03:32AM +0200, Carsten Dominik wrote: >>> >>> One more thought: What if the paragraph motion commands did use elements, >>> but >>> ignored the hierarchy. So

Re: [O] How to represent parse-tree so that 'org-element-interpret-data' works?

2013-09-10 Thread Thorsten Jolitz
Thorsten Jolitz writes: > Hi List, > How do I get the printed representation of an org-file parse-tree that can be > reverted to the original org-file with `'org-element-interpret-data'? Ups, I just figured out that this actually works: #+begin_src emacs-lisp (org-element-interpret-data '#1

Re: [O] [BUG] Links are not followed when in tables

2013-09-10 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: > On 10.9.2013, at 06:33, Carsten Dominik wrote: >> On 10.9.2013, at 04:18, Sebastien Vauban wrote: >>> >>> Links (both internal and external) are not followed when in tables. >>> >>> 1. Press RET on links you can find in the table -> RET simply goes to the >

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 09:32:57AM +0200, Suvayu Ali wrote: > On Tue, Sep 10, 2013 at 08:03:32AM +0200, Carsten Dominik wrote: > > > > One more thought: What if the paragraph motion commands did use elements, > > but > > ignored the hierarchy. So they jump to the next headline, paragraph, > >

Re: [O] [BUG] Table not recomputed (incorrect results)

2013-09-10 Thread Carsten Dominik
On 10.9.2013, at 09:49, Sebastien Vauban wrote: > Hi Carsten, > > Carsten Dominik wrote: >> On 10.9.2013, at 04:32, "Sebastien Vauban" wrote: >>> >>> I'm loosing my latin with the following table, which Org declares as >>> "converged" or "already stable". >>> >>> --8<---cut here-

Re: [O] [BUG] Table not recomputed (incorrect results)

2013-09-10 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: > On 10.9.2013, at 04:32, "Sebastien Vauban" wrote: >> >> I'm loosing my latin with the following table, which Org declares as >> "converged" or "already stable". >> >> --8<---cut here---start->8--- >> #+TITLE: Birthday

Re: [O] Outline cycling does not preserve point's position

2013-09-10 Thread Suvayu Ali
On Tue, Sep 10, 2013 at 08:03:32AM +0200, Carsten Dominik wrote: > > One more thought: What if the paragraph motion commands did use elements, but > ignored the hierarchy. So they jump to the next headline, paragraph, table, > src block, item? > > I think this would feel similar to what paragr