help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uncommenting a commented region leaves it commented in latex (auctex


From: Micha Feigin
Subject: Re: uncommenting a commented region leaves it commented in latex (auctex)
Date: Mon, 12 Jan 2004 20:10:43 +0200
User-agent: Mutt/1.5.5.1+cvs20040105i

On Mon, Jan 12, 2004 at 03:00:31PM +0000, Kester Clegg wrote:
> Micha Feigin <michf@post.tau.ac.il> 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)
> 

Thanks, that seems the easiest way.
I was using "C-c ;" to comment and later found that "C-u C-c ;"
uncomments properly. The uncomment command from the menu
Latex-miscellaneous-uncomment which is bound to "C-c :" only removes
the first %.

> 
> -- 
> ************************************************************************
> Kester Clegg                          Dept. of Computer Science,
> Research Assistant (UTC)              University of York, 
> Tel (01904) 43 27 49                  email: kester at cs.york.ac.uk
> ************************************************************************
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]