* bug - #+STARTUP: indent breaks replace priority command
@ 2010-09-09 8:59 Joseph Buchignani
2010-09-09 19:02 ` David Maus
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Buchignani @ 2010-09-09 8:59 UTC (permalink / raw)
To: Emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 788 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 891 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bug - #+STARTUP: indent breaks replace priority command
2010-09-09 8:59 bug - #+STARTUP: indent breaks replace priority command Joseph Buchignani
@ 2010-09-09 19:02 ` David Maus
0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2010-09-09 19:02 UTC (permalink / raw)
To: Joseph Buchignani; +Cc: Emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 590 bytes --]
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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-09 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 8:59 bug - #+STARTUP: indent breaks replace priority command Joseph Buchignani
2010-09-09 19:02 ` David Maus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.