From: Richard M Stallman <rms@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 2209@emacsbugs.donarmstrong.com
Subject: bug#2209: Don't let y-or-n-p move point.
Date: Wed, 18 Feb 2009 18:05:57 -0500 [thread overview]
Message-ID: <E1LZvUL-0005wk-JV@fencepost.gnu.org> (raw)
In-Reply-To: <18844.19905.384946.25722@fencepost.gnu.org> (message from Glenn Morris on Wed, 18 Feb 2009 13:04:49 -0500)
> 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: <emacs-pretest-bug@gnu.org>
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" <Simon.Marshall@misys.com>,
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.
next prev parent reply other threads:[~2009-02-18 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1LZlEs-0008V9-St@fencepost.gnu.org>
2009-02-18 18:04 ` bug#2209: Don't let y-or-n-p move point Glenn Morris
2009-02-18 23:05 ` Richard M Stallman [this message]
2009-02-19 0:52 ` Glenn Morris
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=E1LZvUL-0005wk-JV@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=2209@emacsbugs.donarmstrong.com \
--cc=rgm@gnu.org \
/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.