Re: [O] Can't use char ">" in TODO state

2011-10-23 Thread Nicolas Goaziou
Hello, Bastien writes: > Michael Brand writes: > >> It works with this patch >> http://patchwork.newartisans.com/patch/964 >> from Nicolas which I am still using to test it. > If so, then Nicolas please apply it. It really simplifies > the way headlines are matched in many places in the code.

Re: [O] org-capture and XEmacs, indenting too far

2011-10-23 Thread Michael Sperber
Michael Sperber writes: > Robert Pluim writes: > >> Hi, I'm using XEmacs 21.5 (beta29) "garbanzo" d27c1ee1943b+ [Lucid] >> (i686-pc-cygwin, Mule) of Mon Oct 18 2010 on RPluim, with the following >> org-capture-templates >> >> (("t" "Todo" entry (file+headline "~/org/notes.org" "Tasks") "* TODO

Re: [O] org-contacts or bbdb?

2011-10-23 Thread Peter Münster
Thank you all for your points of view! So I'll try bbdb-3. (I've already started a bit.) On Fri, Oct 21 2011, Eric Abrahamsen wrote: > As Rasmus mentioned, if you use BBDB you should get version 3, it's > significantly better than the previous version. There's a slow movement > towards better im

Re: [O] org-capture and XEmacs, indenting too far

2011-10-23 Thread Carsten Dominik
THis looks like the right solution to me... - Carsten On 23.10.2011, at 10:15, Michael Sperber wrote: > > Michael Sperber writes: > >> Robert Pluim writes: >> >>> Hi, I'm using XEmacs 21.5 (beta29) "garbanzo" d27c1ee1943b+ [Lucid] >>> (i686-pc-cygwin, Mule) of Mon Oct 18 2010 on RPluim, wi

