Re: [Orgmode] bug - #+STARTUP: indent breaks replace priority command

2010-09-09 Thread David Maus
Joseph Buchignani wrote:
>I suspect it can't find where to replace the priority because of
>something in the star hiding mechanism of indent mode.

Fix in master.

The problem was that if org-ident-mode was enabled, the function that
read the new priority cookie destroyed the match data of the regular
expression that check whether there is already a priority cookie or
not.  So Org couldn't replace the old cookie (=what had matched a
regular expression) properly.

Thanks for reporting,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp5PrccwJ2me.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug - #+STARTUP: indent breaks replace priority command

2010-09-09 Thread Joseph Buchignani
This one is very easy to duplicate.

Add the variable #+STARTUP: indent to the top of the org buffer. Hit C-c C-c
with point on the startup variables to refresh the setup.

Create a todo item. Assign it priority A via C-c , A. Then reassign it
priority B via C-c , B.

When indent mode is enabled, you will get an error stating "args out of
range -1, -1"

When indent mode is not enabled, reassigning priorities works.

I suspect it can't find where to replace the priority because of something
in the star hiding mechanism of indent mode.

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode