emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Orgmode 8.0.2: Possible bug in `org-insert-heading` when invoked


From: Anupam Sengupta
Subject: Re: [O] Orgmode 8.0.2: Possible bug in `org-insert-heading` when invoked at end of a heading with a property
Date: Tue, 14 May 2013 23:42:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

All,

Finally found the cause of the issue I had reported a few weeks back:

    Anupam> Looks like M-RET (`org-insert-heading`), and it's equivalent
    Anupam> M-S-RET (`org-insert-todo-heading`) are behaving a little
    Anupam> erratically when invoked from the _end_ of a heading that
    Anupam> has a property drawer.

[...]

    Anupam> behavior when M-RET is invoked from the _end_ of the line
    Anupam> is:
    Anupam> *** A Heading with a Drawer
    Anupam>     :PROPERTIES:
    Anupam>     :CATEGORY: TEST
    Anupam>     :END:
    Anupam>     *** <----- The second item's outline
    Anupam>     ^^^ Note that the second item's outline got indented,
    Anupam>         and has leading spaces (indented?)

Basically, the issue is that there is a bad interplay with the
`electric-indent-mode`, which is causing the additional indentation to
be added during the invocation of `org-insert-heading`.

Apologies for the noise, and hopefully this helps someone.  It might be
useful to add this minor mode in the list of conflicts in the manual
also.

Regards,
--
Anupam
    






reply via email to

[Prev in Thread] Current Thread [Next in Thread]