Re: [O] hook for inserting headlines

2015-01-13 Thread Marcin Borkowski
On 2015-01-14, at 01:18, Subhan Michael Tindall subh...@familycareinc.org wrote: Is there a hook that is run with creating a new headline in org mode? I have several properties that I always set for working todos I'd like to have them automatically created when I make a new headline (say

[O] [PATCH] org-rss-headline

2015-01-13 Thread Nicolas Petton
Hi guys, I'm a happy user of ox-rss.el, but was annoyed the other day when I wanted to export an article with a headline containing markup. The problem is that org-rss-headlines uses the raw-value of the headline to export the title, which could contain any markup. Here's a patch that uses the

[O] org-insert-link and gnus: format of the list of links

2015-01-13 Thread Uwe Brauer
Hello I can't remember to have set anything special, but when I type org-insert-link I obtain a link of all my emails (using Xemacs 21.5.33, org-mode 7.8 and the latest git version of gnus.) The list is as follows gnus:nnimap+UCMgmail:INBOX#5493f390.5050...@ucm.es (Email from Jorge J. Gómez

Re: [O] Comments in @example in org.texi

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I pushed a commit that removs the ()-comments I could find. Thank you. Regards,

Re: [O] [PATCH] org-rss-headline

2015-01-13 Thread Nicolas Goaziou
Hello, Nicolas Petton nico...@petton.fr writes: I'm a happy user of ox-rss.el, but was annoyed the other day when I wanted to export an article with a headline containing markup. What problem did you encounter? The problem is that org-rss-headlines uses the raw-value of the headline to

[O] [Bug] org-drill leeches

2015-01-13 Thread Marco Wahl
Hi group and Paul, some of my drill items have become tagged as leech. This causes the next drill session to fail. I fixed this like so: #v+ 1 file changed, 1 insertion(+), 1 deletion(-) contrib/lisp/org-drill.el | 2 +- Modified contrib/lisp/org-drill.el diff --git

Re: [O] org-download.el

2015-01-13 Thread Rainer M Krug
briangpowell . briangpowel...@gmail.com writes: * https://github.com/abo-abo/org-download/blob/master/org-download.el has: ... (defcustom org-download-backend t Method to use for downloading. :type '(choice (const :tag wget wget \%s\ -O \%s\) (const :tag curl curl

Re: [O] org-download.el

2015-01-13 Thread briangpowell .
* https://github.com/abo-abo/org-download/blob/master/org-download.el has: ... (defcustom org-download-backend t Method to use for downloading. :type '(choice (const :tag wget wget \%s\ -O \%s\) (const :tag curl curl \%s\ -o \%s\) (const :tag url-retrieve t))

Re: [O] Comments in @example in org.texi

2015-01-13 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: In org.texi, sometimes examples have comments with (·) and sometimes with @r{·}. E.g. @example #+TOC: headlines 1 local (insert local TOC, with direct children only) @end example And @example #+INCLUDE: ~/.emacs :lines 5-10

[O] End Section with \clearpage

2015-01-13 Thread Rainer M Krug
Hi I want to add after some sections a \clearpage which works, But the \clearpage is part of the last header: , | * Subsection to be ended with clearpage | ** Sub-section | some text | *** sub-sub-section | Some more text | | \clearpage | | * Next Subsection | * Last subsection ` Is

Re: [O] End Section with \clearpage

2015-01-13 Thread Rasmus
Hi, Rainer M Krug rai...@krugs.de writes: I want to add after some sections a \clearpage which works, But the \clearpage is part of the last header: , | * Subsection to be ended with clearpage | ** Sub-section | some text | *** sub-sub-section | Some more text | | \clearpage |

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I was putting this to further support another solution, namely moving hyperref to a single defcustom, allowing hyperref to be inserted after all other header-lines. As you pointed out already, moving hyperref after all other header lines introduces problems with

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: As said, I'd prefer load hyperref via org-latex-hyperref-template, but it's probably too big a change too late. Though, it would resolve the issue that if I do (setq org-latex-default-packages-alist (delete '( hyperref nil)

Re: [O] Table of contents for just one section?

2015-01-13 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: As said, I'd prefer load hyperref via org-latex-hyperref-template, but it's probably too big a change too late. Though, it would resolve the issue that if I do (setq org-latex-default-packages-alist

Re: [O] contribution: ob-php

2015-01-13 Thread Nicolas Goaziou
Hello, Hex h...@neg9.org writes: I use org mode for code review quite a bit. It's awesome to be able to throw snippets of code in a doc and be able to verify fixes within the doc. I noticed there's no PHP mode (and totally understand why seeing as how literate programming is a keyword ;) so

Re: [O] Fwd: demoting a heading inserts spaces in column-0 text

2015-01-13 Thread Nicolas Goaziou
Daniel Clemente n142...@gmail.com writes: Another option would be to have another option to indent only planning info, properties drawer, and every drawer located right after it, à la `org-log-state-notes-insert-after-drawers'. At least, it couldn't break structure. Is this possible?

