GNU bug report logs -
#11830
24.1; "scroll-bar-mode disabled" not honored when emacs started as daemon
Previous Next
Reported by: Reynaldo Baquerizo <reynaldomic <at> gmail.com>
Date: Sun, 1 Jul 2012 05:04:02 UTC
Severity: normal
Tags: notabug
Found in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
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 11830 in the body.
You can then email your comments to 11830 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11830
; Package
emacs
.
(Sun, 01 Jul 2012 05:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reynaldo Baquerizo <reynaldomic <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 01 Jul 2012 05:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In my .emacs file I keep this
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
- I start emacs as a daemon. emacs --daemon
- I create a new frame. emacsclient -c
I expect:
A frame with no scroll-bar
Instead I get:
A frame with scroll-bar
Additional:
(fboundp 'scroll-bar-mode) evaluates to true. I checked this adding the
following and can see in buffer *Messages* the debug message.
(when (fboundp 'scroll-bar-mode)
(scroll-bar-mode -1)
(message "[DBG] scroll-bar-mode disabled"))
###################################################################
In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
of 2012-06-11 on bitzer.hoetzel.info
Windowing system distributor `The X.Org Foundation', version 11.0.11202000
Configured using:
`configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--with-x-toolkit=gtk' '--with-xft'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: en_US.utf8
value of $LC_MONETARY: es_PE.utf8
value of $LC_NUMERIC: es_PE.utf8
value of $LC_TIME: es_PE.utf8
value of $LANG: es_PE.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
display-time-mode: t
auto-insert-mode: t
shell-dirtrack-mode: t
delete-selection-mode: t
ido-everywhere: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> <down> <down> C-g C-M-SPC C-g
C-M-d C-M-d C-M-u C-M-SPC C-g C-M-f C-f C-M-SPC C-g
C-M-u <down-mouse-1> <mouse-1> M-x e m a c s - C-SPC
b v u <backspace> <backspace> u g C-s C-s <return>
Recent messages:
~/.emacs and /home/rbm/dotemacs/.emacs are the same file
(No changes need to be saved)
Mark saved where search started
byte-code: Beginning of buffer [13 times]
Quit
Mark set
Quit
Mark set
Quit
Mark set
Quit
Load-path shadows:
None found.
Features:
(shadow sort mail-extr multi-isearch help-mode view tmm electric vc-hg
ibuf-ext wid-edit network-stream starttls url-cache emacsbug sendmail
server coffee-mode easy-mmode imenu ibuffer time warnings weblogger
derived message format-spec rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mailabbrev mail-utils gmm-utils mailheader xml-rpc timezone
url-http tls url url-proxy url-privacy url-expand url-methods
url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045
ietf-drums url-cookie url-util url-parse auth-source eieio byte-opt
bytecomp byte-compile cconv macroexp assoc gnus-util password-cache
url-gw url-vars mm-util mail-prsvr xml autoinsert erlang-flymake flymake
erlang-start ipython edmacro kmacro python-mode info-look info easymenu
compile executable shell pcomplete cl advice help-fns advice-preload
delsel ido time-date paren comint regexp-opt ansi-color ring tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11830
; Package
emacs
.
(Sun, 01 Jul 2012 19:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11830 <at> debbugs.gnu.org (full text, mbox):
Reynaldo Baquerizo wrote:
> In my .emacs file I keep this
>
> (if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
> (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
> (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
>
> - I start emacs as a daemon. emacs --daemon
> - I create a new frame. emacsclient -c
>
> I expect:
> A frame with no scroll-bar
Works for me. I tried both Gtk and Lucid toolkit builds.
> In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
> of 2012-06-11 on bitzer.hoetzel.info
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11830
; Package
emacs
.
(Sun, 01 Jul 2012 20:00:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 11830 <at> debbugs.gnu.org (full text, mbox):
> > In my .emacs file I keep this
> >
> > (if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
> > (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
> > (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
> >
> > - I start emacs as a daemon. emacs --daemon
> > - I create a new frame. emacsclient -c
> >
> > I expect:
> > A frame with no scroll-bar
>
> Works for me. I tried both Gtk and Lucid toolkit builds.
I left only those lines in my .emacs file and it did work.
Later I found that messing with default-frame-alist produced the unwanted result.
(setq default-frame-alist '((font . "Monaco-11"))
If instead I use:
(add-to-list 'default-frame-alist '(font . "Monaco-11"))
then it's OK.
It's a bit confusing the behaviour of frame related parameterers when used --daemon.
With the .emacs working file the value of default-parameter-list is
Its value is ((width . 112)
(height . 30)
(font . "Monaco-11")
(vertical-scroll-bars))
I know that when --daemon is used initial-parameter-list has no effect, but
default-parameter-list does.
Then, that (vertical-scroll-bars) shouldn't make new frames have a scroll-bar?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11830
; Package
emacs
.
(Mon, 02 Jul 2012 00:55:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 11830 <at> debbugs.gnu.org (full text, mbox):
Reynaldo Baquerizo wrote:
> Later I found that messing with default-frame-alist produced the
> unwanted result.
>
> (setq default-frame-alist '((font . "Monaco-11"))
I think that explains it.
> With the .emacs working file the value of default-parameter-list is
>
> Its value is ((width . 112)
> (height . 30)
> (font . "Monaco-11")
> (vertical-scroll-bars))
The last one can be written as (vertical-scroll-bars . nil).
By setq'ing default-frame-alist, you were clobbering this setting.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11830
; Package
emacs
.
(Mon, 02 Jul 2012 02:02:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 11830 <at> debbugs.gnu.org (full text, mbox):
> > Later I found that messing with default-frame-alist produced the
> > unwanted result.
> >
> > (setq default-frame-alist '((font . "Monaco-11"))
>
> I think that explains it.
>
> > With the .emacs working file the value of default-parameter-list is
> >
> > Its value is ((width . 112)
> > (height . 30)
> > (font . "Monaco-11")
> > (vertical-scroll-bars))
>
> The last one can be written as (vertical-scroll-bars . nil).
> By setq'ing default-frame-alist, you were clobbering this setting.
Ach, I see. Sorry for the noise.
Added tag(s) notabug.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 02 Jul 2012 22:46:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
11830 <at> debbugs.gnu.org and Reynaldo Baquerizo <reynaldomic <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 02 Jul 2012 22:46:02 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
.
(Tue, 31 Jul 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.