emacs-devel
[Top][All Lists]
Advanced

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

Re: lispref/hooks.texi


From: Chong Yidong
Subject: Re: lispref/hooks.texi
Date: Sun, 26 Feb 2012 15:49:08 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Glenn Morris <address@hidden> writes:

> How about merging the general information about hooks from the start
> of hooks.texi into the section "Hooks" in modes.texi (if not there
> already), and removing hooks.texi?

The idea behind this appendix, I think, is that if someone is not sure
which hook to put a function onto, it's good to have a list of possible
hooks to use.

If we agree that that's its purpose, I think we should take out all the
hooks not related to general Emacs editing, e.g. `blink-paren-function',
`diary-*-hook', and `font-lock-beginning-of-syntax-function'.  This will
also make hooks.texi easier to maintain.

> I just noticed
>   Appendix G Buffer-Local Variables
> and
>   Appendix H Standard Keymaps
> about which I would say much the same.

Appendix G seems pretty useless.  Appendix H can be kept, but we should
remove all the mode-specific keymaps, like `apropos-mode-map' and
`c-mode-map', and just state that each mode has an associated keymap.



reply via email to

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