org-mode/lisp
Michael Sperber 2d296c12ea org-capture and XEmacs, indenting too far
Robert Pluim <rpluim@gmail.com> 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 %?"))
>
> The problem is that for some reason the resulting TODO heading is has 2
> extra spaces, and is placed at too deep a level, giving:
>
> * Tasks
> ***   TODO a task
>
> I've tested this on a fairly recent emacs24 build, and everything works
> fine there, so this is probably something XEmacs specific.  Can anyone
> suggest any way to track this down (I'd bisect, but I've yet to find a
> 'good' version)?

I finally got around to looking into this: The reason is that, in
org-capture mode, `outline-level' is bound to outline.el's function,
which is off by one compared to org-mode's.  I used this patch to fix
it:

Could somebody review and maybe apply this?
2011-10-26 19:49:51 +02:00
..
ob-asymptote.el
ob-awk.el
ob-C.el
ob-calc.el
ob-clojure.el
ob-comint.el
ob-css.el
ob-ditaa.el
ob-dot.el
ob-emacs-lisp.el
ob-eval.el
ob-exp.el
ob-gnuplot.el
ob-haskell.el
ob-java.el
ob-js.el
ob-keys.el
ob-latex.el
ob-ledger.el
ob-lilypond.el Remove the "Version" header in Org libraries (leave it in org.el). 2011-08-17 14:42:34 +02:00
ob-lisp.el
ob-lob.el
ob-matlab.el
ob-maxima.el
ob-mscgen.el
ob-ocaml.el
ob-octave.el
ob-org.el
ob-perl.el
ob-plantuml.el
ob-python.el
ob-R.el
ob-ref.el
ob-ruby.el
ob-sass.el
ob-scheme.el
ob-screen.el
ob-sh.el
ob-shen.el
ob-sql.el
ob-sqlite.el
ob-table.el
ob-tangle.el better delimiting of Org-mode text preceding a code block 2011-09-16 09:52:34 -06:00
ob.el
org-agenda.el
org-archive.el
org-ascii.el
org-attach.el
org-bbdb.el
org-beamer.el
org-bibtex.el
org-capture.el
org-clock.el
org-colview-xemacs.el
org-colview.el
org-compat.el
org-crypt.el
org-ctags.el
org-datetree.el
org-docbook.el
org-docview.el
org-entities.el
org-exp-blocks.el
org-exp.el
org-faces.el
org-feed.el
org-footnote.el
org-freemind.el
org-gnus.el
org-habit.el
org-html.el
org-icalendar.el
org-id.el
org-indent.el
org-info.el
org-inlinetask.el
org-irc.el
org-jsinfo.el
org-latex.el
org-list.el
org-mac-message.el
org-macs.el
org-mew.el
org-mhe.el
org-mks.el
org-mobile.el
org-mouse.el
org-pcomplete.el
org-plot.el
org-protocol.el
org-publish.el
org-remember.el
org-rmail.el
org-special-blocks.el
org-src.el
org-table.el
org-taskjuggler.el
org-timer.el
org-vm.el
org-w3m.el
org-wl.el
org-xoxo.el
org.el