[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorth

From: Eli Zaretskii
Subject: Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master)
Date: Mon, 04 Oct 2021 20:51:29 +0300

> From: João Távora <joaotavora@gmail.com>
> Cc: rms@gnu.org,  psainty@orcon.net.nz,  acm@muc.de,  emacs-devel@gnu.org
> Date: Mon, 04 Oct 2021 18:43:08 +0100
> >> * So, if we follow our first instincts (they were my first instincts,
> >>   too!), it means that the exact same Help input in two different
> >>   situations could bring about different results.
> >
> > That already happens in any number of situations, and shouldn't
> > prevent us from adding one more.  The most trivial example is
> > buffer-local variables; another example is mode-specific commands (a
> > recent addition in Emacs 28).  
> Interesting, I wasn't aware of mode-specific commands.  Can you give one
> example of one or two commands specific to a mode?

Look for commands that have 'interactive' with an additional argument
that is a mode symbol.

> Does it mean that the listing itself, i.e. the collection of
> completions of given by 'C-h x' is different according to the
> buffer?

According to the buffer's mode, yes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]