From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Greselin Newsgroups: gmane.emacs.bugs Subject: bug#36193: 26.2; 'set-window-scroll-bars' setting doesn't take effect in emacsclient session Date: Thu, 13 Jun 2019 16:57:36 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004c6989058b35c22c" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="132796"; mail-complaints-to="usenet@blaine.gmane.org" To: 36193@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 17:38:56 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbRoU-000YN0-Qg for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2019 17:38:55 +0200 Original-Received: from localhost ([::1]:41016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRoT-0003lr-Oy for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2019 11:38:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49664) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRC0-0003bo-Ho for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRBx-0003rH-3E for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:59:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRBt-0003pI-O5 for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRBt-0003tq-MG for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Greselin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jun 2019 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36193 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156043790314922 (code B ref -1); Thu, 13 Jun 2019 14:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jun 2019 14:58:23 +0000 Original-Received: from localhost ([127.0.0.1]:35822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRBH-0003sb-0a for submit@debbugs.gnu.org; Thu, 13 Jun 2019 10:58:23 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRBE-0003sP-5y for submit@debbugs.gnu.org; Thu, 13 Jun 2019 10:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49480) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRBB-0003Al-UK for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:58:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRB9-000398-Sm for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:58:17 -0400 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:41634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRB8-000382-Vg for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 10:58:15 -0400 Original-Received: by mail-pg1-x52c.google.com with SMTP id 83so11106031pgg.8 for ; Thu, 13 Jun 2019 07:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=74EBBpcoPp3yoJI2tP2g/3EpCqtIXLploUb5Vl3yebk=; b=Dy66bxgIPcvhgqlVNTgHP61KxG7kGfzscansrg+7tb/MhmHjYmGXqWhs20alDuo3y3 RbVK5PwdGGjips4Ndc6yy8PYe8cto+EaDAksKc3u+FxMOIanM+B6ag9/XAQKJD9Xepi0 rbQdGRyS+0j8+97/mzDbSmsSJyncr9VNoBzPyqsb/BYdgKoLzQN2K136tylaLZzYCV6L 2HkpE37D0CYVWZaaQzaJGFpLhAH9rSdGMzW3CRzV+jSjmI2m+seq8/nivkzzJAmGf1Vo 6U/5a3TpeSpMgO85L/KraHiyya30Me5JDLAMmZag9vg0QfA05NH/RlcLbrpxhX7RN9+s Hniw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=74EBBpcoPp3yoJI2tP2g/3EpCqtIXLploUb5Vl3yebk=; b=gFV368zE/XhH2HzWaFq9xrdDSSAZH7NVlEIUtD9SudljBRFNw2kcJLEDrfhfDdVGKP oWFVMyOr4fwDGScE0cx8+ffyxHrN1358xNrdgRZnlOarrNLJ+Emg0ngy0mVP257jJkuN N8dFAtfmwsMgqyE4TCupkZ+GdeaeDnIAsUwc+9K/hnQ8nsIP5Xj35w2ffGudH0toe9JT M5vOrAaZKNQXouzxs8+xaWDVug9TB+f4vT6lfCeFIuYdnIJdcK36lvb8v+AFQi8ntSbs l48Bl1UmjbXBJwA96LjTsQ9FhA5S9Y3FOwUC4nJR48lYNDBZLFcm46k6lOlQYBJwlxZ7 4uPQ== X-Gm-Message-State: APjAAAWZG1VZPRdppkoTNeEwqqCT6156BwYNqRw0mu9m1huXk7X1SFLy uK/oQMtWMnhzjpGFWfmfXDcpnetKMjlKgd6HvNMlSS8j X-Google-Smtp-Source: APXvYqxWiX1pW9BfqjWx0VPkDciCLgf3Ts+NnXPIBacdL6nNSzI1uWhoJZ6En9MdBwDnp80ae6GlmiB3yPQZK0ezWHg= X-Received: by 2002:a63:c508:: with SMTP id f8mr31580696pgd.48.1560437892866; Thu, 13 Jun 2019 07:58:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160501 Archived-At: --0000000000004c6989058b35c22c Content-Type: text/plain; charset="UTF-8" Hello, I use (set-window-scroll-bars (minibuffer-window) 0 nil) to disable the minibuffer scroll bar. This works if Emacs is launched with $ emacs but it doesn't in emacsclient sessions, though it takes effect if evaluated in the running session (e.g. with 'eval-expression'). I tried delaying the evaluation with 'window-setup-hook', to no avail. $ cat ~/.emacs.d/init.el (set-window-scroll-bars (minibuffer-window) 0 nil) In GNU Emacs 26.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.8) of 2019-04-30 built on buildvm-06.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12004000 System Description: Fedora release 30 (Thirty) Recent messages: Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done Starting Emacs daemon. When done with this frame, type C-x 5 0 Making completion list... Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2 Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp server time-date elec-pair finder-inf tex-site info ess-generics package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 116700 6479) (symbols 48 22592 1) (miscs 40 55 101) (strings 32 36127 1817) (string-bytes 1 1005252) (vectors 16 17258) (vector-slots 8 542430 8396) (floats 8 59 58) (intervals 56 294 0) (buffers 992 13)) --0000000000004c6989058b35c22c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I use
=C2= =A0 (set-window-scroll-bars (minibuffer-window) 0 nil)
to disable= the minibuffer scroll bar. This works if Emacs is launched with
= =C2=A0 $ emacs
but it doesn't in emacsclient sessions, though it takes effect if evaluate= d in the running session (e.g. with 'eval-expression'). I tried delaying th= e=20 evaluation with=C2=A0 'window-setup-hook', to no avail.

