Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
At Thu, 30 Jun 2011 21:28:08 +0200, David Maus wrote: > > At Thu, 30 Jun 2011 11:12:15 +0200, > Bastien wrote: > > > > Hi Paul, > > > > Paul Sexton writes: > > > > > I think there's an error in 'org-without-partial-completion' in > > > org-macs.el. > > > The variable pc-mode gets bound to the

Re: [O] Move to item to the bottom

2011-07-02 Thread Nicolas Goaziou
Hello, Marcelo de Moraes Serpa writes: >> Or are we talking about two different things? > > Not sure, maybe. What I mean is: > > gtd.org file: > > * TODO Blah > * TODO Foo > * TODO bar [...] That's what I thought. You are talking about headlines whereas my code was about plain lists: - Blah -

Re: [O] foot note / enumeration question

2011-07-02 Thread Nicolas Goaziou
Hello, Robert Klein writes: > A file of > > #+begin_example > * Title > > This is a text [fn:: the > 1. footnote] with a footnote. > #+end_example > > begins an enumeration inside the footenote and then > forgets to close the footnote (which in LaTeX export > gets closed at the next \section or

Re: [O] Move to item to the bottom

2011-07-02 Thread Bastien
Nicolas Goaziou writes: > That's what I thought. You are talking about headlines whereas my code > was about plain lists: FWIW, I was also talking about plain lists, not headlines. -- Bastien

Re: [O] [PATCH] Fix some #+ blocks fontification when there is no lang attribute

2011-07-02 Thread Bastien
Eric Schulte writes: > Fixed. Thanks for reporting -- Eric Er, thanks for fixing this typo Eric. -- Bastien

Re: [O] [PATCH] Add org-lparse and org-odt as contrib modules

2011-07-02 Thread Bastien
Jambunathan K writes: >>From 9b97d19c1184d3cf2cc82831e3d29067cf91f014 Mon Sep 17 00:00:00 2001 > From: Jambunathan K > Date: Sat, 2 Jul 2011 01:56:01 +0530 > Subject: [PATCH] Add org-lparse and org-odt as contrib modules Applied, thanks. I removed org-lparse.el from org-modules, I think users

Re: [O] Org-mode is not able to manage complex calendar events

2011-07-02 Thread Bastien
Hi Karl, Karl Voit writes: > For example. > > Or an extended syntax of the existing timestamps as I suggested > somewhere in this thread: > > <2011-07-01 Fri +1w> <-2011-07-08 Fri> > > ... or similar for an exception of a recurring event. thanks for the suggestion, I saw it in your previous

[O] [Accepted] Add org-lparse and org-odt as contrib modules

