From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59862: quit-restore per window buffer Date: Thu, 1 Aug 2024 09:49:52 +0200 Message-ID: <22c18c89-b288-4c2e-83ae-11fd7cb1ec24@gmx.at> 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> Reply-To: martin rudalics 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="10182"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 59862@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 01 09:51: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 1sZQaa-0002Km-JF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Aug 2024 09:51:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZQaE-000871-Ty; Thu, 01 Aug 2024 03:50:47 -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 1sZQaD-00086i-Ik for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 03:50:45 -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 1sZQaD-0004h6-9d for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 03:50:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=k4/kqCrOY9okVKYIXJbswHPSGFvrT3V+qnfpEg7ZE64=; b=DmLJ2nTkN9UxfhgXiVKuaoEaQ/nS489hTq36xIkJ3livwZLOvbLAc8oFrNz0opeNgaaRCQevnXN8tRSCKaNCtJo3ic/drfOw/dpIG+T9oN03QSGIQKgosZiPxIYWCOshspehhHBI8l9VCxJ4fefA4wBrBPS10Ac65sohyfG+RgCH8d9C6AfNjQ1m6poCWjZcOW02OMpV0gpjx7/nQNDeDI6301FKE/vZaDxxIWt0KlzHW8e//SMqZ+0GUsDfXQKLzWssFlo/M97JElvNB73JZ9P12OpGuGy0+XMHREG/uOjXg2SII7MGLPvrJC+BbNmgaBOcFjEpBGJ1ytsryx8g5A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZQaT-0003f1-Qy for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2024 03:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Aug 2024 07:51:01 +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.172249862313994 (code B ref 59862); Thu, 01 Aug 2024 07:51:01 +0000 Original-Received: (at 59862) by debbugs.gnu.org; 1 Aug 2024 07:50:23 +0000 Original-Received: from localhost ([127.0.0.1]:50782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZQZq-0003dd-R7 for submit@debbugs.gnu.org; Thu, 01 Aug 2024 03:50:23 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:45891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZQZp-0003dP-17 for 59862@debbugs.gnu.org; Thu, 01 Aug 2024 03:50:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1722498595; x=1723103395; i=rudalics@gmx.at; bh=k4/kqCrOY9okVKYIXJbswHPSGFvrT3V+qnfpEg7ZE64=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=LZwGNPCq9zIQV8+d4icVcQ822M2vNSsYW0gJcxdgU3M7mkG49oyCI1lBaTjS5NA7 CD54yCme3FF0HfrnJMyw8tPpPHkQNRyjbCN4l0tZAaQsiz27WFl9x46BwiIv0FM30 P4K6F7QTGhbKpluWqat3OBTVXUiT+L9dNRbVEaCFuBVV/EQxGRh7svqhNxNEyzYbj GGmdj7JGeQDTb0X96LKc+27XEkrAHLt73KH6CamodfNSgrMmZG99iSA8rC9SJXWoX zyfI4j4y1/WVBOo1eDcaSLbyE7j5yT7eHyr9XeVS3A3ES8LxGBLCvUNZtRqSsq/N1 JDUncfHPvZSnaRrpEA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.37]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MSc1B-1sfmN00OKn-00PhWh; Thu, 01 Aug 2024 09:49:55 +0200 Content-Language: en-US In-Reply-To: <86r0b9tqo3.fsf@mail.linkov.net> X-Provags-ID: V03:K1:EVdfc8C0iPQDKs6bZrg6EdxDnBdwWcP51+mhkKM22CDUp88LAFN jBRuQlnHXHBXIh/ZDaEESvPl9uHECwb+PNfXWVQCpymqkqxy9ea+YGpAOQFAeGaZK9xWIik ofhCqhuT3+N09kMfTeGWY59bRxq/fDETtdlvbAkLsPuRfxgrK1T4Zm+CAh3eHJeJCC+xKvH P73SUlGNrK85j5OTOQ45A== UI-OutboundReport: notjunk:1;M01:P0:cUkyBR8jvy4=;P1iWYjH+MuS0vTvn35aKdXL6zUf NLMaAOVt2mUU3WaOppn6yYF9ylLqMFuntWhGVn02xpi1PGSLgF9Ri7V5ppb7tcD0X5cpeL01S oQCybi7baCSfM3vxR7lQXW/MPGE1ipdB1yBdItdcUdTYTj8kjQ/matJnZ/aJd/xF0yZfM+ybX kfjC/lPJW8hHUVVhBjMriymZROAcRuBlXP9HAVWVqefuQQ2UxULHEEM6aFHQfDy1dN3OepU3j tJ7EhblSanIs09aPAoFT+cnYO4pjbS991+k7xtTjb+17sPZFJgsEj9JEZg20NAVO6jSVNdEVO sRu/w1NXk2hgSnX1Qg5FtVHpxIfjOJPMG7GlIsaCohMREIeM0OGMwSb1AbzOzQijyaMELi87j oQDGc9gv7epqpJoEX9GWM3HEP53lU1O7MsaOBSKqayOVIrdgvtiubGvC2n6Z62tBGFJMOv54j QSItrxsYSnfSouRnGZSIvFlplj6AYt7nPiK2dUmp2vGlsdkBGdx8tq34N1eWj7pmcmmS5o3CP 8Q0tE6mb8WmQdmF5Ax3g0keJuAnSHn+PSkBTSHcU83nVfZVQGiJWR4xXi90BVfAWNxLRWwdgB qqFTQzwkIZl77f246e1kammCtwtxH9wsK84837RiRh7En/xDPtgBcPvvIxc/fx8znY04xA4M9 OxASSYR1/MWwTijGF7jY4RPpGd/EDuuwU4Qh3lRvGLz5U7vKlspoenVsgrs2gHVG1mhTN82pO TOebG8b0mobY/PZv7LN1Qegk1AtNJrA3jw8Uxkh90GwZgVC/ozLPcQiB1JozP2YpE0q9kTYN 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:289609 Archived-At: > 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. Pushed now. Lets hope for the best. Please consider closing Bug#59862. It has become unmanageable for me as well. >> +*** 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. Actually, this is the opposite of ... >> +*** New option 'quit-restore-window-no-switch'. >> +With this option set, 'quit-restore-window' will delete its window more >> +aggressively rather than switching to some other buffer in it. > > This option looks useful for some cases. ... that. So people may decide which of them suits their needs better. martin