help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: customize option/variable


From: Stephen Berman
Subject: Re: customize option/variable
Date: Tue, 29 Aug 2023 00:08:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Mon, 28 Aug 2023 23:42:04 +0200 Juergen Fenn <jfenn@gmx.net> wrote:

> Am 28.08.23 um 23:13 Uhr schrieb Stephen Berman:
>> You can customize apropos-sort-by-scores with M-x customize-option in
>> Emacs 29 (and 30), but apropos.el has to be loaded for Customize to
>> recognize the variable. So you can do e.g. `M-x apropos' and the `M-x
>> customize-option apr TAB s TAB will complete to the variable and you can
>> customize it.
>
> Thank you for this hint. In fact, I was not aware that navigating in
> this way to the full variable name would lead you to a different
> "target" than, e.g., M-x describe-variable, or M-x customize-variable
> without completing the search term by apropos.

Completion with M-x describe-variable (aka C-h v) in effect searches all
Emacs Lisp libraries to find completion candidates, while
customize-variable just examines loaded libraries.  Calling M-x apropos
just loads the library (you could also use e.g. M-x load-library RET
apropos), you don't need to enter search terms to subsequently get
customize-variable to recognize options in the loaded library.

Steve Berman



reply via email to

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