From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24774: 26.0.50; Menu display navigation commands Date: Tue, 30 Jul 2019 12:25:30 +0200 Message-ID: References: <63bb0f8f-86ff-a260-66a1-8a82d4ef6c9e@easy-emacs.de> <87r26bhaze.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169791"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 24774@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 12:27:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsPLf-000i3h-8f for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 12:27:15 +0200 Original-Received: from localhost ([::1]:59502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsPLe-0002WZ-4l for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 06:27:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42384) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsPKW-00016F-SZ for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 06:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsPKU-00045D-GY for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 06:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsPKU-000459-BH for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 06:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsPKU-0003UO-72 for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 24774-submit@debbugs.gnu.org id=B24774.156448234113386 (code B ref 24774); Tue, 30 Jul 2019 10:26:02 +0000 Original-Received: (at 24774) by debbugs.gnu.org; 30 Jul 2019 10:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:49605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsPK6-0003To-OH for submit@debbugs.gnu.org; Tue, 30 Jul 2019 06:25:41 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:58962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsPK3-0003TY-Nt for 24774@debbugs.gnu.org; Tue, 30 Jul 2019 06:25:37 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsPJy-0006hL-Dq; Tue, 30 Jul 2019 12:25:32 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEX8+/fMx8H7+PL9/fr8 +vXtTQGyAAACQklEQVQ4jV1Ui5UkIQhklAT0NgBlCMA3dgCsTf4xXaEzu/fON59uCgqkUHLiHB/L lOec8d2LFjuMg5j+A6zZuHJYaI48h/1EiN90h6fHO48P8LyJxgCQCa/D7jcZOYUhwHhAumMfJJ9H WjR+c0+STT3LXvN3kdIVdX4AFP4D2Jg0RLqIoKr1AXwZN5ITYTkJ740CEPEF56byUqak+gaSu4mK BEjmiPjkUDUO69I2BiP0nyZmvItmc6SQn6oMfU1LlKTJhf/fljDb1YIMdMPl+Wk7u+sEE3zJQPUc b0Dtu8zUKN/qyRiSHIBlldIEhL7ZnvOVkeaipr30LxHDNiPRnWlsHUS+SxEpX1FZM8deCCEMoO82 KZiWJzh57OQCcBoIqytX7r5C3VcAdUeYq/S6ytfe43WAXqqob85+AGguDrdS1+q7iBIVYg4CCM8q rSIuXEQY+gbVYycnAKVXRCECQwXuh9TYyy6uBh8aaxgfe/wRpJdSj/ChM0Lktt54gn8XVStyiKdo CXfImQ5XlQ2IDloaG6ynYQDK7rFCQW/hHDznu5VsKLeRf/dt7XsT4a82olx7nLRhe0OUSdaCIsGS JPL0DUREDIg+guXYdg6L7sa09UOh8s4RydXAxvg9K0ZCITtm1xZh7Nwp7bTBHG0HgJOJ+c88k0N1 nG8VCAXPiakmhm7L+R44CEkwPhvARcI88iuGFFa/MT7ZHWG4NAamKW6CJXEOL6LLeF8H+3YYuFgU SuQUJ8rjiGA06XqNkb0lOK2/S2GbPGwPyu4AAAAASUVORK5CYII= In-Reply-To: ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Tue, 30 Jul 2019 09:54:24 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164102 Archived-At: Andreas R=C3=B6hler writes: > On 27.07.19 15:18, Lars Ingebrigtsen wrote: >> Andreas R=C3=B6hler writes: >> >>> think it would be a gain if Emacs-lisp menu displays navigation command= s. >> What kind of navigation commands? > > Stuff like beginning-of-defun, up-list, forward-sexp Oh, sexp-based navigation commands. Yes, I think that's a good idea -- it'll make them more discoverable for new users. I think both an "Editing" sub-menu (`kill-sexp' etc) as well as a "Navigation" menu would be nice. Eep! (bindings--define-key menu-map [separator-format] menu-bar-separator) (bindings--define-key menu-map [comment-region] '(menu-item "Comment Out Region" comment-region :help "Comment or uncomment each line in the region" :enable mark-active)) (bindings--define-key menu-map [indent-region] '(menu-item "Indent Region" indent-region :help "Indent each nonblank line in the region" :enable mark-active)) (ad nauseam). elisp-mode.el doesn't use easy-menu, so every creating menus there is so. much. typing. And the file is dumped with Emacs, so I'm guessing requiring easy-menu and doing a rewrite wouldn't be welcome? So while I agree that these sub-menus should be added, I think I'll leave that to somebody else... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no