From: ray <hantechs@gmail.com>
Subject: remap question
Date: Wed, 18 Oct 2006 22:39:58 +0800 [thread overview]
Message-ID: <2504af190610180739n6cc80623le7fe7e9d128e4d4b@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]
Hi, all
artist-mode remap delete-char to it's own function:
(define-key picture-mode-map (vector remap delete-char) newfun))
But it also defines this binding:
(define-key picture-mode-map "\C-c\C-d" 'delete-char)
It seem that it expects C-c C-d to excute the delete-char function, but the
result is that both delete-char's original key(C-d) and C-c C-d are binding
to newfun.
I referenced the emacs lisp and feels that this result is correct. My
question is: If I want C-c C-d bind to delete-char, how can I get it?
[-- Attachment #1.2: Type: text/html, Size: 588 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2006-10-18 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 14:39 ray [this message]
2006-10-19 11:36 ` remap question Kim F. Storm
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=2504af190610180739n6cc80623le7fe7e9d128e4d4b@mail.gmail.com \
--to=hantechs@gmail.com \
/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.