all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kester Clegg <kester@cs.york.ac.uk>
Subject: Re: uncommenting a commented region leaves it commented in latex (auctex)
Date: 12 Jan 2004 15:00:31 +0000	[thread overview]
Message-ID: <yqr7jzxmcts.fsf@cs.york.ac.uk> (raw)
In-Reply-To: mailman.380.1073784599.928.help-gnu-emacs@gnu.org

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)


-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

       reply	other threads:[~2004-01-12 15:00 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 ` Kester Clegg [this message]
2004-01-12 18:10   ` uncommenting a commented region leaves it commented in latex (auctex) Micha Feigin
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

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

  git send-email \
    --in-reply-to=yqr7jzxmcts.fsf@cs.york.ac.uk \
    --to=kester@cs.york.ac.uk \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.