From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.bugs Subject: bug#2209: Don't let y-or-n-p move point. Date: Wed, 18 Feb 2009 18:05:57 -0500 Message-ID: References: <18844.19905.384946.25722@fencepost.gnu.org> Reply-To: rms@gnu.org, 2209@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1234999465 1768 80.91.229.12 (18 Feb 2009 23:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 23:24:25 +0000 (UTC) Cc: 2209@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 00:25:40 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZvnC-0000Ut-Ly for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2009 00:25:27 +0100 Original-Received: from localhost ([127.0.0.1]:59855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZvls-0000mq-4O for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 18:24:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZvlW-0000eK-EG for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 18:23:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZvlU-0000cl-VR for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 18:23:41 -0500 Original-Received: from [199.232.76.173] (port=39415 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZvlU-0000cd-No for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 18:23:40 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57484) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZvlT-0002KR-J7 for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 18:23:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1INNZoJ028522; Wed, 18 Feb 2009 15:23:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1INF6IK026008; Wed, 18 Feb 2009 15:15:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard M Stallman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Feb 2009 23:15:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2209 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2209-submit@emacsbugs.donarmstrong.com id=B2209.123499848824232 (code B ref 2209); Wed, 18 Feb 2009 23:15:06 +0000 Original-Received: (at 2209) by emacsbugs.donarmstrong.com; 18 Feb 2009 23:08:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IN85HP024226 for <2209@emacsbugs.donarmstrong.com>; Wed, 18 Feb 2009 15:08:06 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LZvUL-0005wk-JV; Wed, 18 Feb 2009 18:05:57 -0500 In-reply-to: <18844.19905.384946.25722@fencepost.gnu.org> (message from Glenn Morris on Wed, 18 Feb 2009 13:04:49 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 18 Feb 2009 18:23:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25429 Archived-At: > How does it happen that y-or-n-p moves point? Whatever it is, it > could cause trouble elsewhere too. Maybe the right fix is to make > sure it does not happen. The details are in the first message of bug 2209. Maybe there is a misunderstanding. I think you mean the message below, but it does not say why y-or-n-p moves point. I think it will take investigation to figure that out. Date: Thu, 5 Feb 2009 16:39:59 -0000 Message-ID: <63C2A154B1708946B60726AFDBA00AC00388E04D@ukmailemea01.misys.global.ad> To: Resent-Date: Thu, 05 Feb 2009 12:03:36 -0500 Cc: Subject: bug#2209: 23.0.90; copyright-update might not update copyright Reply-To: "Marshall, Simon" , 2209@emacsbugs.donarmstrong.com This is a multi-part message in MIME format. ------_=_NextPart_001_01C987B0.62F9A32A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable First, emacs -Q and in the initial frame create 2 windows with 2 new files containing: //Copyright (c) 2008 Foo // Now do C-x 5 2 and in the new frame do Tools | Compile RET (it doesn't matter if there's no Makefile etc) and in the *compilation* window in the new frame do C-x 1 M-: (add-hook 'write-file-hooks 'copyright-update) RET. Now in the original frame, add the word "Bar" to the end of the 2nd line in each file, leaving point at the end of the 2nd line, and leaving the files modified. Now in the *compilation* window in the new frame do g ! SPC SPC to recompile/save/update the copyright notices.=20=20 I find that one file contains the correct: //Copyright (c) 2008, 2009 Foo //Bar But the other contains the erroneous: //Copyright (c) 2008 Foo //Bar, 2009 With point on the comma in the 2nd line.