unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Micha Feigin <michf@post.tau.ac.il>
Subject: Re: uncommenting a commented region leaves it commented in latex (auctex)
Date: Mon, 12 Jan 2004 20:10:43 +0200	[thread overview]
Message-ID: <20040112181042.GF2906@luna.mooo.com> (raw)
In-Reply-To: <yqr7jzxmcts.fsf@cs.york.ac.uk>

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	other threads:[~2004-01-12 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.380.1073784599.928.help-gnu-emacs@gnu.org>
2004-01-12 15:00 ` uncommenting a commented region leaves it commented in latex (auctex) Kester Clegg
2004-01-12 18:10   ` Micha Feigin [this message]
2004-01-11  0:25 Micha Feigin

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20040112181042.GF2906@luna.mooo.com \
    --to=michf@post.tau.ac.il \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).