[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does the internal frame redisplay work?
From: |
Kevin A. Burton |
Subject: |
How does the internal frame redisplay work? |
Date: |
30 Oct 2001 19:38:33 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OK..
I spent some time looking through the Emacs lisp manual but I couldn't find
anything relevant.
I am trying to get Emacs to refresh the display while code is running. I want
to do a (replace-match) and have this value shown for a short period of time (so
that the user knows that the replace was actually done) and them move on to
another buffer.
The only problem is that I can't get this to work.
Essentially what I want to do is something akin to:
(while (re-search-forward "foo" nil t)
(replace-match "bar")
(sleep-for 0.2))
The only problem is that Emacs buffers all screen updates and waits for the
(while) to complete until it redraws...
I tried doing a (redraw-frame (selected-frame)) but all this does is clear the
current display and then redraw it *after* the while runs.
Any suggestions? Is there a variable like disable-redisplay-cache????
Kevin
- --
Need a good Engineer? Hire me! ( Java | P2P | XML | Linux | Open Source )
http://relativity.yi.org/bio/
Kevin A. Burton ( address@hidden, address@hidden, address@hidden )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - address@hidden, Web - http://relativity.yi.org
Fist in the air in the land of hypocrisy!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE733IwAwM6xb2dfE0RAiq+AKCHj9/hWtZBYCDy2xL9gba1lV/tSgCfRsFW
xWeUgFAnG6wknINiKQnwkJY=
=roHI
-----END PGP SIGNATURE-----
- How does the internal frame redisplay work?,
Kevin A. Burton <=