unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: dieter@duenenhof-wilhelm.de
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: RE: [ELPA] New package: inform
Date: Fri, 8 May 2020 14:55:44 -0700 (PDT)	[thread overview]
Message-ID: <7933d745-a53b-4adc-ba77-a20c159b4469@default> (raw)
In-Reply-To: <86imh6i7gp.fsf@duenenhof-wilhelm.de>

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



  reply	other threads:[~2020-05-08 21:55 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 19:36 [ELPA] New package: inform H. Dieter Wilhelm
2020-05-07 20:40 ` Stefan Monnier
2020-05-08  1:34   ` T.V Raman
2020-05-08  8:29     ` H. Dieter Wilhelm
2020-05-08  8:18   ` H. Dieter Wilhelm
2020-05-08 10:25     ` Eli Zaretskii
2020-05-08 11:06       ` H. Dieter Wilhelm
2020-05-08 11:39         ` Eli Zaretskii
2020-05-08 13:45         ` H. Dieter Wilhelm
2020-05-08 14:01           ` Eli Zaretskii
2020-05-08 15:04           ` Stefan Monnier
2020-05-10 18:19             ` H. Dieter Wilhelm
2022-12-25  9:39               ` Ihor Radchenko
2022-12-26  0:10                 ` Stefan Monnier
2022-12-26 20:41                   ` H. Dieter Wilhelm
2022-12-27 10:54                     ` Ihor Radchenko
2022-12-27 22:38                       ` H. Dieter Wilhelm
2020-05-08 11:45       ` Maurizio Boriani
2020-05-08 16:23     ` Drew Adams
2020-05-08 16:38       ` Drew Adams
2020-05-08 18:53       ` H. Dieter Wilhelm
2020-05-08 21:55         ` Drew Adams [this message]
2020-05-08 22:02           ` Drew Adams
2020-05-09  9:46       ` Jean-Christophe Helary
2020-05-09 13:06         ` help-fns+ (WAS: [ELPA] New package: inform) Noam Postavsky
2020-05-09 13:16           ` Jean-Christophe Helary
2020-05-09 17:27         ` [ELPA] New package: inform Drew Adams
2020-05-10  1:05           ` Jean-Christophe Helary
2020-05-09 17:10   ` H. Dieter Wilhelm
2023-02-01 19:08   ` H. Dieter Wilhelm
2023-02-01 19:21     ` H. Dieter Wilhelm
2020-05-09  3:51 ` Richard Stallman
2020-05-09  9:38   ` H. Dieter Wilhelm
2020-05-09  9:51     ` Eli Zaretskii
2020-05-09 15:29       ` H. Dieter Wilhelm

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=7933d745-a53b-4adc-ba77-a20c159b4469@default \
    --to=drew.adams@oracle.com \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).