Re: [O] Table of contents for just one section?

2015-01-13 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: I was putting this to further support another solution, namely moving hyperref to a single defcustom, allowing hyperref to be inserted after all other header-lines. As you pointed out already, moving hyperref after

[O] Comments in @example in org.texi

2015-01-13 Thread Rasmus
Hi, In org.texi, sometimes examples have comments with (·) and sometimes with @r{·}. E.g. @example #+TOC: headlines 1 local (insert local TOC, with direct children only) @end example And @example #+INCLUDE: ~/.emacs :lines 5-10 @r{Include lines 5 to 10, 10 excluded} @end

Re: [O] Table of contents for just one section?

2015-01-13 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: As you pointed out already, moving hyperref after all other header lines introduces problems with another set of packages. Therefore, we could end up with package combinations that this variable couldn't handle. Of which we do not rely at the moment. Of course,

[O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Sebastien Vauban
Hello, I sometimes (or often?) have the above error when pressing `C-c C-v C-d' onto some region (to put it in a code block). Org is supposed to ask me which language it is for, and then wrap my selection with the right #+begin/end_src markers. Instead, I get the args out of range error. I

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Nicolas Richard
Hello, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: I tried to edebug the function `org-babel-demarcate-block' and the error arises quite at the beginning: on the `match-string 0', on the second line of the `let*'. The error means we tried to access portions

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Nicolas Goaziou
Hello, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: I sometimes (or often?) have the above error when pressing `C-c C-v C-d' onto some region (to put it in a code block). Org is supposed to ask me which language it is for, and then wrap my selection with the

Re: [O] Order of drawers will be checked i nnew org version

2015-01-13 Thread Stefan-W. Hahn
Mail von Marco Wahl, Mon, 12 Jan 2015 at 22:01:15 +0100: Hello, See etc/ORG-NEWS or http://orgmode.org/cgit.cgi/org-mode.git/plain/etc/ORG-NEWS. Find there also a repair function (thanks to Nicolas.) Mea culpa. And thanks for the hint. After applying the code to all my org files everything

Re: [O] Comments in @example in org.texi

2015-01-13 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Or should we try to make it more coherent? IMO @r{.} should be used everywhere in these situations. I pushed a commit that removs the ()-comments I could find. —Rasmus -- m-mm-mmm- bacon!

Re: [O] org-download.el

2015-01-13 Thread Chao Lu
Thanks for the advice, but I've wget and curl installed through Mac ports. $ which crul= /usr/texbin/curl $ which wget = /usr/texbin/wget And the value of my exec-path is: (/usr/bin /bin /usr/sbin /sbin /Applications/Documents/Emacs.app/Contents/MacOS/libexec

Re: [O] [PATCH] org-rss-headline

2015-01-13 Thread Nicolas Petton
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Nicolas Petton nico...@petton.fr writes: I'm a happy user of ox-rss.el, but was annoyed the other day when I wanted to export an article with a headline containing markup. What problem did you encounter? If the headline contains

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Sebastien Vauban
Hello both Nicolas, Nicolas Richard wrote: Sebastien Vauban writes: I tried to edebug the function `org-babel-demarcate-block' and the error arises quite at the beginning: on the `match-string 0', on the second line of the `let*'. The error means we tried to access portions from 0 to 1 in a

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: This still leaves me with one question: how do we reproduce the problem? What's the trigger for it? Mostly luck. i.e. you need to have called a function that callled string-match on a string, with a regexp containing

Re: [O] [PATCH] org-rss-headline

2015-01-13 Thread Nicolas Goaziou
Nicolas Petton nico...@petton.fr writes: If the headline contains *bold* text for example, the RSS item title will have the extras * characters, since it's using the :raw-value. OK. But what is expected instead? HTML markup? Nothing at all? Ok. What about an :RSS_TITLE property? Or should I

Re: [O] [PATCH] org-rss-headline

2015-01-13 Thread Nicolas Petton
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Nicolas Petton nico...@petton.fr writes: If the headline contains *bold* text for example, the RSS item title will have the extras * characters, since it's using the :raw-value. OK. But what is expected instead? HTML markup? Nothing at all?

[O] hook for inserting headlines

2015-01-13 Thread Subhan Michael Tindall
Is there a hook that is run with creating a new headline in org mode? I have several properties that I always set for working todos I'd like to have them automatically created when I make a new headline (say when I hit return at the end of it) IE: ,*** this is a sample headline hit enter here