emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: pre-command-hook not run for DEL


From: David Reitter
Subject: Re: pre-command-hook not run for DEL
Date: Mon, 26 Feb 2007 20:12:15 +0000

On 26 Feb 2007, at 19:41, Stefan Monnier wrote:

!           (run-hooks 'pre-command-hook)
!           (call-interactively this-command))

Can you say "yuck"?

BTW, please put this out-of-line (i.e. in its own function). The code is
sufficiently messy and unreadable as is.

It appears that the above is a workaround rather than a fix of the underlying issue.

Does `delete-region' have to be called from mouse.el?
Would it be possible to activate a keymap (cf. `cua--region-keymap') or to call `delete-region' in `backward-delete-char' (or friends) instead of having a special case in `mouse-show-mark'?

Maybe in 22.2, and the workaround as above for 22.1?






reply via email to

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