all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jürgen Hartmann" <juergen_hartmann_@hotmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: How to enter for example \200 offered by ispell in its buffer *Choices*
Date: Mon, 22 Jun 2015 01:02:31 +0200	[thread overview]
Message-ID: <DUB124-W1561A019D39108D38DF32CA8A20@phx.gbl> (raw)
In-Reply-To: <87si9kvita.fsf@debian.uxu>

@ 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	other threads:[~2015-06-21 23:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-21 19:34 How to enter for example \200 offered by ispell in its buffer *Choices* Jürgen Hartmann
2015-06-21 19:42 ` Eli Zaretskii
2015-06-21 21:19   ` Jürgen Hartmann
     [not found]   ` <mailman.5398.1434921573.904.help-gnu-emacs@gnu.org>
2015-06-21 21:43     ` Emanuel Berg
2015-06-21 23:02       ` Jürgen Hartmann [this message]
     [not found] <mailman.5388.1434915264.904.help-gnu-emacs@gnu.org>
2015-06-21 20:35 ` Emanuel Berg
2015-06-21 22:01   ` Jürgen Hartmann
2015-06-22 10:46   ` Oleh Krehel
2015-06-27 11:34     ` Jürgen Hartmann
2015-06-27 11:33   ` Jürgen Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB124-W1561A019D39108D38DF32CA8A20@phx.gbl \
    --to=juergen_hartmann_@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.