unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Systematic implicit aliases for option variables
@ 2022-03-01  4:24 Richard Stallman
  2022-03-01  8:08 ` Eli Zaretskii
  2022-03-01 17:43 ` [External] : " Drew Adams
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Stallman @ 2022-03-01  4:24 UTC (permalink / raw)
  To: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

`occur' is an alias for the command `list-matching-lines'.
`occur' may be used by more people than `list-matching-lines'.

There are options named `list-matching-lines-*', but people who know
the command as `occur' may not think to look for options with those
names.

Does it make sense to define a command `customize-command' which takes
a command name as argument and shows you the options that are
pertinent to customizing that command?

If you give it `occur', it would recognize that that is an alias
for `list-matching-lines', and show you the options pertinent to
`list-matching-lines'.  You wouldn't need to know that `occur'
is an alias.

I think the hard part of this would be adding a data base to find the
custom groups that are pertinent to any particular command.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-03  5:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01  4:24 Systematic implicit aliases for option variables Richard Stallman
2022-03-01  8:08 ` Eli Zaretskii
2022-03-02  4:46   ` Richard Stallman
2022-03-02 11:01     ` Eli Zaretskii
2022-03-03  5:08       ` Richard Stallman
2022-03-01 17:43 ` [External] : " Drew Adams
2022-03-03  5:05   ` Richard Stallman

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).