The currently available Emacs support installed by bzr has some drawbacks: - no canonical way of installation of Elisp files - the sitefile loads bzr-mode just like that and slows down start-up of Emacs, normally bzr-mode should be loaded when needed - bzr-mode.el is very crude and not well made - GNU Emacs 22.2 (not yet released) will bring native bzr support, making this one obsolete Patches to follow
Created attachment 132542 [details, diff] Patch for ebuild - define variable SITEFILE for later use (this the way all packages with Emacs support do it) - use functions from elisp-common.eclass to install the Elisp files and use SITELISP variable for site-file installation - add a file to a directory so Emacs does not automatically regard files located there - add a note to pkg_postinst that Emacs 22.2 will bring native support and all others have to load it manually
Created attachment 132543 [details] sitefile to to go ${FILESDIR} This will add the directory where bzr-mode.el has been installed to the load-path (so Emacs can find it) if no built-in bzr support is found. This is for people adding the (load "bzr-mode") line to their ~/.emacs file
Created attachment 132547 [details, diff] patch with die statements for elisp install functions Thanks to ulm for pointing out
bzr-0.91-r1 fixes this. Thanks for reporting :)