[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ELPA] New package: inform
From: |
Drew Adams |
Subject: |
RE: [ELPA] New package: inform |
Date: |
Fri, 8 May 2020 14:55:44 -0700 (PDT) |
> > You might want to have a user option for what
> > you're considering wrt Info links: a whitelist
> > of the manuals to treat.
>
> Are you telling me that I can use, in these situtations, one variable
> for two purposes? 1) For specifying and changing the list and 2)
> switching a linking for lists off and on?
>
> '((list members) t) ; only these
> '((other members) nil) ; none of these
> '('all nil) ; no links
> '('all t) ; link everything?
Not sure what you're asking. I think you're
asking whether you can about doing something
like what I did in help-fns+.el: let a single
option value specify both:
1. Either a list of manuals or a value that means
use all manuals present.
and
2. Whether to do <something>.
In my case, #2 is whether to search the manuals
specified by #1 before creating the button, so
the button either (a) takes you directly to an
Info Index buffer (menu) of the relevant links
or (b) searches the manuals and produces such
an Info Index buffer of links when you click it.
(a) Takes the time to compute the menu before
showing *Help*, which is a waste of time if you
never click the button.
(b) Saves that time before creating *Help*, but
spends it when you click the button.
TBH, the approach in help-fns+.el is not very
satisfactory, because of the time to compute
the links (either way). But that's what that
particular defcustom is about.
In Customize, there are two things to customize:
1. "Which Manuals:" which has a `Value Menu' that
lets you choose between "Specific Manuals (files)"
and "All Manuals".
For the former, the type is a repetition (`repeat')
of type `string'. For the latter, the value is the
symbol `all'.
2. A toggle button, "Search Before Creating Button?"
The type is `boolean'.
- Re: [ELPA] New package: inform, (continued)
- Re: [ELPA] New package: inform, H. Dieter Wilhelm, 2020/05/08
- Re: [ELPA] New package: inform, Eli Zaretskii, 2020/05/08
- Re: [ELPA] New package: inform, H. Dieter Wilhelm, 2020/05/08
- Re: [ELPA] New package: inform, Eli Zaretskii, 2020/05/08
- Re: [ELPA] New package: inform, Stefan Monnier, 2020/05/08
- Re: [ELPA] New package: inform, H. Dieter Wilhelm, 2020/05/10
- Re: [ELPA] New package: inform, Maurizio Boriani, 2020/05/08
- RE: [ELPA] New package: inform, Drew Adams, 2020/05/08
- RE: [ELPA] New package: inform, Drew Adams, 2020/05/08
- Re: [ELPA] New package: inform, H. Dieter Wilhelm, 2020/05/08
- RE: [ELPA] New package: inform,
Drew Adams <=
- RE: [ELPA] New package: inform, Drew Adams, 2020/05/08
- Re: [ELPA] New package: inform, Jean-Christophe Helary, 2020/05/09
- Re: help-fns+ (WAS: [ELPA] New package: inform), Noam Postavsky, 2020/05/09
- Re: help-fns+ (WAS: [ELPA] New package: inform), Jean-Christophe Helary, 2020/05/09
- RE: [ELPA] New package: inform, Drew Adams, 2020/05/09
- Re: [ELPA] New package: inform, Jean-Christophe Helary, 2020/05/09
Re: [ELPA] New package: inform, H. Dieter Wilhelm, 2020/05/09
Re: [ELPA] New package: inform, Richard Stallman, 2020/05/08