unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problems with 'd' and 'delete' key
@ 2008-04-20 14:51 saneman
  2008-04-20 15:06 ` Pascal Bourguignon
  0 siblings, 1 reply; 6+ messages in thread
From: saneman @ 2008-04-20 14:51 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-21  7:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-20 14:51 Problems with 'd' and 'delete' key saneman
2008-04-20 15:06 ` Pascal Bourguignon
2008-04-20 15:26   ` saneman
2008-04-20 17:22     ` djfiander
2008-04-21  7:25       ` saneman
2008-04-21  7:29         ` saneman

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).