From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kester Clegg Newsgroups: gmane.emacs.help Subject: Re: How to set shortcut for uncomment-region?!? Date: 14 Jan 2003 10:48:36 +0000 Organization: Rolls Royce UTC, Dept. of Computer Science, University of York, UK Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042541386 1719 80.91.224.249 (14 Jan 2003 10:49:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2003 10:49:46 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YOdd-0000RJ-00 for ; Tue, 14 Jan 2003 11:49:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YOeC-0003MP-05 for gnu-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2003 05:50:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.esat.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!news.york.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: pc310.cs.york.ac.uk Original-X-Trace: pump1.york.ac.uk 1042541314 27156 144.32.40.101 (14 Jan 2003 10:48:34 GMT) Original-X-Complaints-To: abuse@york.ac.uk Original-NNTP-Posting-Date: 14 Jan 2003 10:48:34 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:108938 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5466 Dave Sumsky writes: > I move to the end of the third line > > C-#include > #include > #include > ^ > > And now I have a region, which I want to comment, so I try M-;, what's > the result? This: > > #include > #include > #include // > > But I would like to see this: > > // #include > // #include > // #include What happens if you do M-x comment-region ? -- ************************************************************************ Kester Clegg Dept. of Computer Science, Research Assistant (UTC) University of York, Tel (01904) 43 27 49 email: kester at cs.york.ac.uk ************************************************************************