all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* modify-frame-parameters for scroll-bars makes invisible frames inaccessible
@ 2004-03-19 22:21 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2004-03-19 22:21 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3236 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-19 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-19 22:21 modify-frame-parameters for scroll-bars makes invisible frames inaccessible Drew Adams

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.