[Top][All Lists]

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

Re: Shift selection using interactive spec

From: Chong Yidong
Subject: Re: Shift selection using interactive spec
Date: Fri, 14 Mar 2008 22:02:34 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> First and foremost it should be an elisp function that people can
> call at the beginning of their function, just like they can call
> `barf-if-buffer-read-only'.
> Then we can provide a special char in `interactive' strings for those
> commands that currently don't use an elisp interactive spec.
> Then we can tweak the code of that function to decide how it should
> behave when the command is bound to a shifted key.

So we define (i) an elisp function called, say,
shift-translation-handler, and (ii) a new interactive code that says
to call shift-translation-handler when a command is activated through
a shift translated keybinding.

Is this what you mean?

reply via email to

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