bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: todo-mode: pressing "I" when at the end of the line inserts the todo


From: Stephen Berman
Subject: Re: todo-mode: pressing "I" when at the end of the line inserts the todo information at the END of the current line
Date: 13 Nov 2001 15:46:19 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Daniel Ortmann <address@hidden> writes:

[...]
> In GNU Emacs 21.1.1 (sparc-sun-solaris2.7, X toolkit)
[...]
> Pressing "I" when at the end of the line inserts the todo information at
> the END of the current line.  It should add the new information to the
> FRONT of the current line.

This also happens in todo-mode version 1.34, which I use in Emacs
20.7.  In fact, 'I' makes the insertion wherever the cursor happens to
be in the item, even in the middle of a word.  But note that the
function is called 'todo-insert-item-here' and its docstring says:
"Insert new TODO list entry under the cursor."  So perhaps that's just
what the author wanted.  Nevertheless, I agree with you that
this behavior is usually undesirable; the attached patch does what you
want. 

--Steve Berman

Attachment: todo-insert-item-here.patch
Description: todo-insert-item-here patch


reply via email to

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