all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: saneman <ddd@sdf.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Toggle commenting in auctex?
Date: Fri, 18 Apr 2008 13:27:58 +0200	[thread overview]
Message-ID: <48088580$0$90272$14726298@news.sunsite.dk> (raw)
In-Reply-To: <yoijr6d31lsd.fsf@remote2.student.chalmers.se>

Johan Bockgård wrote:
> saneman <ddd@sdf.com> writes:
> 
>> In emacs 'd' and the 'delete' key are the same for some reason. Is
>> there a way to assign the operation to 'd' without also assigning it
>> too 'delete'?
> 
> (global-set-key "\C-d" 'comment-dwim)
> (define-key function-key-map [delete] [deletechar])
> 

Does not work. If I have selected a region of text and press delete it 
get commented and not deleted.


      reply	other threads:[~2008-04-18 11:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 21:05 Toggle commenting in auctex? saneman
2008-04-17 21:50 ` Lennart Borgman (gmail)
     [not found] ` <mailman.10518.1208469059.18990.help-gnu-emacs@gnu.org>
2008-04-17 22:22   ` saneman
2008-04-18  7:58     ` Rupert Swarbrick
2008-04-18  9:13       ` saneman
2008-04-18 10:48         ` Johan Bockgård
2008-04-18 11:27           ` saneman [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='48088580$0$90272$14726298@news.sunsite.dk' \
    --to=ddd@sdf.com \
    --cc=help-gnu-emacs@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 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.