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: Tue, 09 Jan 2018 08:07:15 -0500 Message-ID: References: <868tdh5fag.fsf@stephe-leake.org> <837et0ckou.fsf@gnu.org> <86shbm4ks9.fsf@stephe-leake.org> <86k1wy48ch.fsf@stephe-leake.org> <861sj54wox.fsf@stephe-leake.org> <5A524604.6070909@gmx.at> <5A533F7D.4090505@gmx.at> <5A53B5E1.5080608@gmx.at> <5A548E9B.3050500@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515503179 21396 195.159.176.226 (9 Jan 2018 13:06:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2018 13:06:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 09 14:06:15 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 1eYtbT-0004hg-IN for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2018 14:06:07 +0100 Original-Received: from localhost ([::1]:51792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYtdR-0003lo-4I for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2018 08:08:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYtcf-0003k5-4E for emacs-devel@gnu.org; Tue, 09 Jan 2018 08:07:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYtcb-0006ms-6m for emacs-devel@gnu.org; Tue, 09 Jan 2018 08:07:21 -0500 Original-Received: from pmta11.teksavvy.com ([76.10.157.34]:1293) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYtcb-0006kb-0C for emacs-devel@gnu.org; Tue, 09 Jan 2018 08:07:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EBOQABvlRa/yyKSC1dHgEGDINAgVqDb?= =?us-ascii?q?YVchHqOdYICl0KCAYVFAoQ5QxQBAQEBAQEBAQEDaCiFJQEEAXkQCw0nEhQYMYo?= =?us-ascii?q?8CLFTIQKKIQEBAQEGAgElhCCCFYZuhGOGNwWTOpAllz8ZiXcoh1OKYY10NiOBU?= =?us-ascii?q?DIaCDCCaIR0I4s1AQEB?= X-IPAS-Result: =?us-ascii?q?A2EBOQABvlRa/yyKSC1dHgEGDINAgVqDbYVchHqOdYICl0K?= =?us-ascii?q?CAYVFAoQ5QxQBAQEBAQEBAQEDaCiFJQEEAXkQCw0nEhQYMYo8CLFTIQKKIQEBA?= =?us-ascii?q?QEGAgElhCCCFYZuhGOGNwWTOpAllz8ZiXcoh1OKYY10NiOBUDIaCDCCaIR0I4s?= =?us-ascii?q?1AQEB?= X-IronPort-AV: E=Sophos;i="5.46,335,1511845200"; d="scan'208";a="17706937" Original-Received: from unknown (HELO pastel.home) ([45.72.138.44]) by smtp.teksavvy.com with ESMTP; 09 Jan 2018 08:07:15 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 589EC60819; Tue, 9 Jan 2018 08:07:15 -0500 (EST) In-Reply-To: <5A548E9B.3050500@gmx.at> (martin rudalics's message of "Tue, 09 Jan 2018 10:42:51 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.34 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:221756 Archived-At: >> Good. So we just need to extract the "display-buffer" part of >> with-temp-buffer-window? > I still don't understand why plain `display-buffer' (or > `display-buffer-same-window) shouldn't work here. Maybe it does. I don't know. My question was simply: what are the two functions that should be used to display and then undisplay a buffer? And more importantly, "everyone" should know it, so this pair should be "advertized" somehow (e.g. in the manual where we talk about save-window-excursion and about display-buffer?). Stefan