🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1838

Re: Some questions

#1838
From: Alan M. Carroll
Date: Sat, 10 Aug 1991 19:56
44 lines
2762 bytes
In article <1152@sol.UUCP>, sennett@sol.UUCP (Michael Sennett) writes:
> * I have been using the `set-window-buffer-hook' to keep the X window names in
> sync with the buffer currently displayed in the screen.  I haven't had any
> problems with this, but a comment in the source calls it "undocumented" and
> "dangerous".  Is there a better way to accomplish this without using the
> `set-window-buffer-hook'

It's clearly undocumented :-), and it is dangerous. It's easy to
completely hose Epoch using it. Unfortunately, there's no better way
to keep the window title and buffer title coherent.

> * Has anyone experimented with or even thought about what would be involved in
> supporting "cut and paste" for buttons.

Not really. IMHO the key question is what to do with buttons that are
only partially in the cut region.

> * If I make a selection using the mouse, then move the cursor forward a few
> positions with C-f, mouse events seem to be blocked until I do a C-n or C-b
> to get the cursor out of the selection.  Has anyone else noticed this
> behavior?

It's not a mouse event problem, but a display problem. The mouse
events do what they are supposed to, but the display doesn't update. I
thought we'd put a fix in for that in patch 2, but possibly not.

> * Is there anyway to disable the mouse, while I'm prompting the user for
> a response in the minibuffer?

I would recommend using (ignore-event 'motion) (ignore-event 'button)
before and (resume-event 'motion) (resume-event 'button) afterwards.

> * Is there a simple way to setup a screen so that only the buffer
> originally passed to create-screen can be displayed in it (with exceptions
> for *Help*, etc.)

This is difficult. Each buffer has a buffer local variable named
allowed-screens. The default buffer selection won't select a buffer
unless the screen is in the list in that variable.

-- 
Alan M. Carroll          <-- Another casualty of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
Technical Details
Message-ID: <1991Aug10.195627.12006@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wupost!m.cs.uiuc.edu!uiucdcs!carroll
References: <1152@sol.UUCP>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,d6b93d5a874fe0f7
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-08-10 13:10:53 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wupost!m.cs.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: Some questions
Message-ID: <1991Aug10.195627.12006@m.cs.uiuc.edu>
Date: 10 Aug 91 19:56:27 GMT
References: <1152@sol.UUCP>
Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager))
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 44
Nntp-Posting-Host: ash.cs.uiuc.edu