Re: [O] hook for inserting headlines

2015-01-13 Thread Marcin Borkowski
On 2015-01-14, at 01:18, Subhan Michael Tindall 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 when I hit return > a

[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 ,*** this is

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

2015-01-13 Thread Nicolas Petton
Nicolas Goaziou writes: > Nicolas Petton 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? I'd say the content of headline w

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

2015-01-13 Thread Nicolas Goaziou
Nicolas Petton 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 have a look at

Re: [O] Args out of range: #, 0, 1

2015-01-13 Thread Nicolas Richard
Sebastien Vauban 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 (at least) 4 grouping constructs, and the 4th mat

Re: [O] Args out of range: #, 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 t

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

2015-01-13 Thread Nicolas Petton
Nicolas Goaziou writes: > Hello, > > Nicolas Petton 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 *bold* text for example, the RSS i

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

2015-01-13 Thread Nicolas Goaziou
Hello, Nicolas Petton 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 export the title

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

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

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

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

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" "/Applications/Docum

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

2015-01-13 Thread Rasmus
Nicolas Goaziou 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] Args out of range: #, 0, 1

2015-01-13 Thread Nicolas Goaziou
Hello, Sebastien Vauban 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 right #+begin/end_src markers. Instead, I get

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 everythin

Re: [O] Args out of range: #, 0, 1

2015-01-13 Thread Nicolas Richard
Hello, 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 buffer. That doesn't exist. The

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

2015-01-13 Thread Nicolas Goaziou
Rasmus 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, but I'

[O] Args out of range: #, 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 tri

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

2015-01-13 Thread Nicolas Goaziou
Hello, Rasmus 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" @r{In

[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} @e

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

2015-01-13 Thread Rasmus
Nicolas Goaziou writes: > Rasmus 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 >

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

2015-01-13 Thread Nicolas Goaziou
Daniel Clemente 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] contribution: ob-php

2015-01-13 Thread Nicolas Goaziou
Hello, Hex 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 I wrote

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

2015-01-13 Thread Nicolas Goaziou
Rasmus 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 another set

Re: [O] End Section with \clearpage

2015-01-13 Thread Rasmus
Hi, Rainer M Krug 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 Rasmus
Nicolas Goaziou writes: > Rasmus 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 '("" "hyperre

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

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

2015-01-13 Thread Nicolas Goaziou
Rasmus 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) > org-late

[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 a/contrib/lisp/or

Re: [O] org-download.el

2015-01-13 Thread Rainer M Krug
"briangpowell ." 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 "ur