[OS X Emacs] temporary display

Marinos K marinos at agxivatein.com
Fri Feb 11 04:35:35 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

howdy,

I have this function

(defun evaluate-paragraph ()
  "evaluate current paragraph"
  (interactive)
  (save-excursion
    (backward-paragraph)
    (cua-set-mark)
    (forward-paragraph)
    (do evaluation here)))

this works - but I' d like to be able to see for a couple of seconds the
whole paragraph highlighted, so I know what was actually evaluated..

I tried with momentary-string-display but it needs me to press space to
continue.. no good..

any ideas ??

thx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNVQLfAAoJEHtg0hV818BQkn8H/jfHGuJ3wfraiPUOk8BM0Sfy
FU9i/AmhlrRJ11smiF8AlzGJZD6JBPFTqhezzB8GmURJOxm0XYj4Mer2Av10e3fC
7bTXTShQdbi7LAzDeUEMIyf/4iqJ7cM9w6V4ULOH/KxQZ4GND8vsPkfXOAzTuYUP
mTUgWuxErd54NggdlQ9lPW77xuGHWwvfqIsSrLfX9IzAQMVZ72039sbqn+nVhiOi
09ESPaOUNL5NT2iWWUUnc2oS9/9Y4GlkUGR3K76sTWcnpaQBelxUim9PktjxZ7Vx
aFnFaPFOlBA4J6M4yGlCEgtf4ErUSwWJXzLYcY0N+zhKz6BpSnGppg5SaQ3Vqog=
=Nkt1
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc
Type: application/pgp-keys
Size: 4258 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110211/9d6cfde7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc.sig
Type: application/octet-stream
Size: 287 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110211/9d6cfde7/attachment.obj>


More information about the MacOSX-Emacs mailing list