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.

> Of course I can use the traditional way of adding filladapt-mode to the mode
> hook, but that's harder.

That's probably the best way though, adding turn-on-filladapt-mode.

It'd be possible to add turn-on-filladapt-mode as a custom-option on
lua-mode-hook so it shows up as a check box, but filladapt is good in
almost every mode and you wouldn't want to add an option to every mode.



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