help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Preserve key echo among command invocation


From: Stefan Monnier
Subject: Re: Preserve key echo among command invocation
Date: Thu, 10 Mar 2016 10:16:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Some commands like `digit-argument' behave like this (typing a number
> calls that `digit-argument' put the echo area is preserved until the
> actual command is executed). But that's a special case.

> Is there way to do this for my own commands?

The answer depends on several aspects, but in Emacs-25 we added the
prefix-command-echo-keystrokes-functions hook specifically so that C-u
is not so special anymore and other commands can provide the same kind
of functionality (this is used for example in the GNU ELPA package
`other-frame-window' which aims to replace the C-x 4 and C-x 5 prefix
keymaps with prefix commands).


        Stefan




reply via email to

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