help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with 'd' and 'delete' key


From: saneman
Subject: Problems with 'd' and 'delete' key
Date: Sun, 20 Apr 2008 16:51:41 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

I have redefined C-d to comment/uncomment. But when I press delete it also inserts a comment (% i latex mode). Is it possible to assign something to the key 'd' without change 'delete'?

I have this in my .emacs file:


(global-set-key "\C-d" 'comment-dwim)
(define-key function-key-map [delete] [deletechar])

But delete still inserts a comment instead of deleting a character.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]