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: Sun, 07 Jan 2018 17:08:36 +0100 Message-ID: <5A524604.6070909@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> 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 1515341221 6993 195.159.176.226 (7 Jan 2018 16:07:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2018 16:07:01 +0000 (UTC) To: Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 17:06: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 1eYDTN-0001Eg-9q for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2018 17:06:57 +0100 Original-Received: from localhost ([::1]:57586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYDVK-0001Jn-Bt for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2018 11:08:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYDVC-0001JG-Sv for emacs-devel@gnu.org; Sun, 07 Jan 2018 11:08:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYDV7-0003jn-VJ for emacs-devel@gnu.org; Sun, 07 Jan 2018 11:08:50 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:54316) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYDV7-0003j3-LG for emacs-devel@gnu.org; Sun, 07 Jan 2018 11:08:45 -0500 Original-Received: from [192.168.1.100] ([212.95.5.154]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzbXq-1etmhf0G70-014mWm; Sun, 07 Jan 2018 17:08:41 +0100 In-Reply-To: <861sj54wox.fsf@stephe-leake.org> X-Provags-ID: V03:K0:SL+42s9b3eePqkd1xMnEY2hdur4SMzsPX8kEQFFoNo6dBNHhVdH dAeLlurkLA5hn8mOq8U3NWTc95vvt+fvAd7WA3zj5FC2B5/AWBQe9MLQtNf+HJFjsYnNkoC iJNR+YbSd1Ds3JM3EZGLvzRi86GiMVPTezCq7JVttqnT1/xE9Ese4FT+mUMXnmRjimp2CRO HMY5FRGIyDDD5fLZPNESg== X-UI-Out-Filterresults: notjunk:1;V01:K0:uBsrdfX4udM=:/PnF51jNiUiVYhSWcKntN+ Xw9coTtjUbfuMatkFq/vQk4zuQYfynAvc2ZmfoZj5FzS5sk3hTKw3KAHzXkPMpCjtKQBX5Oru QTC310RiLjHMwwFbzrPZrjciqR77bFfdkdbApdVlmwbE7L0mceL8hm2hH+VwlkXqI5vkQup+I JGog6G8LAktE0QOmaXLMP7FNiQE/KELqm/rn6zyw394yockrlnfgkXbx/4C4A4/oEx5LidwJp qSgyOEXs4lo5cICqKRtmyRogJg5dokM9Pn7zMBsOhgZXjephOa6M6vd5Qj0H4I0EN/BWcj49I ISwyeoCtFmtE3/kmdwo6Q4X632TTB8JdXM63Z+HuUw1W0S4NQBo2n13uNry+RgIUVB3oiyXNQ JIqsvx6UtGvubX0Gh7iAfqZy54PmkL7StXlsohQbBuJrsYLTnsTR6nzXVQeh7Sv039Y25WbOf eJR4ICUMAPLdyWpBhlwrV/G6tirZUDa75pTDfiOS7ZzMx6/ug7pNx7er5aA0OuWItXbK9lYak S+2MSZQvLnqPFTrX+3G1SbGIgm9OGRznd8WNRxgm/IOAUMhwTn3MdwusFmXSqmq0xmOBSIZ0s W2WfoLjtSl9e++uTkxcBSDHdUj8XFUPqjwri3NpgqULmMimBHmhMCieCKqNXGmsqqEo+RLXtu tfGmHyKeOi6nZ7CKxGOYjYZLHAVregnkIXzuAFGAp5CIh1st46BzUGBOgGVcCObFBbgxFq1Bl 0/y6w8AX0EOOKK3JLUsQzdb+uu0tCQ/7QKt5mfntKlbZAI28aDBrJpq+TCi4R+DptOAr0d4o X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 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:221671 Archived-At: > Apparently completion (or maybe read-from-minibuffer) does re-iconify a > popped up frame (that happened once in my experiments). I looked thru > the C code for read-from-minibuffer, and it has comments that talk about > preserving the frame state, but I did not see where it minimizes the > frame on return. So I don't know how to do that from elisp in > copyright-update-year. There is one function `frame-auto-hide-function' and two frame parameters `auto-hide-function' and `minibuffer-exit' which can be useful in this context. martin