From: Dima Kogan <dima@secretsauce.net>
To: 14392@debbugs.gnu.org
Subject: bug#14392: 24.3.50; VHDL mode rebinds DEL and M-DEL
Date: Sun, 12 May 2013 15:17:52 -0700 [thread overview]
Message-ID: <87ehdbyh9r.fsf@secretsauce.net> (raw)
In-Reply-To: <838v3k9m61.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Dima Kogan <dima@secretsauce.net>
>> Date: Sun, 12 May 2013 09:27:01 -0700
>>
>> (define-key vhdl-mode-map [delete] 'delete-char)
>> (define-key vhdl-mode-map [(meta delete)] 'kill-word))
>>
>> These redefine the behaviour of DEL and M-DEL in VHDL mode in a way
>> that's not specific to VHDL. The new behavior of M-DEL is different from
>> the emacs default, which is to kill backward, not forward.
>
> The above bindings bind 'delete', not DEL, which is a different key.
Thanks for looking, Eli. You're right, they are different. For some
yet-unknown reason I was seeing those lines break my M-backspace
binding. Restarting with 'emacs -Q' made it work, even with those lines
enabled.
Regardless, I do think the patch is appropriate. Suppose a user has
customized those particular keys in their .emacs to have some particular
global binding. Why would it be desirable to override those
customizations for VHDL?
next prev parent reply other threads:[~2013-05-12 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-12 16:27 bug#14392: 24.3.50; VHDL mode rebinds DEL and M-DEL Dima Kogan
2013-05-12 16:51 ` Eli Zaretskii
2013-05-12 22:17 ` Dima Kogan [this message]
2013-05-18 0:26 ` Glenn Morris
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=87ehdbyh9r.fsf@secretsauce.net \
--to=dima@secretsauce.net \
--cc=14392@debbugs.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 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).