From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: saneman Newsgroups: gmane.emacs.help Subject: Re: Toggle commenting in auctex? Date: Fri, 18 Apr 2008 00:22:14 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <4807cd59$0$90270$14726298@news.sunsite.dk> References: <4807bb6e$0$90267$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208472100 15796 80.91.229.12 (17 Apr 2008 22:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 22:41:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 18 00:42:09 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jmcnt-0006Ko-IK for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2008 00:42:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmcnE-0000Kj-S1 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Apr 2008 18:41:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Thunderbird 2.0.0.12 (X11/20080227) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 13 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.sunsite.dk DXC=^NECiMR:jI^bD]FUj; YcCZYSB=nbEKnk[V`^KZl[Dm9\?aXA8:Q5; kRS9o\hBcjVo_MSgY1MOWN][WRJl7Q2_\K\BgGKgcRD; NT Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:158000 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53366 Archived-At: Lennart Borgman (gmail) wrote: > saneman wrote: >> I am using auctex in emacs22 on Ubuntu 7.10. Is there a way to >> comment/uncomment a selected region with a short key? >> >> I would like to just press C-d and the a selected region should be >> commented and when I press C-d again the comments should be removed. > > Does not comment-dwim (which is in M-;) work for you? > > I works when I choose it from the menu, but how do I redefine it to C-d?