all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: 19727@debbugs.gnu.org
Cc: Stephen Berman <stephen.berman@gmx.net>
Subject: bug#19727: 25.0.50; setting a todo item to done puts point at the end of the buffer
Date: Wed, 04 Feb 2015 13:48:37 +0100	[thread overview]
Message-ID: <82bnl93kre.fsf@gmail.com> (raw)
In-Reply-To: <827fw5oq1k.fsf@gmail.com>

Stephen Berman <stephen.berman@gmx.net> writes:

> On Thu, 29 Jan 2015 11:10:47 +0100 Robert Pluim <rpluim@gmail.com> wrote:
>
>> when I set an item to done in a todo-mode buffer, point ends up at the
>> end of the buffer, which is somewhat surprising. Attached patch
>> remembers where point was, and restores it.
>
> As the todo-mode.el maintainer, sorry for not responding sooner.

I can carry local patches forever :-)

> I
> guess it's reasonable to leave point where the previously not-done item
> was when the done items section is hidden.  I take it you have no
> objection to the current behavior of point moving to the item just set
> to done when the done items section is visible, since your patch doesn't
> alter that.

I never set the done items to visible, so can't offer an opinion there.

> If so, then I'll install your patch as is (but with a more
> appropriate commit message and ChangeLog entry).  Before I do that, have
> you submitted a copyright assignment for Emacs?  If not, I'll install it
> as a tiny change.  Thanks for the patch.

I don't have a copyright assignment on file.  I have no objection to
doing so if necessary, but for such a small change I suspect it would be
more effort than it's worth.

Regards

Robert






  reply	other threads:[~2015-02-04 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 10:10 bug#19727: 25.0.50; setting a todo item to done puts point at the end of the buffer Robert Pluim
2015-02-03 22:39 ` Stephen Berman
2015-02-04 12:48   ` Robert Pluim [this message]
2015-02-04 21:46     ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82bnl93kre.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=19727@debbugs.gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.