GNU bug report logs -
#1066
23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1066 in the body.
You can then email your comments to 1066 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Romain Francoise <romain <at> orebokech.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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''
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Romain Francoise <romain <at> orebokech.com> writes:
> 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.
Can you please test this patch:
--- faces.el.~1.425.~ 2008-09-24 12:55:17.000000000 -0700
+++ faces.el 2008-10-02 12:39:46.000000000 -0700
@@ -2001,7 +2001,6 @@ Value is the new frame created."
;; Make sure the tool-bar is ready to be enabled. The
;; `tool-bar-lines' frame parameter will not take effect
;; without this call.
- (tool-bar-setup frame)
(if (null visibility-spec)
(make-frame-visible frame)
(modify-frame-parameters frame (list visibility-spec)))
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Romain Francoise <romain <at> orebokech.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #20 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu <dann <at> ics.uci.edu> writes:
> Can you please test this patch:
> --- faces.el.~1.425.~ 2008-09-24 12:55:17.000000000 -0700
> +++ faces.el 2008-10-02 12:39:46.000000000 -0700
> @@ -2001,7 +2001,6 @@ Value is the new frame created."
> ;; Make sure the tool-bar is ready to be enabled. The
> ;; `tool-bar-lines' frame parameter will not take effect
> ;; without this call.
> - (tool-bar-setup frame)
> (if (null visibility-spec)
> (make-frame-visible frame)
> (modify-frame-parameters frame (list visibility-spec)))
Works for me, thanks.
While I'm at it: the user who reported this bug to me also has the
problem with `set-default-font', it seems to have no effect with
--daemon.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #25 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
Romain Francoise <romain <at> orebokech.com> writes:
> Dan Nicolaescu <dann <at> ics.uci.edu> writes:
>
> > Can you please test this patch:
>
> > --- faces.el.~1.425.~ 2008-09-24 12:55:17.000000000 -0700
> > +++ faces.el 2008-10-02 12:39:46.000000000 -0700
> > @@ -2001,7 +2001,6 @@ Value is the new frame created."
> > ;; Make sure the tool-bar is ready to be enabled. The
> > ;; `tool-bar-lines' frame parameter will not take effect
> > ;; without this call.
> > - (tool-bar-setup frame)
> > (if (null visibility-spec)
> > (make-frame-visible frame)
> > (modify-frame-parameters frame (list visibility-spec)))
>
> Works for me, thanks.
Thanks, I am not completely convinced it's the right fix, given the
comment that precedes this code. Not sure what to do...
> While I'm at it: the user who reported this bug to me also has the
> problem with `set-default-font', it seems to have no effect with
> --daemon.
Unfortunately I don't know much about the font stuff, and I don't have
time at the moment to deal with it, so someone else will have to deal
with that.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #30 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
Romain Francoise <romain <at> orebokech.com> writes:
> While I'm at it: the user who reported this bug to me also has the
> problem with `set-default-font', it seems to have no effect with
> --daemon.
Another thing:
set-default-font is an alias for `set-frame-font' in `frame.el'.
(set-default-font font-name &optional keep-size)
Set the font of the selected frame to font-name.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
when .emacs is run, the selected frame is not an X11 frame, so this
function does not seem to be the right one to use.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefano Zacchiroli <zack <at> upsilon.cc>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #35 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
FWIW, it is very likely that this bug (#1078) is a duplicate of #1066.
Cheers.
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #40 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
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.
bug closed, send any further explanations to Romain Francoise <romain <at> orebokech.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 09 Oct 2008 19:55:05 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Message #45 received at 1066 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
> 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.
Thanks for doing this! There's still a missing part: it needs to work
when using --without-x.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Eli Zaretskii <eliz <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #50 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> Date: Thu, 9 Oct 2008 18:17:04 -0700 (PDT)
> From: Dan Nicolaescu <dann <at> ics.uci.edu>
> Cc: Romain Francoise <romain <at> orebokech.com>, 1066 <at> emacsbugs.donarmstrong.com
>
> Chong Yidong <cyd <at> stupidchicken.com> writes:
>
> > 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.
>
> Thanks for doing this! There's still a missing part: it needs to work
> when using --without-x.
I think I fixed that part, please try again.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1066
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Eli Zaretskii <eliz <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 07 Nov 2008 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.