From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: fix for bug#29935 copyright-update inserts year at random places Date: Thu, 04 Jan 2018 00:34:22 -0500 Message-ID: References: <868tdh5fag.fsf@stephe-leake.org> <837et0ckou.fsf@gnu.org> <86shbm4ks9.fsf@stephe-leake.org> <86k1wy48ch.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515043981 21272 195.159.176.226 (4 Jan 2018 05:33:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 05:33:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 04 06:32:57 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWy98-0004vr-5x for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2018 06:32:54 +0100 Original-Received: from localhost ([::1]:47390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWyB5-0005nj-Hw for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2018 00:34:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWyAz-0005nT-TY for emacs-devel@gnu.org; Thu, 04 Jan 2018 00:34:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWyAv-0004vB-0e for emacs-devel@gnu.org; Thu, 04 Jan 2018 00:34:49 -0500 Original-Received: from [195.159.176.226] (port=47634 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWyAu-0004uI-Qe for emacs-devel@gnu.org; Thu, 04 Jan 2018 00:34:44 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eWy8j-0003Rg-PJ for emacs-devel@gnu.org; Thu, 04 Jan 2018 06:32:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:tTSU3GAcD/Fh6ZAz9fErFilZ8Sw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221580 Archived-At: > I think there are still situations where pop-to-buffer-same-window can > change the window configuration (if it is invoked from a dedicated > window, for example), so save-window-excursion is still needed. In my config, pop-to-buffer-same-window will often/usually pop up a new frame (unless the buffer is already displayed somewhere, in which case it deiconifies and/or raises that frame), "so save-window-excursion is still needed^H^H^H^H^H^H^ineffective". This said, I actually do like that the buffer is shown in its own frame. It would be nice to re-iconify the frame afterwards, tho. Stefan