From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Andreas Schwab <schwab@suse.de>
Cc: 16109-done@debbugs.gnu.org
Subject: bug#16109: 24.3.50; <kp-delete> doesn't delete region in delete-selection-mode
Date: Wed, 11 Dec 2013 09:23:32 -0500 [thread overview]
Message-ID: <jwvtxefbhf1.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <mvmhaaf7oxd.fsf@hawking.suse.de> (Andreas Schwab's message of "Wed, 11 Dec 2013 09:49:18 +0100")
>> Shouldn't `kp-delete' be remapped to `delete'?
> It is mapped to ?\C-d in local-function-key-map (if
> normal-erase-is-backspace).
Oh, right, now I remember: we don't apply function-key-map repeatedly so
if we have a remapping from kp-delete to delete, it's not combined with
the mapping from delete to deletechar.
I installed the patch below instead which should fix the problem.
Stefan
--- lisp/simple.el 2013-12-03 01:19:24 +0000
+++ lisp/simple.el 2013-12-11 14:20:27 +0000
@@ -7435,7 +7435,7 @@
(if enabled
(progn
(define-key local-function-key-map [delete] [deletechar])
- (define-key local-function-key-map [kp-delete] [?\C-d])
+ (define-key local-function-key-map [kp-delete] [deletechar])
(define-key local-function-key-map [backspace] [?\C-?])
(dolist (b bindings)
;; Not sure if input-decode-map is really right, but
next prev parent reply other threads:[~2013-12-11 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 1:28 bug#16109: 24.3.50; <kp-delete> doesn't delete region in delete-selection-mode Juri Linkov
2013-12-11 4:58 ` Stefan Monnier
2013-12-11 8:49 ` Andreas Schwab
2013-12-11 14:23 ` Stefan Monnier [this message]
2013-12-12 0:07 ` Juri Linkov
2013-12-12 18:31 ` Stefan Monnier
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=jwvtxefbhf1.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=16109-done@debbugs.gnu.org \
--cc=schwab@suse.de \
/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).