From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.help Subject: Re: not good proposal: "C-z " reserved for users Date: Fri, 12 Feb 2021 14:07:22 -0500 Message-ID: References: <87r1llsuxq.fsf@robertthorpeconsulting.com> <0e37cf97-b9ee-e3af-16e3-3a312c47e75f@yandex.ru> <329d68a5edb1128c1e5b@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15371"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:Y9GwaV1eoGrvUXPrms3+74bk8LU= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 12 20:49:37 2021 Return-path: Envelope-to: geh-help-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 1lAeRd-0003tw-2A for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 20:49:37 +0100 Original-Received: from localhost ([::1]:47524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAeRc-00014B-1s for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 14:49:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAdmu-0000iG-16 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 14:07:32 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:55540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAdms-0006oM-Kc for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 14:07:31 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lAdmq-0007hr-QO for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 20:07:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127862 Archived-At: Gregory Heytings writes: >> Could we someday stop considering Emacs a "terminal application"? >> Yes, it has a version that works in the terminal, but it's limited >> in features compared to the graphical one. > > According to the recent survey, 30% of the Emacs users use it in a > terminal or console. It is true that the non-graphical version has > some limits, which are limits that are imposed by terminals and > consoles, but the fact that it is possible to use the same program in > both situations is, IMO, invaluable. I'm not a terminal user and I suspect this is changing something too longstanding to be considered but the subject is "not good proposal" so ... Leverage the fact that suspend is basically only useful in the terminal and the frame commands are only useful in the GUI and put them both on C-z. In the terminal it's suspend and in the GUI move (and rename via an alias) the ctl-x-5-map to C-z. This means in the GUI C-z is a frame command prefix and it has nice symmetry with many commands on C-x right next to it; C-z 2, C-z 1, C-z 0, C-z o, C-z b, C-z m, etc. I'd also add to the map commands like find-file-other-frame on C-f, kill-buffer-and-frame on C-k, and of course suspend-frame on C-z C-z. As I said previously, I've been doing this for years and like it a lot. This then frees up C-x 5 as a prefix key. It's probably a year too late (though this muscle memory can't be too strong yet), but I'd move the C-x t tab-bar commands to C-x 5 and free up the more convenient C-x t prefix for something else. It's not as convenient as an unbound C-z but it's something. And it also solves the wasted C-x 5 prefix in a terminal which no one seems to care about :) -- Howard