From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: modify-frame-parameters for scroll-bars makes invisible frames inaccessible Date: Fri, 19 Mar 2004 14:21:36 -0800 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1717527626==" X-Trace: sea.gmane.org 1079735016 26207 80.91.224.253 (19 Mar 2004 22:23:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Mar 2004 22:23:36 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 19 23:23:21 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4SOf-0007Z1-00 for ; Fri, 19 Mar 2004 23:23:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4SNp-0005Jf-9D for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Mar 2004 17:22:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4SNj-0005Is-Uu for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2004 17:22:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4SNC-0005AA-0g for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2004 17:22:22 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B4SNB-00059k-C7 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2004 17:21:49 -0500 Original-Received: from rgmgw6.us.oracle.com (rgmgw6.us.oracle.com [138.1.191.15]) by agminet02.oracle.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id i2JMLeIN004472 for ; Fri, 19 Mar 2004 14:21:40 -0800 Original-Received: from rgmgw6.us.oracle.com (localhost [127.0.0.1]) by rgmgw6.us.oracle.com (Switch-2.1.5/Switch-2.1.0) with ESMTP id i2JMLd201128 for ; Fri, 19 Mar 2004 15:21:39 -0700 (MST) Original-Received: from dradamslap (dhcp-amer-vpn-gw2-east-141-144-68-6.vpn.oracle.com [141.144.68.6]) by rgmgw6.us.oracle.com (Switch-2.1.5/Switch-2.1.0) with SMTP id i2JMLb201073 for ; Fri, 19 Mar 2004 15:21:37 -0700 (MST) Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Mime-version: 1.0 Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7324 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7324 This is a multi-part message in MIME format. --===============1717527626== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C40DBD.7C621800" This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C40DBD.7C621800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Emacs 20.7 If you change the value of parameter vertical-scroll-bars (whatever the new & old values) for an invisible frame, the value of parameter visibility is also changed to t as a side effect. What's worse, the frame remains physically invisible, in spite of the parameter value. This is important if you change the scroll-bar setting for all frames: it ends up making the invisible frames inaccessible, because they are physically invisible but their visibility parameter is set to t. Changing the value of other frame parameters doesn't seem to affect the visibility parameter (I didn't test them all, however). (setq tttt (selected-frame)) (make-frame-invisible tttt) (frame-parameters tttt) => (...(visibility)...) (modify-frame-parameters tttt '((vertical-scroll-bars))) (frame-parameters tttt) => (...(visibility . t)...(vertical-scroll-bars)...) I use Emacs 20, so it doesn't help me if this is fixed in Emacs 21. Is there a fix or workaround for Emacs 20? modify-frame-parameters is built-in; is there an equivalent lisp definition that could be corrected for the fix? Thanks, - Drew Adams ------=_NextPart_000_0019_01C40DBD.7C621800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Emacs=20 20.7
 
If you = change the=20 value of parameter vertical-scroll-bars (whatever the new & = old=20 values) for an invisible frame, the value of parameter=20 visibility is also changed to t as a side effect. What's worse, = the=20 frame remains physically invisible, in spite of the parameter=20 value.
 
This = is important if=20 you change the scroll-bar setting for all frames: it ends up = making=20 the invisible frames inaccessible, because they are = physically=20 invisible but their visibility parameter is set to = t.
 
Changing the value=20 of other frame parameters doesn't seem to affect the visibility = parameter (I=20 didn't test them all, however).
 
(setq = tttt=20 (selected-frame))
(make-frame-invisible = tttt)
(frame-parameters=20 tttt) =3D> (...(visibility)...)
(modify-frame-parameters tttt=20 '((vertical-scroll-bars)))
(frame-parameters=20 tttt) =3D> (...(visibility .=20 t)...(vertical-scroll-bars)...)
 
I use = Emacs 20, so=20 it doesn't help me if this is fixed in Emacs 21. Is there a fix or=20 workaround for Emacs 20? modify-frame-parameters is built-in; is there = an=20 equivalent lisp definition that could be corrected for the=20 fix?
 
Thanks,
 
 - Drew=20 Adams
------=_NextPart_000_0019_01C40DBD.7C621800-- --===============1717527626== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs --===============1717527626==--