$ cat ~/.emacs.d/init.el
(set-window-scroll-bars (m= inibuffer-window) 0 nil)

In GNU Emacs 26.2 (build 1, x86_64-redhat-l= inux-gnu, GTK+ Version 3.24.8)
=C2=A0of 2019-04-30 built on buildvm-06.phx2.fedoraproject.org<= /a>
Windowing system distributor 'Fedora Project', version 11.0.= 12004000
System Description: Fedora release 30 (Thirty)

Recent me= ssages:
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mo= de-init.el (source)...done
Starting Emacs daemon.
When done with this= frame, type C-x 5 0
Making completion list...

Configured using:<= br>=C2=A0'configure --build=3Dx86_64-redhat-linux-gnu
=C2=A0--host= =3Dx86_64-redhat-linux-gnu --program-prefix=3D
=C2=A0--disable-dependenc= y-tracking --prefix=3D/usr --exec-prefix=3D/usr
=C2=A0--bindir=3D/usr/bi= n --sbindir=3D/usr/sbin --sysconfdir=3D/etc
=C2=A0--datadir=3D/usr/share= --includedir=3D/usr/include --libdir=3D/usr/lib64
=C2=A0--libexecdir=3D= /usr/libexec --localstatedir=3D/var
=C2=A0--sharedstatedir=3D/var/lib --= mandir=3D/usr/share/man
=C2=A0--infodir=3D/usr/share/info --with-dbus --= with-gif --with-jpeg --with-png
=C2=A0--with-rsvg --with-tiff --with-xft= --with-xpm --with-x-toolkit=3Dgtk3
=C2=A0--with-gpm=3Dno --with-xwidget= s --with-modules
=C2=A0build_alias=3Dx86_64-redhat-linux-gnu host_alias= =3Dx86_64-redhat-linux-gnu
=C2=A0'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -= pipe -Wall -Werror=3Dformat-security
=C2=A0-Wp,-D_FORTIFY_SOURCE=3D2 -Wp= ,-D_GLIBCXX_ASSERTIONS -fexceptions
=C2=A0-fstack-protector-strong -grec= ord-gcc-switches
=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1<= br>=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgene= ric
=C2=A0-fasynchronous-unwind-tables -fstack-clash-protection -fcf-pro= tection'
=C2=A0LDFLAGS=3D-Wl,-z,relro
=C2=A0PKG_CONFIG_PATH=3D:/u= sr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFYACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT= _SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2

Import= ant settings:
=C2=A0 value of $LANG: en_GB.UTF-8
=C2=A0 value of $XMO= DIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major= mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mod= e: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 elect= ric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t=
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 gl= obal-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-compositi= on-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mod= e: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

= Load-path shadows:
None found.

Features:
(shadow sort mail-ext= r emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml = mml-sec epa derived epg gnus-util rmail
rmail-loaddefs mm-decode mm-bodi= es mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail= rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils pp server time= -date elec-pair finder-inf
tex-site info ess-generics package easymenu e= pg-config url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-= macs eieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byt= e-compile cconv
cl-loaddefs cl-lib mule-util tooltip eldoc electric uniq= uify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/co= mmon-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-li= st replace
newcomment text-mode elisp-mode lisp-mode prog-mode register = page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock=
font-lock syntax facemenu font-core term/tty-colors frame cl-genericcham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet laokorean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
eur= opean ethiopic indian cyrillic chinese composite charscript charprop
cas= e-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-= preloaded nadvice loaddefs button faces cus-face macroexp files
text-pro= perties overlay sha1 md5 base64 format env code-pages mule
custom widget= hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynam= ic-setting system-font-setting font-render-setting
xwidget-internal move= -toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Me= mory information:
((conses 16 116700 6479)
=C2=A0(symbols 48 22592 1)=
=C2=A0(miscs 40 55 101)
=C2=A0(strings 32 36127 1817)
=C2=A0(stri= ng-bytes 1 1005252)
=C2=A0(vectors 16 17258)
=C2=A0(vector-slots 8 54= 2430 8396)
=C2=A0(floats 8 59 58)
=C2=A0(intervals 56 294 0)
=C2= =A0(buffers 992 13))
--0000000000004c6989058b35c22c--