GNU bug report logs - #13208
23.3; startup.el: not possible to set inhibit-startup-echo-area-message for shared .emacs.el with different user names

Previous Next

Package: emacs;

Reported by: Ansgar Burchardt <ansgar <at> debian.org>

Date: Mon, 17 Dec 2012 16:56:01 UTC

Severity: wishlist

Tags: wontfix

Merged with 12370

Found in versions 23.3, 24.2.50

Done: Christopher Schmidt <christopher <at> ch.ristopher.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13208 in the body.
You can then email your comments to 13208 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13208; Package emacs. (Mon, 17 Dec 2012 16:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ansgar Burchardt <ansgar <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 17 Dec 2012 16:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ansgar Burchardt <ansgar <at> debian.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3;
	startup.el: not possible to set inhibit-startup-echo-area-message for
	shared .emacs.el with different user names
Date: Mon, 17 Dec 2012 11:56:40 +0100
The function display-startup-echo-area-message in startup.el checks that
inhibit-startup-echo-area-message is set in .emacs.el to a string
literal matching the user name. This makes is impossible to set the
option in a .emacs.el shared between different machines where I have
different user names.

It also breaks setting the option together with other options in the
same setq.

The documentation claims this is intended so that "thoughtless copying
of your init file will not inhibit the message for someone
else". However one can just add a

  (defun display-startup-echo-area-message () nil)

or

  (defun display-startup-echo-area-message () (message ""))

to ~/.emacs.el. This will also work after "thoughtless copying" so the
whole code making setting this option extra hard seems to be fairly
useless.

Ansgar

In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-21 on batsu, modified by Debian




Forcibly Merged 12370 13208. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Dec 2012 17:08:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13208; Package emacs. (Mon, 17 Dec 2012 21:18:01 GMT) Full text and rfc822 format available.

Message #10 received at 13208 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Ansgar Burchardt <ansgar <at> debian.org>
Cc: 13208 <at> debbugs.gnu.org
Subject: Re: bug#13208: 23.3; startup.el: not possible to set
	inhibit-startup-echo-area-message for shared .emacs.el with different
	user names
Date: Mon, 17 Dec 2012 22:15:39 +0100
On Mon, Dec 17, 2012 at 11:56 AM, Ansgar Burchardt <ansgar <at> debian.org> wrote:

> The function display-startup-echo-area-message in startup.el checks that
> inhibit-startup-echo-area-message is set in .emacs.el to a string
> literal matching the user name. This makes is impossible to set the
> option in a .emacs.el shared between different machines where I have
> different user names.

Try

  (put 'inhibit-startup-echo-area-message 'saved-value t)
  (setq inhibit-startup-echo-area-message (user-login-name))

  J




bug closed, send any further explanations to 12370 <at> debbugs.gnu.org and Christopher Schmidt <christopher <at> ch.ristopher.com> Request was from Christopher Schmidt <christopher <at> ch.ristopher.com> to control <at> debbugs.gnu.org. (Wed, 29 May 2013 14:48:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Jun 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.