all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon
@ 2008-10-02 18:13 Romain Francoise
  2008-10-02 19:47 ` Dan Nicolaescu
  0 siblings, 1 reply; 10+ messages in thread
From: Romain Francoise @ 2008-10-02 18:13 UTC (permalink / raw)
  To: emacs-pretest-bug

When Emacs is started with --daemon, (tool-bar-mode -1) has no
effect when used in ~/.emacs.

To reproduce:
1. echo "(tool-bar-mode -1)" >~/.emacs
2. Start Emacs, note that it has no tool bar, exit
3. emacs --daemon
4. emacsclient -c: the frame has a tool bar when it should not

In the created frame, the first call to M-x tool-bar-mode has no
effect.  A second call finally disables the tool bar.



In GNU Emacs 23.0.60.12 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11)
 of 2008-10-02 on elegiac
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  'CFLAGS=-O0 -g''







^ permalink raw reply	[flat|nested] 10+ messages in thread
* bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon
@ 2008-10-09 19:49 Chong Yidong
  2008-10-10  1:17 ` Dan Nicolaescu
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-09 19:49 UTC (permalink / raw)
  To: Romain Francoise, Dan Nicolaescu; +Cc: 1066

I've reorganized the semantics of tool-bar-mode slightly to deal with
the multi-tty situation.

Now, tool-bar-mode is always turned on unless the user explicitly
disables it in X resources or .emacs --- even if the initial frame is on
a tty.  Even though tool-bar-mode doesn't display a tool-bar on a tty,
its value is meaningful: it says whether or not any graphical frame we
create will have a tool-bar.

This should resolve the current bug.






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

end of thread, other threads:[~2008-10-10  8:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 18:13 bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Romain Francoise
2008-10-02 19:47 ` Dan Nicolaescu
2008-10-02 20:07   ` Romain Francoise
2008-10-02 20:52     ` Dan Nicolaescu
2008-10-02 21:14     ` Dan Nicolaescu
2008-10-03  1:04       ` set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon) Stefan Monnier
2008-10-03  7:22         ` set-default-font Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2008-10-09 19:49 bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Chong Yidong
2008-10-10  1:17 ` Dan Nicolaescu
2008-10-10  8:58   ` Eli Zaretskii

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.