Hrvoje Niksic writes:
(global-set-key 'Cyrillic_HARDSIGN 'self-insert-command)
(put 'Cyrillic_HARDSIGN 'ascii-character ?\xff)
How would I do this for something other than an actual key. For
example, in the A+ programming language, I would like to have the
following:
(global-set-key [('alt ?a)] 'self-insert-command)
(put [(alt ?a)] 'ascii-character ?\301)
However, the `put' fails (of course) with the following error:
> Object type has no settable properties: [(alt ?\[)]
Is there a way that I can bind A-a to an arbitrary symbol, and then
manipulate it appropriately:
(bind-key-sequence-to-symbol [('alt ?a)] 'ALT_A)
(global-set-key 'ALT_A 'self-insert-command)
(put 'ALT_A 'ascii-character ?\301)
Thanks.
--
Colin