GNU bug report logs - #29935
26.0.90; copyright-update adds year in middle of buffer

Previous Next

Package: emacs;

Reported by: Stephen Leake <stephen_leake <at> stephe-leake.org>

Date: Mon, 1 Jan 2018 20:23:02 UTC

Severity: normal

Tags: unreproducible

Found in version 26.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 29935 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Stephen Leake <stephen_leake <at> stephe-leake.org>, 29935 <at> debbugs.gnu.org
Subject: Re: bug#29935: recipe and improved patch
Date: Sun, 15 Apr 2018 09:09:05 +0200
>> Then the problem seems to be the familiar one: Calling
>> `switch-to-buffer' instead of `display-buffer-same-window'.
>
> So would replacing those calls in the copyright-* functions fix these
> problems?

As a rule, applications should avoid calling 'switch-to-buffer' unless
they want to adhere to the default value or the user's customization
of 'switch-to-buffer-preserve-window-point'.  If that can be excluded,
replacing those calls should fix problems like the one seen here.

martin




This bug report was last modified 4 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.