unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Manuel Uberti <manuel.uberti@inventati.org>
Cc: 52074@debbugs.gnu.org
Subject: bug#52074: 29.0.50; Add key binding for find-library
Date: Wed, 24 Nov 2021 18:16:14 +0100	[thread overview]
Message-ID: <87k0gxwk2p.fsf@gnus.org> (raw)
In-Reply-To: <86814524-852c-d65b-cb05-86cc0f274d9b@inventati.org> (Manuel Uberti's message of "Wed, 24 Nov 2021 08:26:11 +0100")

Manuel Uberti <manuel.uberti@inventati.org> writes:

> You're right. What about using a prefix like C-x 7 and add something like:
>
> - C-x 7 l for find-library
>
> Then these can be considered as well:
>
> - C-x 7 f for find-function
> - C-x 7 v for find-variable

Hm...  We've got a variety of stuff on `C-x <num>', but mostly things
that deal with windows/tabs/frames.  But perhaps it might make sense to
put a `find-*' keymap there.

Phil Sainty <psainty@orcon.net.nz> writes:

> FWIW I use this same binding, and in my mind it makes excellent sense
> to use C-h C-l for `find-library' if you also have:
>
> C-h C-v for `find-variable'
> C-h C-f for `find-function'
> C-h C-k for `find-function-on-key'
>
> All of which feel (to me) analogous to C-h v, C-h f, and C-h k: Without
> the Ctrl modifier you view the docstrings; with it you view the code.

Unfortunately `C-h C-f' is taken, but this makes sense.

> (Admittedly C-h l is unconnected, but that hasn't bothered me.
> Following
> my pattern that would probably be bound to `finder-commentary', but I'm
> not suggesting we move `view-lossage' elsewhere.)
>
> I guess my main point is that I do think of *all* of these things as
> help-related, as I consider reading the code as just the next step up
> from reading the docstrings.

That's a good point.

I doubt `C-h C-f' is used that often, so perhaps we could consider
moving it and binding these four find-* commands to the `C-h' map.

Anybody else with opinions or ideas here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-11-24 17:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  6:54 bug#52074: 29.0.50; Add key binding for find-library Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-24  7:20 ` Lars Ingebrigtsen
2021-11-24  7:26   ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-24 17:16     ` Lars Ingebrigtsen [this message]
2021-11-24 18:29       ` Juri Linkov
2021-11-24 18:55       ` bug#52074: [External] : " Drew Adams
2021-11-24 12:00   ` Phil Sainty
2021-11-24 18:21 ` bug#52074: [External] : " Drew Adams
2021-11-24 18:32 ` Drew Adams
2021-11-24 21:06 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0gxwk2p.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=52074@debbugs.gnu.org \
    --cc=manuel.uberti@inventati.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).