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: uncommenting a commented region leaves it commented in latex (auctex) Date: 12 Jan 2004 15:00:31 +0000 Organization: Rolls Royce UTC, Dept. of Computer Science, University of York, UK Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073921917 25599 80.91.224.253 (12 Jan 2004 15:38:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2004 15:38:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 16:38:32 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ag49A-0000Jp-00 for ; Mon, 12 Jan 2004 16:38:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ag4jT-0006hZ-Mf for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jan 2004 11:16:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!server1.netnews.ja.net!news.york.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: pc310.cs.york.ac.uk Original-X-Trace: pump1.york.ac.uk 1073919629 27946 144.32.40.101 (12 Jan 2004 15:00:29 GMT) Original-X-Complaints-To: abuse@york.ac.uk Original-NNTP-Posting-Date: 12 Jan 2004 15:00:29 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:119999 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15942 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15942 Micha Feigin writes: > When I try to uncomment a region in LaTex-mode (auctex) using > tex-un-comment-region when the region was previously commented with > tex-comment-region doesn't return to the previous state. > tex-comment-region adds %% > and tex-un-comment-region removes only one %. > uncomment-region seems to do the right job. Are you using the simple keybinding of M-;? That uncomments and comments regions fine for me in all modes. M-; runs the command comment-dwim which is an interactive compiled Lisp function in `newcomment'. (comment-dwim ARG) -- ************************************************************************ Kester Clegg Dept. of Computer Science, Research Assistant (UTC) University of York, Tel (01904) 43 27 49 email: kester at cs.york.ac.uk ************************************************************************