From: storm@cua.dk (Kim F. Storm)
Cc: storm@cua.dk, miles@gnu.org, monnier+gnu/emacs@rum.cs.yale.edu,
David.Ponce@wanadoo.fr, emacs-devel@gnu.org
Subject: Re: Suggestion: Simple way to make conditional key bindings.
Date: 29 Aug 2002 10:54:01 +0200 [thread overview]
Message-ID: <5xhehehwpi.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <E17kCIL-0000qN-00@fencepost.gnu.org>
Richard Stallman <rms@gnu.org> writes:
> Remapping works by taking the result of the normal key lookup, say
> `yank' for C-y and perform a new lookup (in the exact same keymaps)
> for the vector [remap yank]. But it will not (and cannot) check the
> keymap property of the text _to_be_yanked_.
>
> Nothing in Emacs will check the keymap property of the text to be
> yanked. Conditional key bindings wouldn't do that either. So how
> does this relate?
In the context of discussing how to make C-y/yank behave differently
depending on the text it is going to yank, checking for a [remap yank]
keymap property in the to_be_yanked text might be a (far-fetched)
possibility.
next prev parent reply other threads:[~2002-08-29 8:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3D49FF140074EFAE@mel-rta7.wanadoo.fr>
2002-08-23 13:16 ` Suggestion: Simple way to make conditional key bindings Kim F. Storm
2002-08-23 17:22 ` Stefan Monnier
2002-08-25 23:33 ` Kim F. Storm
2002-08-26 15:47 ` Stefan Monnier
2002-08-26 19:33 ` Miles Bader
2002-08-27 19:05 ` Richard Stallman
2002-08-27 22:58 ` Kim F. Storm
2002-08-28 23:32 ` Richard Stallman
2002-08-29 8:54 ` Kim F. Storm [this message]
2002-08-28 1:00 ` Miles Bader
2002-08-28 1:22 ` Stefan Monnier
2002-08-27 11:23 ` Kim F. Storm
2002-08-23 12:52 David PONCE
-- strict thread matches above, loose matches on Subject: below --
2002-08-23 12:05 Kim F. Storm
2002-08-26 0:36 ` Richard Stallman
2002-08-26 16:21 ` Stefan Monnier
2002-08-30 10:27 ` Robert J. Chassell
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5xhehehwpi.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=David.Ponce@wanadoo.fr \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=monnier+gnu/emacs@rum.cs.yale.edu \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).