From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: fix for bug#29935 copyright-update inserts year at random places Date: Mon, 08 Jan 2018 10:53:01 +0100 Message-ID: <5A533F7D.4090505@gmx.at> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1515405091 13113 195.159.176.226 (8 Jan 2018 09:51:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2018 09:51:31 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 08 10:51:27 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 1eYU5S-0002jZ-7V for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2018 10:51:22 +0100 Original-Received: from localhost ([::1]:52383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYU7Q-00046l-0y for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2018 04:53:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYU7G-00046I-Vz for emacs-devel@gnu.org; Mon, 08 Jan 2018 04:53:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYU7G-0001fI-B9 for emacs-devel@gnu.org; Mon, 08 Jan 2018 04:53:15 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:58491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYU7G-0001eq-1S for emacs-devel@gnu.org; Mon, 08 Jan 2018 04:53:14 -0500 Original-Received: from [192.168.1.100] ([46.125.249.13]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LxgHz-1ew07y0CWB-017CHb; Mon, 08 Jan 2018 10:53:09 +0100 In-Reply-To: X-Provags-ID: V03:K0:x4wPuhR8HWvSshatz7L1W5eczP+eBBoJw+S7vP2z2WlMoaDJO14 mvDiQ9aRn8e4A3YCVUGut3RigAdWvn0qgsn/ngRtUoXYvEYvnooVYfA9VppJipUNL2aZMEv nv7FnNbwzod3+6hB3s0M7LIGwufW9U6V+Vp04Y14oOgB+ZuzgBb2jFL53+AzbTzt+yv1r1A Y257ZokZw+vZSLDbe62eA== X-UI-Out-Filterresults: notjunk:1;V01:K0:bb7TfNYAZko=:IG9mGwmf0UWC1xTAZArXEI sVzy1bPAPzKRVa3yCG7m9etqf/nSciGPgZVoJJ97n2IZDUEcMjto3KQROb9UNgLevhZVfyct6 pQ92YAkjVxh8zTKhGZ0JFap4MFCtUTa8QBDtw1E1hPOKyKiaAu5aZYvNuAEUKzCy/aSoFonjq E0ZL6ryWyQjxiGgK68C/WUeAqPNM4oNJ4nwyjbmrbiwToJlBc0VgLvSuJNnDhAbc7PcCbqg1C vHIBcxtURPioO24A0LqsxXPEeBGYVpJ+T+1GvXKywlsZXMkrJf/ikUsfqa5ZN9uTSuVI3tfZS 70SXJRYgUWDpnjygSOSz1xg/DbvRjDLAwjKAycKt2Awj+YJvOeaG81OmWmEN+NXCOZ1XiDxIP g/lZqkPWsAjJnDD3icBsy7qAIzLdWaKnH3WlZd2H+hoDLQ4Ovjcp4HhBP3THntWcFW1hVb8rp kpNSUW//A0gTlyha8H6gWXQ7J9YH5kt7VoYwNu31N3cFGLapVoxU6+3OlGjSjrEkHRRS/aqtp SNei4/3cCnP0f/p4fSMUx7XbDC2VpReMnkG/MT/IBWIIXTOR/eA98i1FTj9CFQmtqIBDC3ZC1 hZW/9xu0DjZ4aiDE0NXjk3v/dxcUOzNXFNfJsIrlpvP5EFtokdfy9JkEqJ0Q/01fZwK77jAHG ZcKX06Ad+0c61LXXDkoVmXCaTMLUgbgqLoM8O1WdZ4xfDWJqu95JHtSUCzNkDtJfdYwvd6zBI 3uiovQBAVOOWQA0yiH8aovlMDZsLjjuT/dMgInwpFTb71KsayhmRDEKKUDRgu5H1KeUX89y/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.19 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:221704 Archived-At: > But this is a fairly normal/common need: display a buffer temporarily. > So we should have a "canned" answer. > I'm thinking of something like > > (let ((x (temporary-display-buffer BUF))) What kind of object would "x" be? > + > > (temporary-undisplay-buffer x) > > where hopefully this would handle the case where > temporary-display-buffer needs to use a separate frame, as well as the > case where BUF is already displayed somewhere. If "x" is a window, then `quit-restore-window' should know how to deal with it. So please tell what's missing in `with-temp-buffer-window'. martin