From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51883: 29.0.50; Command to get accidentally deleted frames back Date: Wed, 17 Nov 2021 19:14:31 +0200 Message-ID: <837dd6zoug.fsf@gnu.org> References: <87czn1gfb1.fsf@web.de> <838rxo0zk7.fsf@gnu.org> <83tugbyliv.fsf@gnu.org> <86bl2ikail.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, gregory@heytings.org, 51883@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 18:16:20 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 1mnOXj-0006jV-KV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 18:16:19 +0100 Original-Received: from localhost ([::1]:51572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnOXh-0001eL-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 12:16:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnOWV-0001c1-E8 for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 12:15:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnOWU-0005we-9H for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 12:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnOWU-0007EW-5Q for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Nov 2021 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51883-submit@debbugs.gnu.org id=B51883.163716928627729 (code B ref 51883); Wed, 17 Nov 2021 17:15:02 +0000 Original-Received: (at 51883) by debbugs.gnu.org; 17 Nov 2021 17:14:46 +0000 Original-Received: from localhost ([127.0.0.1]:33745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnOWD-0007DA-RE for submit@debbugs.gnu.org; Wed, 17 Nov 2021 12:14:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnOWB-0007Cn-Rh for 51883@debbugs.gnu.org; Wed, 17 Nov 2021 12:14:44 -0500 Original-Received: from [2001:470:142:3::e] (port=40766 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnOW6-0005su-35; Wed, 17 Nov 2021 12:14:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=U8GEME9Lzplzio1WrDLHKeFj6wmKrSAH5XUNg0pM+is=; b=IQT17FHL0oqq LNb1QIjWpBzlZ7xRlCtvAtM31QdPXHuqfaC7IX2YfTcoiXmigpFRelYGlPcfBonoYIWKqqCx5HOfQ tP9EhjuVCJHxl67EnaYZcLgBxN0c12Ho73/sj1gcohiRpTWRsAVXyLL1imcQ5Czs391n1KJfDACAf UWVf265MLP5JUxjzGMBjlk4LBm2YP1lv8PgEUDxKO2iuBtmq8vojXEvFTJzs1ig+Z9HSrPD1C7ONQ rrL+q9f7ebiGYfmcei77HFV5rjJ/Mp+3uvBcg9/+xDQbgI44+VQePH9YmG3OefYqgVf6dYwJgxxjC buI9FK/zOyjaEiR0MiSQ9A==; Original-Received: from [87.69.77.57] (port=3946 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnOW5-0007qU-IL; Wed, 17 Nov 2021 12:14:37 -0500 In-Reply-To: <86bl2ikail.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 17 Nov 2021 19:06:06 +0200) 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:220234 Archived-At: > From: Juri Linkov > Cc: Gregory Heytings , 51883@debbugs.gnu.org, > michael_heerdegen@web.de > Date: Wed, 17 Nov 2021 19:06:06 +0200 > > >> + (bindings--define-key menu [undelete-last-deleted-frame] > >> + '(menu-item "Undelete Frame" undelete-frame > >> + :enable undelete-frame-mode > >> + :help "Undelete last deleted frame")) > > > > How about using "restore" instead of "undelete", here and everywhere > > else? I think it's a tad more clear, and also easier to understand, > > as it doesn't use negative tense. > > Michael pointed out that "restore" is a too confusing name > where "restore" is opposite to making a frame fullscreen. And I raised a brow when reading that. "Restore" is a very far cry from "fullscreen". OTOH, browsers that keep history use "restore", so I thought it will be a better terminology here. > OTOH, "undelete" is similar to "undo", so "undelete" better explains > what it does. The difference is that "undo" is widely accepted terminology for what that does. > And the main advantage of the name "undelete-frame" is that it's > immediately clear that it's opposite to "delete-frame". But undelete-frame (the command) is NOT the opposite of delete-frame, because it doesn't just delete the last frame you deleted. Anyway, I don't intend to argue more; if you are unhappy with my proposal, so be it.