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.devel Subject: Re: Adding a "quick-help" menu Date: Sun, 16 Oct 2022 21:00:01 -0400 Message-ID: References: <87v8pn4968.fsf@posteo.net> <87h7156lg5.fsf@gnus.org> <878rmhdkc9.fsf@posteo.net> <87fsgnfzb2.fsf@posteo.net> <87czav3ie8.fsf@posteo.net> <874jw77d7d.fsf@gnus.org> <87ilkj3ggv.fsf@posteo.net> <5C15FD91-B3CF-46DF-96B1-0B47262E9E9E@gmail.com> <87tu431j8u.fsf@posteo.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="28636"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) To: emacs-devel@gnu.org Cancel-Lock: sha1:dZpfsB8ij164zwK3J5n3JcjkX7M= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 17 07:24:34 2022 Return-path: Envelope-to: ged-emacs-devel@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 1okIc6-0007Is-51 for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 07:24:34 +0200 Original-Received: from localhost ([::1]:52254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okIc4-0007qe-Lk for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 01:24:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okEUK-0008WL-2R for emacs-devel@gnu.org; Sun, 16 Oct 2022 21:00:16 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:42718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okEUI-0005L0-DO for emacs-devel@gnu.org; Sun, 16 Oct 2022 21:00:15 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1okEUE-0005c5-7n for emacs-devel@gnu.org; Mon, 17 Oct 2022 03:00:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@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.249, 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-Mailman-Approved-At: Mon, 17 Oct 2022 01:19:49 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297907 Archived-At: Philip Kaludercic writes: > No problem, here is how the buffer looks like after applying your > suggestions: > > File Buffer Window Mark & Kill Projects Misc. > C-x C-f find C-x k kill C-x 0 kill C-k kill line C-x p p switch C-x C-c exit > C-x C-w write C-x b switch C-x 1 kill others C-SPC mark C-x p f find file C-_ undo > C-x C-s save M-g g goto line C-x 2 split vert. M-w kill region C-x p g search C-s search > C-x s all C-x C-q read only C-x 3 split horiz. C-y yank C-x p r search & replace M-% search & replace > C-x o switch C-x C-x swap C-x p c compile M-q reformat > Hmmm, having just seen Lars' image I didn't realize there was also a Projects and Misc. column. > Instead of renaming "C-x C-c" I have moved it over to "Misc." and > removed reverse search. So I agree C-x C-c makes some sense under Misc, but it is the only one in that column with an extra key, making it wider. I'll not that the actual File menu has C-x C-c in it and it's labeled Quit, so there's precedent for that too (the File column here has longer bindings). Projects should probably be Project to match the plurality of File, Buffer and Window. > There is some space under "File" and "Buffer" now, but I > can't think an elementary command that would be a good > fit. Any ideas? Maybe: C-x x r rename C-x x g revert C-x x n clone C-x C-j dired clone is a bit advanced but conceivably interesting for a newbie. I'm not sure dired-jump is suitable, but I use it a lot (way more than the others) and dired is something I think everyone should find useful. Maybe it's called "browse" here? Researching the above I realize that perhaps C-x C-w should be called "save as" instead of "write". That's what it's called in the File menu. Lastly I'm not sure if it fits or was considered but as a newbie I'd appreciate knowing about some prefix keys like C-h help M-g goto M-s search C-x r rects and registers C-x 4 windows C-x 5 frames C-x x buffers C-x p projects C-x t tabs C-x v version control particularly with which-key enabled which would easily offer more help if these are tried (C-h works too). I'm not sure all of those are appropriate, but it's what came to mind. -- Howard