emacs-devel
[Top][All Lists]
Advanced

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

Re: identifying meta-key bound functions from last-command-char?


From: Stefan Monnier
Subject: Re: identifying meta-key bound functions from last-command-char?
Date: Mon, 25 Feb 2008 23:46:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> > The related problem is when to change, for instance, (' ' |
>> > CTRL_MASK) to '\0'.

>> Traditionally Emacs has mapped CTRL_MASK + CHAR to the corresponding
>> ASCII control char, if it exists.  Looks like this mapping is now
>> missing somewhere.

> The routine doing that mapping still exists; char_string().

The question is: where is it called from and is there a place where it
should be called but isn't (or is, but too late)?

> But, before reaching that function, the macro
> CHECK_CHARACTER rejects such an integer value.

> Should we implement something like
> CHECK_CHARACTER_RESOLVE_MODIFER and use it instead of
> CHECK_CHARACTER at proper places?

Maybe, or rather move the CHECK_CHARACTER to some later time when the
mapping has taken place.


        Stefan




reply via email to

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