🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #372

Updating a window while executing more ELISP cmds

#372
From: M. A. Kinstrey
Date: Thu, 21 Mar 1991 22:22
17 lines
1259 bytes
Does anyone know how to force a window or screen to repaint 
DURING the execution of an Elisp function. I have a function
where I want to switch-to-buffer (and actually see the newly
displayed buffer) while some additional Elisp code executes.

The purpose is to be able to read the newly displayed buffer
while I'm waiting for the rest of the command(s) to finish.

Everything I've tried so far will not repaint the screen until
the function has completed execution, and control is returned
to the keyboard.

-- 
-----------------------------------------------------------------------------
kinstrey@wsqtba.crd.ge.com  | Sattinger's Law:
uunet!crdgw1!wsqtba!kinstrey|      It works better if you plug it in.
____________________________|________________________________________________
Technical Details
Message-ID: <17789@crdgw1.crd.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!wsqtba!kinstrey

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!wsqtba!kinstrey
From: kinstrey@wsqtba.crd.ge.com (M. A. Kinstrey)
Newsgroups: gnu.epoch.misc,comp.emacs
Subject: Updating a window while executing more ELISP cmds
Message-ID: <17789@crdgw1.crd.ge.com>
Date: 21 Mar 91 22:22:53 GMT
Sender: news@crdgw1.crd.ge.com
Reply-To: kinstrey@wsqtba.crd.ge.com
Followup-To: comp.emacs
Organization: GE Corporate Research and Development
Lines: 17