all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ansgar Burchardt <ansgar@debian.org>
To: 13208@debbugs.gnu.org
Subject: 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 11:56:40 +0100	[thread overview]
Message-ID: <x72zk1d54lz.fsf@elsa.iwr.uni-heidelberg.de> (raw)

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





             reply	other threads:[~2012-12-17 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 10:56 Ansgar Burchardt [this message]
2012-12-17 21:15 ` bug#13208: 23.3; startup.el: not possible to set inhibit-startup-echo-area-message for shared .emacs.el with different user names Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x72zk1d54lz.fsf@elsa.iwr.uni-heidelberg.de \
    --to=ansgar@debian.org \
    --cc=13208@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.