all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.