Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* A better way for customizing parts of gnus
@ 2003-02-05 18:56 Victor S. Miller
  2003-02-06 13:32 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Victor S. Miller @ 2003-02-05 18:56 UTC (permalink / raw)


At work we have emacs 21.2 installed (solaris), but I noticed that
some parts of gnus are not working quite right.  After a bit of
investigation I found that in site-lisp there are a number of el (and
elc) files from gnus (which override the standard ones in the
distribution) which are dated 1994!  Further investigation shows that
they are there for various local modifications.  For instance
message.el is modified in order to add some mandatory message headers,
whose contents are checked for validity.  To do this a new defvar and
some new defun's are added.  I think that the way in which they've
done it is terrible, but the question is -- what would be the best way
to do it -- for example have some hook defined to load files which
will contain the supplementary definitions.  If so, which hook should
it be?  For various reasons it is not desirable to have all users
modify their .emacs or .gnus files.  How can one get these hooks
initialized so that everybody always gets them?

Victor


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A better way for customizing parts of gnus
  2003-02-05 18:56 A better way for customizing parts of gnus Victor S. Miller
@ 2003-02-06 13:32 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2003-02-06 13:32 UTC (permalink / raw)


You can put code in site-start.el that does things like

(eval-after-load "message"
  '(progn
      (statement-1)
      (statement-2)))
-- 
A turnip curses Elvis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-06 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-05 18:56 A better way for customizing parts of gnus Victor S. Miller
2003-02-06 13:32 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).