🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1709

minibuf.el and tvtwm (fix and query)

#1709
From: Richard Caley
Date: Sun, 29 Sep 1991 21:21
32 lines
1752 bytes
Sorry if this has been thrashed out before...

minibuf.el (in contrib/anonymous) does not work as suplied when
running under tvtwm. This is because it assumes that the last thing it
finds when moving up the window tree before hitting the root is the
current screen's frame. In tvtwm it finds the virtual root, which
doesn't _quite_ work :-).

Below is a patch to make it understand tvtwm's virtual root.

This works for me, but a friend seems to be having an unrelated
problem where the minibuffer grows downwards seemingly with each focus
change. Has anyone had that error? I can't duplicate it.

--
rjc@cstr.ed.ac.uk			_O_
					 |<

--- 8< --- 8< --- CUT HERE --- 8< --- 8< ---
*** anonymous/minibuf.el        Sat Dec  8 17:21:22 1990
--- minibuf.el      Thu Sep 26 20:58:23 1991
***************
*** 75,80 ****
--- 75,81 ----
      (while (and (setq wlist (query-tree win))
                (setq parent (cadr wlist))
                (setq root   (car wlist))
+               (not (epoch::get-property  "__SWM_VROOT" parent))
                (not (equal root parent)))
        (setq win parent))
      (and parent (screen-information win))))
Technical Details
Message-ID: <RJC.91Sep29222123@brodie.cstr.ed.ac.uk>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uknet!ukc!ukc!edcastle!aisb!cstr!rjc

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,bc2933bd579835e2,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-09-29 14:35:48 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uknet!ukc!ukc!edcastle!aisb!cstr!rjc
From: rjc@cstr.ed.ac.uk (Richard Caley)
Newsgroups: gnu.epoch.misc
Subject: minibuf.el and tvtwm (fix and query)
Message-ID: <RJC.91Sep29222123@brodie.cstr.ed.ac.uk>
Date: 29 Sep 91 21:21:23 GMT
Sender: news@aisb.ed.ac.uk (Network News Administrator)
Distribution: gnu
Organization: Centre for Speech Technology Research
Lines: 32