From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#59862: quit-restore per window buffer Date: Thu, 01 Aug 2024 09:37:06 +0300 Organization: LINKOV.NET Message-ID: <86plqswxyl.fsf@mail.linkov.net> References: <86fsds8mlm.fsf@mail.linkov.net> <86plsxmc6d.fsf@mail.linkov.net> <86r0d4ezdc.fsf@mail.linkov.net> <0d01a044-d7d6-456a-9ba9-d987faad4332@gmx.at> <86frthjq4y.fsf@mail.linkov.net> <743dc4dd-cf09-4c5e-9209-b63a47480e0b@gmx.at> <86msnne7ut.fsf@mail.linkov.net> <86plsgrfvu.fsf@mail.linkov.net> <86le2b12ni.fsf@mail.linkov.net> <86y169kafb.fsf@mail.linkov.net> <61c4f245-3dd8-4e24-9c84-7ddd4cfe3c49@gmx.at> <86a5ioo269.fsf@mail.linkov.net> <867cdr3xs7.fsf@mail.linkov.net> <3f399d4f-3dd2-4624-b857-e198f70b5565@gmx.at> <86h6csct0w.fsf@mail.linkov.net> <38aedd8d-8966-44eb-afc0-79b4db412483@gmx.at> <86r0b9tqo3.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28138"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 59862@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 01 08:44:08 2024 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 1sZPXj-0007Eu-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Aug 2024 08:44:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZPXU-0000ph-SS; Thu, 01 Aug 2024 02:43:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZPXP-0000lM-S8 for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 02:43:49 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZPXO-0000Gv-0D for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 02:43:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Z1wmzMAReceIuPpedptKQBAA0I/sNk9ikEwi3StrdPg=; b=Ro+/iR5t4mYKzHo5fJUlYeWFcOEWHlYhF0W9ra4kedqRTjGW0gSo8g3tcSqqkpGcAGo/7ptosqiKj4+Z8hcsZqBjkeEnQti5cnf5YrqqOa0667a10uKqgF7GsOVsOH2bYHQApzoIQH5UvWFv0FYSuOCUQAp0pd598kZBlCCyjh5lSrAwbowf04wht9pYNr2p0yKyn+wfNgnfFA4NwrtEQtJMi7qGfPvsDJ7FWnSz1xKkvvZtcY2et5U0Gr5BnOaW2ttRJfHkjfIZcO7fjuj3mVnNHp7xDriLnj/58GljiqxSylmhBFb60sNfMb0G7gBA8q4/rAtCxSflQj/Y9daHLQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZPXe-0001nZ-6S for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Aug 2024 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59862 X-GNU-PR-Package: emacs Original-Received: via spool by 59862-submit@debbugs.gnu.org id=B59862.17224945866840 (code B ref 59862); Thu, 01 Aug 2024 06:44:02 +0000 Original-Received: (at 59862) by debbugs.gnu.org; 1 Aug 2024 06:43:06 +0000 Original-Received: from localhost ([127.0.0.1]:50710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZPWk-0001mG-E6 for submit@debbugs.gnu.org; Thu, 01 Aug 2024 02:43:06 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZPWi-0001lk-DO for 59862@debbugs.gnu.org; Thu, 01 Aug 2024 02:43:05 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id E253260002; Thu, 1 Aug 2024 06:42:40 +0000 (UTC) In-Reply-To: <86r0b9tqo3.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 31 Jul 2024 20:30:36 +0300") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289604 Archived-At: >> After fixing a few other inconsistencies find my final version of the >> patch here. The ChangeLog is below. If you see no further problems, >> I'll install it and you can add your changes on top of it. > > I've tested your previous changes for a long time, > and everything works nicely. I hope your new patch is even > better. However, since it grew to an unmanageable size, > I will test it only after you will push it. > >> +*** New hook 'window-deletable-functions'. >> +This abnormal hook gives its client a way to save a window from getting >> +deleted implicitly by functions like 'kill-buffer', 'bury-buffer' and >> +'quit-restore-window', > > Maybe this hook is needed for bug#71386, but I have no plans > to use it for tab handling. Or maybe will use it for tabs, I don't know, need to try, but not sure if you expect such try before you push or after.