[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

repeat and pre/post-command-hook.

From: Matt Hodges
Subject: repeat and pre/post-command-hook.
Date: Tue, 12 Apr 2005 14:03:19 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux)

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-04-07 on dugong
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Using repeat (C-x z z z) doesn't take account of pre-command-hook and
post-command-hook.  To demonstrate this, activate hl-line-mode and try
something like C-p C-x z z z.  During the repeats, the highlighted
line doesn't move.

Simply running these hooks in repeat fixes this example at least,
though I don't know if this could cause problems in other cases.
(Note that an additional pre/post hook will get run for each C-x z z z
...  sequence relative to repeating the command by hand the same
number of times.)



Attachment: txtHFCWNiZ5ed.txt
Description: repeat patch.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]