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

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

RE: How to enter for example \200 offered by ispell in its buffer *Choic


From: Jürgen Hartmann
Subject: RE: How to enter for example \200 offered by ispell in its buffer *Choices*
Date: Mon, 22 Jun 2015 01:02:31 +0200

@ Emanuel Berg: Thank you for your suggestion:

> Jürgen Hartmann <juergen_hartmann_@hotmail.com>
> writes:
>
>> But however: Is there a method--some translation
>> keymaps or something alike--that allows to enter
>> a key code numerically to read-key?
>
> Try this:
>
>     (push ?\200 unread-command-events)

Good idea.

But I didn't succeed to apply it.

As a mockup for the situation in ispell-command-loop I defined

   (defun test ()
     ""
     (dotimes (i 10)
       (let ((key (read-key)))
         (message "Key: %s" key))))

which does read-key ten times and outputs the keys read in messages.

But running this function I can not issue the push expression. Even if I
define it as a command and bind it to a key, only that key is read verbatim
like C-f5.

Seems to be a teaser.

Thank you again for your input.

Juergen

                                          


reply via email to

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