emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] frame.c: focus hooks


From: Brian Jenkins
Subject: Re: [PATCH] frame.c: focus hooks
Date: Tue, 19 Nov 2013 13:14:59 -0500


Are you assuming that these hooks won't be used by any Lisp packages?


Yes, I am expecting that they will be left for the user to specify in
his or her local Emacs configuration.

That is, I expect that they won't be assigned by *polite* Lisp packages.
It would be rude to set these hooks in a package published for
widespread use.

Package authors aren't perfect, but they care enough about Emacs culture
to learn Lisp and contribute work.  We should assume good faith.  When
people write impolite packages, we should teach them Emacs etiquette and
help them observe social norms.

Further, ill-mannered Lisp packages are not forced on the user.  They
are deliberately downloaded in source form and installed.  If a package
inappropriately assigns hooks, we are free to uninstall it, to clear the
hooks after load, to modify the package for local use, to contact the
authors and suggest that they not over-specify our environment, or even
to distribute a better-behaved fork of the package.

Inappropriate hook assignment is also easier to detect than many
possible package misbehaviors -- just evaluate the hook variables.

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.

Best,
Brian Jenkins 

reply via email to

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