2011-07-02 Thread Bastien Guerry
Patch 818 (http://patchwork.newartisans.com/patch/818/) is now "Accepted". Maintainer comment: Removed org-lparse.el from org-modules This relates to the following submission: http://mid.gmane.org/%3C817h817nfj.fsf%40gmail.com%3E Here is the original message containing the patch: > Content-Typ

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread Bastien
Hi David and Paul, David Maus writes: > #+begin_src emacs-lisp > (defmacro org-without-partial-completion (&rest body) > `(when (and (boundp 'partial-completion-mode) > (fboundp 'partial-completion-mode)) >(unwind-protect >(progn > (partial-

Re: [O] Function: Extract link location to killring

2011-07-02 Thread Bastien
Memnon, Eric, Memnon Anon writes: > (defun my-extract-link () > "Extract the link location at point and put it on the killring." > (interactive) > (when (org-in-regexp org-bracket-link-regexp 1) > (kill-new (org-link-unescape (org-match-string-no-properties 1) Eric S Fraga writes

Re: [O] :table-line-pos is not document in the manual

2011-07-02 Thread Bastien
Hi Darlan, Darlan Cavalcante Moreira writes: > While reading the manual, I noticed that the :table-line-pos property is > not documented. It is documented in the org-capture-templates variable, > but not in the manual. Just a follow-up on this: I see it has already been fixed and appear in the

Re: [O] problem with utf8 todo keywords

2011-07-02 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Try this: > > (add-hook 'org-mode-hook >(lambda () > (modify-syntax-entry (string-to-char "\u25b6") "w") > (modify-syntax-entry (string-to-char "\u25b8") "w"))) > > > Matt, maybe this information could go into the FAQ? Added -- the section is

Re: [O] how to change the headline starter *

2011-07-02 Thread Bastien
Hi Darlan, Darlan Cavalcante Moreira writes: > I don't think this is possible. The "*" as a headline starter seems to be > hard-coded in org. I confirm this is not possible, it's hardcoded in outline-mode, and Org is derived from this mode. As this is a FAQ, I added an entry in Worg/org-faq.or

Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Olaf Dietsche
Herbert Sitz writes: > I'm making a call to an emacsclient and trying to figure out how to get the > buffer to unload at the end of the function I'm calling. I know kill-buffer > isn't supposed to unload the buffer but I can't figure out what will. I've > tried server-edit and server-kill-buffe

Re: [O] Org-mode is not able to manage complex calendar events

2011-07-02 Thread Karl Voit
* Bastien wrote: > Hi Karl, Hi! > Karl Voit writes: > > The idea behind some helper commands to let people construct diary > sexp is that: > > - it won't complexify Org's syntax about timestamps > - such help commands can be maintained and improved independantly > from Org I see the benefi

Re: [O] org table calc and lisp for hh:mm timetable

2011-07-02 Thread Bastien
Hi all, Carsten Dominik writes: > How about introducing another flag for the formula to turn > on time string processing like this? I've implemented this. You can now use the "T" flag to compute durations: | Task 1 | Task 2 | Total | |++-| | 35:00 | 35:00 | 1:10:0

Re: [O] FAQ?

2011-07-02 Thread Bastien
Hi all, Marcel van der Boom writes: > Definitely, especially the part about what is considered a proper > outline according to org-mode. Patch welcome! Or even just a paragraph and a section's title for this FAQ. -- Bastien

Re: [O] ob-lilypond

2011-07-02 Thread Martyn Jago
Hi On 1 Jul 2011, at 20:27, Eric Schulte wrote: >>> > I can't reproduce this problem, for example the following works for me > on the latest version of Org-mode. I think perhaps you may not be on > the latest git HEAD. > > Thanks again for this great contribution -- Eric > > ** define a block

Re: [O] Bug: org-time-stamp loses repeater interval

2011-07-02 Thread Bastien
I want to enforce a policy of having SCHEDULED, DEADLINED and CLOSED always on the *same line* -- which is the default behavior when using the command. Would that break too many .org files? -- Bastien

Re: [O] Bug: org-time-stamp loses repeater interval

2011-07-02 Thread Bastien
Hi Nick, Nick Dokos writes: > The other thing that I *think* I ran into is that occasionally, with a > DEADLINE and SCHEDULED on the same line, changing one would change the > *order*. I did wonder whether org was chronologically ordering them, but > that was not the case. It is now -- most re

Re: [O] Bug: org-time-stamp loses repeater interval

2011-07-02 Thread Bastien
Hi Karl, Karl Voit writes: > Remark regarding the order of the two entries: the last thing that > gets added/modified is always the last one in this line. So if I > create SCHEDULED and DEADLINE, DEADLINE is the second (last) in the > line. When I modify SCHEDULED afterwards, it is SCHEDULED tha

Re: [O] [PATCH] Documentation on placement options in LaTeX export

2011-07-02 Thread Bastien
Hi Suvayu, sorry for the late answer, I just tried to apply your patch but there are conflicts with the most recent version of org.texi -- would you mind getting the latest git org-mode.git and replay your changes against it? I could then apply your patch. Thanks! -- Bastien

Re: [O] caching and code execution on export

2011-07-02 Thread Ista Zahn
Fantastic, the latest git version now works as expected. Thank you! On Fri, Jul 1, 2011 at 3:57 PM, Eric Schulte wrote: > Ista Zahn writes: > >> Hi all, >> I'm giving org-babel another go after a recent retreat back to Sweave. >> I'm having problems with code being executed on export, even when

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
At Sat, 02 Jul 2011 11:26:59 +0200, Bastien wrote: > > Hi David and Paul, > > David Maus writes: > > > #+begin_src emacs-lisp > > (defmacro org-without-partial-completion (&rest body) > > `(when (and (boundp 'partial-completion-mode) > > (fboundp 'partial-completion-mode)) >

[O] Bugs and patches hunt before tomorrow

2011-07-02 Thread Bastien
Dear all, if there is important bugs and patches left, please resubmit them before tomorrow, as we will release 7.6 tomorrow. Have a good day! -- Bastien

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread Nick Dokos
David Maus wrote: > #+begin_src emacs-lisp > (defmacro org-without-partial-completion (&rest body) > `(when (and (boundp 'partial-completion-mode) > (fboundp 'partial-completion-mode)) >(unwind-protect >(progn > (partial-completion-mode -1)

Re: [O] Bugs and patches hunt before tomorrow

2011-07-02 Thread David Maus
At Sat, 02 Jul 2011 16:05:23 +0200, Bastien wrote: > > Dear all, > > if there is important bugs and patches left, please resubmit > them before tomorrow, as we will release 7.6 tomorrow. Three patches, byte compiler complains with Emacs 22, one for a accidentally scoped variable in org-latex's pre

Re: [O] Bugs and patches hunt before tomorrow

2011-07-02 Thread David Maus
At Sat, 02 Jul 2011 16:05:23 +0200, Bastien wrote: > > Dear all, > > if there is important bugs and patches left, please resubmit > them before tomorrow, as we will release 7.6 tomorrow. And resubmit of this one: http://article.gmane.org/gmane.emacs.orgmode/43235 From 6ad9f33ccb2d8702dd1d4375dd8

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
At Sat, 02 Jul 2011 10:40:31 -0400, Nick Dokos wrote: > > David Maus wrote: > > > > #+begin_src emacs-lisp > > (defmacro org-without-partial-completion (&rest body) > > `(when (and (boundp 'partial-completion-mode) > > (fboundp 'partial-completion-mode)) > >(unwind-pr

Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Herbert Sitz
> (defun test-kill-buffer (fname exp-function) > (let ((buf (find-file fname))) > (funcall exp-function) > (kill-buffer buf))) > > (test-kill-buffer "/tmp/abc.txt" 'some-function-to-call) > > will do the trick. > > Regards, Olaf Olaf -- Beauteous, thank you, that did indeed do the

[O] [PATCH 1/2] org-lparse/org-odt: Add docstring. Silence byte-compiler

2011-07-02 Thread Jambunathan K
I am attaching two org-odt patches for inclusion. Both are desirable and not mandatory. >From 38d0dcbc921d69ba55c3a5bb3a219204800370c9 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Sat, 2 Jul 2011 16:51:38 +0530 Subject: [PATCH 1/2] org-lparse/org-odt: Add docstring. Silence byte-compiler.

[O] [PATCH 2/2] doc/org.texi: Add a new node for OpenDocumentText exporter

2011-07-02 Thread Jambunathan K
>From 1177aa67678e2c9b0fd1d65cd0d87436fd63a08e Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Sat, 2 Jul 2011 22:40:18 +0530 Subject: [PATCH 2/2] doc/org.texi: Add a new node for OpenDocumentText exporter --- doc/org.texi | 180 +++-- 1 fi

Re: [O] [PATCH 2/2] doc/org.texi: Add a new node for OpenDocumentText exporter

2011-07-02 Thread Jambunathan K
> +If you are using Org that comes bundled with Emacs, then you can install the > +OpenDocumentText exporter using the package manager. To do this, customize > +the variable @code{package-archives} to include > +@uref{http://orgmode.org/pkg/releases/} as one of the package archives. > +@end enumer

[O] #+call: and file link

2011-07-02 Thread Thomas S. Dye
Aloha all, I have a generic R function that creates a plot and returns a link to the file in the #+results: line. When I #+call: the function as follows the plot file is output correctly, but the #+results: line doesn't contain a link. #+call: dated-events-plot[:file out.pdf](bcal=test, theme=

Re: [O] #+call: and file link

2011-07-02 Thread Christian Moe
Aloha, Try this (should be one line): #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") :results file Yours, Christian On 7/2/11 8:45 PM, Thomas S. Dye wrote: Aloha all, I have a generic R function that creates a plot and returns a link to the file in the #+results: line.

Re: [O] Move to item to the bottom

2011-07-02 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: > >> It needs a better optimization (my excuse for >> `org-list-delete-item'). I will work on it tonight. > > Thanks! I've pushed a draft to: git://github.com/ngz/org-mode-lists.git move-cycle The branch is made of two patches. T

Re: [O] #+call: and file link

2011-07-02 Thread Thomas S. Dye
Aloha Christian, Thanks! That's just what I wanted. All the best, Tom Christian Moe writes: > Aloha, > > Try this (should be one line): > > #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") > :results file > > Yours, > Christian > > > > On 7/2/11 8:45 PM, Thomas S. Dye wrote:

Re: [O] Subtly hightling task backgrounds

2011-07-02 Thread John Wiegley
On Jul 1, 2011, at 3:53 AM, Bastien wrote: > John Wiegley writes: > >> To achieve this, I have the following in my todo file: > > Nice -- maybe a more general implementation would be to let > users assign a color to a category, which is really one defcustom > away from your code. Would you be

Re: [O] Function: Extract link location to killring

2011-07-02 Thread Memnon Anon
Bastien writes: > These two snippets could live on Worg -- can anyone add this to > org-hacks.el (or any relevant place)? Done. Hope everythings okay, will check the html export when I wake up. , | commit d0d55a275fa2a78b864ed8eec48ed205aaae42f5 | Author: Memnon Anon | Date: Sun Jul 3 0

[O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams
Hi all, I used to have (define-key org-mode-map "\M-/" 'org-complete) in my .emacs. Now that there is no org-complete function, what should I bind to `M /' in org buffers? Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com

Re: [O] What happened to org-complete?

2011-07-02 Thread Nick Dokos
Dave Abrahams wrote: > > Hi all, > > I used to have > > (define-key org-mode-map "\M-/" 'org-complete) > > in my .emacs. Now that there is no org-complete function, what should I > bind to `M /' in org buffers? > I think pcomplete, normally bound to M-TAB: , | pcomplete is an inter

[O] Orgmode Capture to Insert a Mairix Link in VM

2011-07-02 Thread Memnon Anon
Hi Gmane! , | Problem -- inserting a Mairix type link when calling Orgmode capture in | VM. Also, opening the link from an Orgmode buffer should retrieve the | message thread through a Mairix search and display it in a VM folder. ` Rest ("rather crude solution") here: http://robert-adesam

Re: [O] Move to item to the bottom

2011-07-02 Thread Marcelo de Moraes Serpa
Nicolas, the function works quite well! Thanks. Just one last request: Is it possible to not follow the item until the bottom? The issue is that, once running it and when the item is sent to the bottom of the file, the pointer is also put there and the buffer scrolls down with it. Cheers, M> On

Re: [O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams
on Sat Jul 02 2011, Nick Dokos wrote: > Dave Abrahams wrote: > >> I used to have >> >> (define-key org-mode-map "\M-/" 'org-complete) >> >> in my .emacs. Now that there is no org-complete function, what should I >> bind to `M /' in org buffers? >> > > I think pcomplete, normally bound to

Re: [O] What happened to org-complete?

2011-07-02 Thread Ryan Reynolds
On Jul 2, 2011, at 21:06, Dave Abrahams wrote: >>> >> >> > Doesn't every OS GUI bind > `M-TAB' to a window switcher by default? The default Meta key in Mac OS is Option, and window switcher is Command-Tab. So while it's not a completely useless default, it does leave 2 out of 3 major OSes out in

Re: [O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams
on Sat Jul 02 2011, Ryan Reynolds wrote: > On Jul 2, 2011, at 21:06, Dave Abrahams wrote: >>> >>> >> Doesn't every OS GUI bind >> `M-TAB' to a window switcher by default? > > The default Meta key in Mac OS is Option, and window switcher is > Command-Tab. Yes, but of course, like I'm sure