On 2010-05-10 17:33 +0100, Carsten Dominik wrote: > Hi Bernt, > > can I ask you to try out which of the following lines (or both) cause > the problem? > > + (org-set-local 'comment-start "#") > + (modify-syntax-entry ?\n ">") > > Could you comment one and then the other to check? > > Thanks. > > - Carsten On 2010-05-10 18:04 +0100, Bernt Hansen wrote: > Modified lisp/org.el > diff --git a/lisp/org.el b/lisp/org.el > index d37e64c..7379fff 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -4452,7 +4452,7 @@ The following commands are available: > (org-set-local 'comment-start "#") > (org-set-local 'comment-padding " ") > (modify-syntax-entry ?# "<") > - (modify-syntax-entry ?\n ">") > + ;(modify-syntax-entry ?\n ">") > > ;; Align options lines > (org-set-local This problem doesn't arise in emacs 23. I have tested it with current stable release 23.2 and an old build from 2008 23.0.60 and they behave as expected with org mode pulled from git today. Here's a screenshot to demonstrate.