From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.bugs Subject: bug#45625: C-p (previous-line) now wipes out windows, if misaimed Date: Tue, 05 Jan 2021 17:04:06 +0000 Message-ID: <87im8bwc1l.fsf@gnus.jao.io> References: <87sg7if782.5.fsf@jidanni.org> <87zh1pw6tp.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15701"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 45625@debbugs.gnu.org Cancel-Lock: sha1:nIqp4B16aAuSsQ3iDYAsM0owofQ= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 05 18:34:09 2021 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 1kwqDh-0003zv-DL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 18:34:09 +0100 Original-Received: from localhost ([::1]:41988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwqDg-000332-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 12:34:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwppO-0001Ke-Qb for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 12:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwppO-0004Sf-HO for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 12:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwppO-0006tp-CA for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 12:09:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87sg7if782.5.fsf@jidanni.org> Resent-From: "Jose A. Ortega Ruiz" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jan 2021 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45625 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160986649626441 (code B ref -1); Tue, 05 Jan 2021 17:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jan 2021 17:08:16 +0000 Original-Received: from localhost ([127.0.0.1]:42561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwpod-0006sP-Uk for submit@debbugs.gnu.org; Tue, 05 Jan 2021 12:08:16 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:34124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwpoc-0006sF-5F for submit@debbugs.gnu.org; Tue, 05 Jan 2021 12:08:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwpob-0007tj-TH for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 12:08:13 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:47750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwpoa-00041w-HN for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 12:08:13 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kwpoX-0004EF-6p for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 18:08:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:197388 Archived-At: On Tue, Jan 05 2021, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > Jidanni, we could add an option to tell ESC ESC ESC not to mess with > > > the window layout, for users who do know the C-x 1 command. > > > FWIW, i would certainly make use or that option (the triple C-[ scenario > > has happened to me many times, and i learned about winner-undo just to > > be able to revert quickly its effects). > > Want to write a patch to create the option, with the default > being the current behavior? i just took a look, and there is already a variable, buffer-quit-function, to set up a function to call instead of delete-other-windows. i suspect it was introduced with something like addressing this problem in mind (i think it's not used anywhere else). for instance, just setting (setq buffer-quit-function (lambda () t)) fixes the issue for me. jao -- I have lived in this world just long enough to look carefully the second time into things that I am most certain of the first time. -Josh Billings, columnist and humorist (21 Apr 1818-1885)