From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook Date: Mon, 30 Nov 2020 10:05:59 +0100 Message-ID: <71b78484-b0a7-3e0e-a999-afa07f8b4832@gmx.at> References: <5C7FD591.9090505@gmx.at> <83lg1sc8ob.fsf@gnu.org> <5C8009F3.5000405@gmx.at> <767e1b59-6ac2-cd11-076e-82a56ac53e29@gmx.at> <11be4631-b087-52a3-92fe-4cbd5248908d@gmx.at> <838svxxk41.fsf@gnu.org> <49c11920-0909-dcc2-4a39-4cdcfaf20453@gmx.at> <87h7sp1xay.fsf@gnus.org> <83r1rgpusx.fsf@gnu.org> <87pn5u7m0y.fsf@gnus.org> <5bdc73dd-af73-1b9a-9bb4-e154787e1976@gmx.at> <87a6uzan9s.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31697"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 34765@debbugs.gnu.org, alexanderm@web.de, Lars Ingebrigtsen , monnier@IRO.UMontreal.CA To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 10:07:50 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjf9y-00088i-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 10:07:50 +0100 Original-Received: from localhost ([::1]:36472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjf9w-0003yu-V5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 04:07:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjf9C-0003xt-EB for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 04:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjf9C-0001oX-5y for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 04:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjf9C-0005k9-0q for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 04:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34765 X-GNU-PR-Package: emacs Original-Received: via spool by 34765-submit@debbugs.gnu.org id=B34765.160672717222007 (code B ref 34765); Mon, 30 Nov 2020 09:07:01 +0000 Original-Received: (at 34765) by debbugs.gnu.org; 30 Nov 2020 09:06:12 +0000 Original-Received: from localhost ([127.0.0.1]:53418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjf8O-0005it-Aw for submit@debbugs.gnu.org; Mon, 30 Nov 2020 04:06:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:54993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjf8M-0005iO-Oi for 34765@debbugs.gnu.org; Mon, 30 Nov 2020 04:06:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606727161; bh=GEsa4am5iIGfqw5+mAOhNvTG2gbZ2bQmUQF7hpOgFho=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=hZOEPSPVBV6EBFU3VttWm7WcL0yPQSCkEq+e3KFU/2/SVKMbFq8N9cYTssHdBWvk1 N1+hPwGmL2Npg5SqQvgcDQDH7HEpyXNfGOVcgrNCKWrOVjigeLAijCksS3hkiKFXvS u2IV6hGbYfd4ni16TFiT7vLbGviTVOyCtNX5Y9y4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.17]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5G9n-1k0jNM10Sb-01191w; Mon, 30 Nov 2020 10:06:01 +0100 In-Reply-To: <87a6uzan9s.fsf@tcd.ie> Content-Language: en-US X-Provags-ID: V03:K1:NZAyjKnRJRZUgk+partmFslXDdC4OrikL+OgtPWySL3FuKEfyEC QzdeYpqnRv8KyV+QYbAE2pi3kpuW/D4jNJXAbehl32aXCOeNfJ2e9XMMRQ37c8M4Kjp6VnJ dnuKHgKSKBUy6qOyTSq2N/Kb532nxMhz9OFQpVucN40CUBl+v/khqDnqImZLMAHJKb5s1LP FaeoN+3A5QYkRhIMo8uZg== X-UI-Out-Filterresults: notjunk:1;V03:K0:IZ+8dOQOBBE=:ewSmmNpUSC4QgnWCMkFDIi LjeI2A99tttHLhAfdrG7pAd27jMFrm0C5Zu6Wu/BPerrERAvVIjyUoYccCRksWPH3ca6u2nCE gXscI3Mkh82KGUwNBUmduaua/C4AITyqFkLKst1cjyLVv7JyrGUoKfPEOerNdEyJ/FAUPQsIR BajDi+aF3MmGoaVSDJIWbhH/PTyG10g7370J5SDJ4CAvcg/Ho1hZSlWlDzpaa/u5j3swi4CBz afdAGg/hb2YYWzZjTW/SCfbhaNPhF4+irxPedWJnBUM9OvhDh9WyY4fg6gb357Lu79izTSlmo tKXuXoHNOWCdKqwxiwa8nNgXwIClEa1YsBIEDFXJ/Y9dmZi4lkpOxi9q5K28TRscB4eCR5V5b aA+JDPrj52nArAIkAx6iGv0HJ1kC8LcS1+/R641Nazm9lXB4oKmng3I/B09XCC8usTvj7DXQ2 1IhyfkOdy8qNejA7xW9w8OPRk/KDQVePt0mP6Uen8UjYSBwrl0fUBsCVZCeQN4eHiIIGv3BE/ b70BZsb+6jgKr9V0zlZIA4eMQwbphhNM0Nfd24tXV/xAoEqzaap6uHtJBGykjIZi8S0+raRWM KSaN4kYu+eXxMLx9F2LIzA7voiB2Kd5tNIt7qdwyrQZnQkidhDpfZ+FSxCdTvbwdsNzRxhQ2H ZAWZ1QqhjvyvwmYcE06xLvS8nPH7vubykQkF1bcRFkwzK2zOOxSnywmOSM14FRcQwfBG0iAHp xa/ashGgRL55+Ql2guSQDDX6KL7YFoC748zXlJ4yRtpvhUpK34eRK979fO/vnRWHoVwvqG+f X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194592 Archived-At: >>>>> The latter may be a nice addition, but the patch here is pretty much >>>>> necessary for implementing something like that, so was there any reason >>>>> the patch wasn't applied? >>>> >>>> AFAIU, the patch was never finalized after the review comments. >>> >>> Right. Martin, did you finish up this patch? >> >> No. IIRC some issues were never resolved and Basil also wanted to add >> something. > > Did I? AFAICT I was only pointing out the trivial simplification of > Fgenerate_new_buffer_name + Fget_buffer_create = Fgenerate_new_buffer > once Fgenerate_new_buffer can be called from C. > > I was otherwise happy with the patch and either of the proposed > approaches to setting inhibit_buffer_hooks. > >> If you can make heads or tails of it ... > > Depends: is it an animal or a coin? Both, probably. If you think that patch is of some use, please try to polish it up and push it. Honestly, I've forgotten all about it. And also tell us why 'buffer-list-update-hook' would be still needed now that we have 'window-selection-change-functions'. Thanks, martin