Questions tagged [event-sequence]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
229 views

Process unread-command-events and redisplay

(defun pretend (keys) (dolist (e (reverse (listify-key-sequence (kbd keys)))) (push e unread-command-events) ;; (mystery-function) (redisplay t) (sleep-for 0.1))) (pretend "M-x my-...
Sean Allred's user avatar
  • 6,851
2 votes
1 answer
477 views

How to use unread-command-events variable?

I want to generate some input from my command programmatically. I have tried using unread-command-events variable for that, see: (defun unread_test () "Repeat input after toggling input method" (...
Srv19's user avatar
  • 479
4 votes
2 answers
141 views

Can a command determine the event sequence that invoked it?

I have a command that I would like to bind to multiple key sequences differing only in the final decimal digit (e.g. C-. 0, C-. 1, ..., C-. 9). The command needs to determine that final digit. I ...
John Yates's user avatar
3 votes
0 answers
457 views

Avoiding screen flickering when one theme is disabled and another enabled (inhibit redraw???)

Is it possible to temporarily disable buffer (and frame) redraws? I particuarly mean situation, when I disable some theme and enable another one, and would like to avoid a moment when emacs flashes ...
Mekk's user avatar
  • 1,027