Package: emacsen-common
Version: 1.4.19
File: /etc/emacs/site-start.d/00debian-vars.el
Two years ago, I wrote:
> /etc/emacs/site-start.d/00debian-vars.el prints a message if /etc/mailname
> does not exist. Please don't do that. While making use of /etc/mailname if
> it exists seems like a good idea, complaining if it doesn't exist seems
> entirely unnecessary. In particular, any system without an MTA likely doesn't
> have any reasonable value for /etc/mailname across all users, since those
> users would likely use MUAs that talk to external SMTP servers.
/etc/emacs/site-start.d/00debian-vars.el still prints a message on Emacs
startup if /etc/mailname does not exist. This represents one of the
only remaining changes I have to make to Debian's default configuration.
Please consider changing this file to not print a message if
/etc/mailname does not exist.
I've attached a patch to 00debian-vars.el which makes it stop
complaining about the absence of /etc/mailname. Please apply it.
Thanks,
Josh Triplett
--- 00debian-vars.el 2009-05-17 15:59:55.000000000 -0700
+++ /etc/emacs/site-start.d/00debian-vars.el 2009-06-18 22:47:14.000000000 -0700
@@ -47,9 +47,8 @@
(let ((mailname
(debian-file->string "/etc/mailname" (function debian-clean-mailname))))
- (if (not mailname)
- (message "No /etc/mailname. Reverting to default...")
- (setq mail-host-address mailname)))
+ (if mailname
+ (setq mail-host-address mailname)))
;; Don't need to check NNTPSERVER for override, gnus does that for us.
(if (file-readable-p "/etc/news/server")