From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: [C-delete] - should it not be backward-kill-word
Date: Tue, 04 Jul 2006 23:44:05 +0200 [thread overview]
Message-ID: <44AAE125.40907@student.lu.se> (raw)
On w32 it looks like it is instead kill-word. [C-backspace] is wrong the
other way.
I wrote this little test to check if key bindings are the default
specified in bindings.el:
(with-temp-buffer
(insert-file (locate-library "bindings.el"))
(let ((rdk)
(key)
(fun))
(while (condition-case err
(setq rdk (read (current-buffer)))
(error nil))
(setq key nil)
(cond ((and (eq (nth 0 rdk) 'define-key)
(eq (nth 1 rdk) 'global-map))
(setq key (nth 2 rdk))
(setq fun (nth 3 rdk))
)
((eq (nth 0 rdk) 'global-set-key)
(setq key (nth 1 rdk))
(setq fun (nth 2 rdk))
))
(when key
(assert (eq (nth 0 fun) 'quote))
(setq fun (nth 1 fun))
(unless (or (eq (key-binding key) fun)
(eq (key-binding key) (command-remapping fun)))
(message "from bindings.el: k=%s f=%s, but key-binding=%s" key
fun (key-binding key)))
))))
next reply other threads:[~2006-07-04 21:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 21:44 Lennart Borgman [this message]
2006-07-04 21:50 ` [C-delete] - should it not be backward-kill-word Drew Adams
2006-07-05 2:04 ` Johan Bockgård
2006-07-05 3:30 ` Eli Zaretskii
2006-07-05 4:16 ` Lennart Borgman
2006-07-05 4:25 ` Miles Bader
2006-07-05 10:29 ` Mathias Dahl
2006-07-06 13:32 ` Richard Stallman
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=44AAE125.40907@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
/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.