GNU bug report logs -
#14392
24.3.50; VHDL mode rebinds DEL and M-DEL
Previous Next
Reported by: Dima Kogan <dima <at> secretsauce.net>
Date: Sun, 12 May 2013 16:45:01 UTC
Severity: normal
Found in version 24.3.50
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 14392 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Dima Kogan <dima <at> 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?
This bug report was last modified 12 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.