|
From: | Brian Jenkins |
Subject: | Re: [PATCH] frame.c: focus hooks |
Date: | Tue, 19 Nov 2013 19:52:13 -0500 |
Hm. I see nothing in either the Emacs manual or the Elisp manual that suggests that Lisp code should not use `add-hook' or `remove-hook'.
Where do you find a convention saying that *polite* Lisp packages do not modify hook values and that to do so in a package published for widespread use is "rude" and "ill-mannered"? Or that package authors who do not respect such a presumed convention are impolite or do not act in good faith?
Where are the "Emacs etiquette" and "social norms" in this regard put forth?
Just wondering.
You say:
It's probably not a bad idea to document the intent of these hooks -- that they are meant for the end user and that it is inappropriate to set them in public packages, but I don't see that adding them opens a huge can of worms.
Then please do that. If it is inappropriate for Lisp code to use these hooks, then document that, of course. And perhaps document the reason. I don't think you can assume that people (users or package authors) are aware of the convention that you presume.
[Prev in Thread] | Current Thread | [Next in Thread] |