Kevin Ryde <use...@zip.com.au> wrote:

> Reuben Thomas <r...@sc3d.org> writes:
> >
> > For example, I use lua-mode (not part of Emacs, so no reason to list it by
> > default), and since Lua uses single-line comments, I like to use it with
> > filladapt-mode, but I can't do it by simply ticking lua-mode-hook in the
> > list in the customize page for filladapt-turn-on-mode-hooks, because it's
> > not there, and I can't add it.
> 
> That'll be a shortcoming of the customize system I think.  A `list' type
> doesn't offer checkboxes and a set of checkbox choices doesn't offer
> arbitrary list values.  (The `hook' type is better in that respect, but
> of course is not right in this case.)
> 
> It may be better to make filladapt-turn-on-mode-hooks a list-of-symbols
> type for customize and just show some likely hook symbol values in the
> docstring.

No reason you can't do both.  In MH-E (an Emacs mail reader based on
MH/nmh), I coded both a predefined checkbox list and a user add-on list
for headers to hide when an email mesage is displayed.

M-x customize-group mh-e
-> then select "Mh Show group"
-> then see:

 Mh Invisible Header Fields:
 Mh Invisible Header Fields Default:

Peter
-- 
Peter S. Galbraith, Debian Developer          <p...@debian.org>
                                 http://people.debian.org/~psg
GPG key 4096/70D4A979 6309 28AE 8EB3 AB57 22F3  03BC 17DC 3CC4 70D4 A979



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to