From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs 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 Organization: not if I can help it Message-ID: <82bnl93kre.fsf@gmail.com> References: <827fw5oq1k.fsf@gmail.com> <87egq6bow1.fsf@gmx.net> Reply-To: bug-gnu-emacs@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423056506 19728 80.91.229.3 (4 Feb 2015 13:28:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 13:28:26 +0000 (UTC) Cc: Stephen Berman To: 19727@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 14:28:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ002-0007Pr-PR for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 14:28:10 +0100 Original-Received: from localhost ([::1]:36299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ002-00065u-7n for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 08:28:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzzy-00065o-7z for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIzzu-0004Gy-OK for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:28:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzzu-0004Gu-LF for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YIzzu-0007de-43 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:28:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <827fw5oq1k.fsf@gmail.com> Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Feb 2015 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142305642829296 (code B ref -1); Wed, 04 Feb 2015 13:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2015 13:27:08 +0000 Original-Received: from localhost ([127.0.0.1]:33479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIzz0-0007cP-5g for submit@debbugs.gnu.org; Wed, 04 Feb 2015 08:27:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIzyw-0007bs-Pf for submit@debbugs.gnu.org; Wed, 04 Feb 2015 08:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIzyq-0003vu-E9 for submit@debbugs.gnu.org; Wed, 04 Feb 2015 08:26:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzyq-0003vo-Bn for submit@debbugs.gnu.org; Wed, 04 Feb 2015 08:26:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIzyn-00063U-5e for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:26:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIznS-0008LX-H9 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:15:18 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIznS-0008JZ-3F for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 08:15:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YIznM-0005Gf-NR for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 14:15:04 +0100 Original-Received: from arennes-650-1-29-196.w90-32.abo.wanadoo.fr ([90.32.212.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2015 14:15:04 +0100 Original-Received: from rpluim by arennes-650-1-29-196.w90-32.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2015 14:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-650-1-29-196.w90-32.abo.wanadoo.fr Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (cygwin) Cancel-Lock: sha1:JapaNTtUEEL3VDTpdSLz1M8yHuA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99028 Archived-At: Stephen Berman writes: > On Thu, 29 Jan 2015 11:10:47 +0100 Robert Pluim 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