[O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread Karl Voit
Hi! In short: Personally I do think that org-aganda-week-view[1] and org-agenda-month-view behave differently. The first one shows today and the upcoming six days whereas the month view shows the current calendar month, independent of the current day. Example problem: Last week I sta

[O] notify, when something to do

2011-10-23 Thread Peter Münster
Hello, I would like to be notified[1], when a todo item enters the warning period, scheduled time, or deadline. I can imagine writing a function, that executes every 5 minutes, that scans all agenda files calling `org-get-[scheduled,deadline]-time', but I hope, that there is already something, th

Re: [O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread suvayu ali
On Sun, Oct 23, 2011 at 12:06, Karl Voit wrote: >  Personally I do think that org-aganda-week-view[1] and >  org-agenda-month-view behave differently. The first one shows >  today and the upcoming six days whereas the month view shows the >  current calendar month, independent of the current day.

Re: [O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread Carsten Dominik
On 23.10.2011, at 12:06, Karl Voit wrote: > Hi! > > In short: > > Personally I do think that org-aganda-week-view[1] and > org-agenda-month-view behave differently. The first one shows > today and the upcoming six days whereas the month view shows the > current calendar month, independent

Re: [O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread Karl Voit
Hi Carsten! * Carsten Dominik wrote: > > You get this view for the weekly agenda only because > org-agenda-start-on-weekday is nil. You can set it to 1 to > make the week agenda start on Monday and then be consistent with > the monthly view. Oh, I see. > You are looking for a view that covers

Re: [O] [RFC] Standardized code block keywords

2011-10-23 Thread Daniel Bausch
Am Freitag, 21. Oktober 2011, 21:10:27 schrieb Thomas S. Dye: > Eric Schulte writes: > >>> I'm confused by [3] so I will say nothing for now, except to ask some > >>> questions: are we talking about what a human would use to label a piece > >>> of data for consumption by a block (including perhaps

Re: [O] [RFC] Standardized code block keywords

2011-10-23 Thread Daniel Bausch
Hi, > named code blocks [1] -- "source" "srcname" "function" > calling external functions [2] -- "call" "lob" > named data [3] -- "tblname" "resname" "results" "data" what about "#+name:" for [1] and [3], and "#+call:" for [2] ? That a table or list contains data is obvi

[O] ELISP (was: Agenda views w/m: inconsistency, bug)

2011-10-23 Thread Karl Voit
* Carsten Dominik wrote: > > You are looking for a view that covers 30 days. > The view you are requesting can be made with > > C-u 30 C-c a a > > or with a simple custom command that sets > org-agenda-span to 30 in the options section > of the command. I am (almost) to afraid to ask here (OT, ne

Re: [O] ELISP

2011-10-23 Thread Memnon Anon
Karl Voit writes: > * Carsten Dominik wrote: >> C-u 30 C-c a a > For now I used: > > ,[ from my .emacs ] > | (defun vk-export-agenda() > | "Exports monthly Org-mode agenda to agenda.ics file" > | (interactive) > | (org-agenda-list) > | (org-agenda-month-view) > | (org-write-agenda

Re: [O] [RFC] Standardized code block keywords

2011-10-23 Thread Thomas S. Dye
Daniel Bausch writes: > Am Freitag, 21. Oktober 2011, 21:10:27 schrieb Thomas S. Dye: >> Eric Schulte writes: >> >>> I'm confused by [3] so I will say nothing for now, except to ask some >> >>> questions: are we talking about what a human would use to label a piece >> >>> of data for consumption

Re: [O] notify, when something to do

2011-10-23 Thread Tassilo Horn
pmli...@free.fr (Peter Münster) writes: Hi Peter, > I would like to be notified[1], when a todo item enters the warning > period, scheduled time, or deadline. I export my org entries as appt alarms, so that I get system notifications 15 minutes before meetings (every 1 minute until I discard the

Re: [O] Can't use char ">" in TODO state

2011-10-23 Thread Nicolas Goaziou
Jambunathan K writes: > Note the regression in TOC with this commit. The HTML file was produced > by C-C C-e b (by org-html.el) with emacs -Q. I think this should be fixed now. Regards, -- Nicolas Goaziou

Re: [O] Odd export of a selected tree

2011-10-23 Thread Eythan Weg
Bastien Sat, 22 Oct 2011 12:35:51 +0200 Hi Eythan, eythan...@gmail.com (Eythan Weg) writes: > Hi, > > Consider a file containing something like: > > * Test :export: > * Test 2 > > > And now export it, say to ascii format.

Re: [O] notify, when something to do

2011-10-23 Thread Tassilo Horn
Tassilo Horn writes: > (defvar th-notify-title-to-id-map (make-hash-table :test 'string=) > "Maps TITLE values of notifications to the last notification ID. > If ID is -1, then any further notifications with that body will > be skipped.") > > (defun th-notify (&rest args) > "Create a notifica

Re: [O] Output to shell when calling emacsclient?

2011-10-23 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > Can't get it to work in Windows, though. In Windows it runs in the gui server > with correct output in Emacs server in the Messages buf and on the minibuf > command line. But not output in the terminal. > In case anyone cares -- I know the number of people us

Re: [O] org-capture and XEmacs, indenting too far

2011-10-23 Thread Bastien
Hello Michael, Michael Sperber writes: > Looking at this again, my analysis was stupid: The problem is that the > indirect buffer used for capture is not in org-mode at all, and that is > indeed an XEmacs-specific problem, as `make-indirect-buffer' does not > accept the 'clone argument on XEmacs

Re: [O] FYI: Org mode testing framework, Emacs 23 and 22

2011-10-23 Thread Bastien
Hello, Eric Schulte writes: > $ time emacs -Q --batch \ > -l ~/.emacs.d/src/org/testing/org-test.el \ > --eval "(setq org-confirm-babel-evaluate nil)" \ > -f org-test-run-batch-tests 2>/dev/null 1>/dev/null \ > 4.00s user 0.44s system 56% cpu 7.834 total > > So at 8 seconds (on my ma

Re: [O] Can't use char ">" in TODO state

2011-10-23 Thread Bastien
Nicolas Goaziou writes: >> If so, then Nicolas please apply it. It really simplifies >> the way headlines are matched in many places in the code. > > I've applied it. Thanks a lot. -- Bastien

Re: [O] notify, when something to do

2011-10-23 Thread Peter Münster
On Sun, Oct 23 2011, Tassilo Horn wrote: > pmli...@free.fr (Peter Münster) writes: > >> I would like to be notified[1], when a todo item enters the warning >> period, scheduled time, or deadline. > > I export my org entries as appt alarms, so that I get system > notifications 15 minutes before mee

Re: [O] notify, when something to do

2011-10-23 Thread Tassilo Horn
pmli...@free.fr (Peter Münster) writes: Hi Peter, > First, I took a look at the lines > > (org-agenda-to-appt t) > (appt-activate 1) > > This is already a good starting point, just 3 remarks: > - I think, I'll need a filter for org-agenda-to-appt, because I only > want TODO items. Should be no

[O] Patch: maintain window configuration when org-agenda-follow-indirect is set

2011-10-23 Thread Dave Abrahams
>From 5adafd491f520908c8ee180c1b0d63d877fa8547 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 23 Oct 2011 14:41:44 -0400 Subject: [PATCH] Maintain stable window configuration when org-agenda-follow-indirect is set Without this change, org-agenda-follow-indirect tends to cause the window

[O] patch: accept lazy filter in org-agenda-to-appt

2011-10-23 Thread Peter Münster
Hello, I use `org-agenda-to-appt' this way: --8<---cut here---start->8--- (org-agenda-to-appt t '((headline "TODO"))) --8<---cut here---end--->8--- But this works only with the following patch: --8<---cut here---

Re: [O] Feature idea: show last log entry

2011-10-23 Thread Dave Abrahams
on Wed Oct 12 2011, Achim Gratz wrote: > Dave Abrahams writes: >> Generally I'm interested in keeping log entries for my Org items for > >> historical purposes only (so I like to stash them away in a :LOGBOOK: >> drawer), but on a day-to-day basis I'm interested in the very latest log >> entry;

Re: [O] Feature idea: show last log entry

2011-10-23 Thread Dave Abrahams
on Wed Oct 12 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> Generally I'm interested in keeping log entries for my Org items for >> historical purposes only (so I like to stash them away in a :LOGBOOK: >> drawer), but on a day-to-day basis I'm interested in the very latest log >> entry

Re: [O] patch: accept lazy filter in org-agenda-to-appt

2011-10-23 Thread Peter Münster
Hello, The following patch replaces the previous one: --8<---cut here---start->8--- === modified file 'lisp/org/org-agenda.el' --- lisp/org/org-agenda.el 2011-09-02 16:38:40 + +++ lisp/org/org-agenda.el 2011-10-23 20:03:11 + @@ -8415,10 +8415,

Re: [O] Feature idea: show last log entry

2011-10-23 Thread Bernt Hansen
Dave Abrahams writes: > on Wed Oct 12 2011, Bernt Hansen wrote: > >> SPC on a task in the agenda opens the task including the drawer > > Actually I think Carsten fixed that > thing-I-thought-was-a-bug-but-you-thought-was-a-feature. At least it > doesn't do that for me anymore. > >> so I can se

Re: [O] Byte compiler warnings

2011-10-23 Thread Bastien
Hi Achim, Achim Gratz writes: >>> In org-agenda-get-blocks: >>> org-agenda.el:5434:42:Warning: assignment to free variable `category-pos' >>> org-agenda.el:5434:20:Warning: reference to free variable >>> `category-pos' >> >> I just fixed this. > > I'm still getting the same error with commit e0c

Re: [O] notify, when something to do

2011-10-23 Thread Bastien
Hi Tassilo, Tassilo Horn writes: > But maybe one could change > `org-agenda-to-appt' to accept also a function as filter. Done. You can now use a fonction as a filter. It will filter through entries. the only mandatory argument for this function will be an entry, i.e. something similar to w

Re: [O] notify, when something to do

2011-10-23 Thread Bastien
Hi Peter, pmli...@free.fr (Peter Münster) writes: > - I think, I'll need a filter for org-agenda-to-appt, because I only > want TODO items. Should be no problem. Yes -- just use a function who tries to match the TODO keyword against the entry. > - How to distinguish between SCHEDULED and DEA

Re: [O] Feature idea: show last log entry

2011-10-23 Thread Dave Abrahams
on Sun Oct 23 2011, Bernt Hansen wrote: > Dave Abrahams writes: > >> on Wed Oct 12 2011, Bernt Hansen wrote: >> >>> SPC on a task in the agenda opens the task including the drawer >> >> Actually I think Carsten fixed that >> thing-I-thought-was-a-bug-but-you-thought-was-a-feature. At least i

Re: [O] Feature idea: show last log entry

2011-10-23 Thread Bernt Hansen
Dave Abrahams writes: > on Sun Oct 23 2011, Bernt Hansen wrote: > >> Dave Abrahams writes: >> >>> on Wed Oct 12 2011, Bernt Hansen wrote: >>> SPC on a task in the agenda opens the task including the drawer >>> >>> Actually I think Carsten fixed that >>> thing-I-thought-was-a-bug-but-you-

Re: [O] "git describe" in version of info file with "make info_git_describe"

2011-10-23 Thread Bernt Hansen
>> On Oct 16, 2011, at 9:12 PM, Michael Brand wrote: >> >>> I made a new patch replacing the previous, now considering the >>> Makefile targets "target" and "help" introduced meanwhile by Achim >>> Gratz and with a shorter name "info-vg" for the new target for easier >>> typing of the make command.

Re: [O] [RFC] Standardized code block keywords

2011-10-23 Thread Torsten Wagner
Hi Eric, Hi Seb, Eric Schulte wrote: We could open an older file and if it isn't working, we could try #+PROPERTY: babel-function-set obsolete I think that making use of such a feature is almost as onerous as changing to the new terms (which is a simple search replace, in fact once terms ar

Re: [O] notify, when something to do

2011-10-23 Thread Tassilo Horn
Bastien wrote: > Hi Tassilo, > > Tassilo Horn writes: > > > But maybe one could change > > `org-agenda-to-appt' to accept also a function as filter. > > Done. You can now use a fonction as a filter. It will > filter through entries. the only mandatory argument for > this function will be

Re: [O] [RFC] Standardized code block keywords

2011-10-23 Thread Daniel Bausch
Am Sonntag 23 Oktober 2011, 18:09:01 schrieben Sie: > Daniel Bausch writes: > > Am Freitag, 21. Oktober 2011, 21:10:27 schrieb Thomas S. Dye: > >> Eric Schulte writes: > >> >>> I'm confused by [3] so I will say nothing for now, except to ask > >> >>> some questions: are we talking about what a hu

Re: [O] patch: accept lazy filter in org-agenda-to-appt

2011-10-23 Thread Bastien
Hi Peter, pmli...@free.fr (Peter Münster) writes: > The following patch replaces the previous one: The patch is correct, thanks. Could you send it using git format-patch, taking care of adding a small ChangeLog for this? Since it is a small change, please add TINYCHANGE at the end of your comm

Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-23 Thread Bastien
Hi Brian, suvayu ali writes: > Ah I see it now, you want the org-timestamp command to work on a > region. Maybe you can write your own function with lisp if you are > doing this too often. Should be quite simple to try. Please check `org-loop-over-headlines-in-active-region' from latest git rep

Re: [O] BUG: footnote conflicts with code export to pdf

2011-10-23 Thread zwz
Nick Dokos writes: > zwz wrote: > >> Steps to reproduce it: >> >> This org file can be exported to pdf correctly. >> #+begin_src org >> * test >> #+BEGIN_SRC c >> void main(){ >> int a; >> } >> #+END_SRC >> #+end >> >> Then you modify it: >> #+begin_src org >> * test >> #+BEGIN_S

[O] Monthly Agenda View Start Date

2011-10-23 Thread Ian Barton
I have just started using the month view in Agenda. However, it displays the whole of the current month, starting from the first. What I really want is to display a month's view from today. I relize that I can do this with a custom Agenda command, but is there aready some variable I can set tha

Re: [O] Monthly Agenda View Start Date

2011-10-23 Thread Carsten Dominik
Hi Ian, actually, there was a thread about this yesterday: thread.gmane.org/gmane.emacs.orgmode/48290/focus=48290 On Oct 24, 2011, at 8:34 AM, Ian Barton wrote: > I have just started using the month view in Agenda. However, it displays the > whole of the current month, starting from the first.