all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* uncommenting a commented region leaves it commented in latex (auctex)
@ 2004-01-11  0:25 Micha Feigin
  0 siblings, 0 replies; 3+ messages in thread
From: Micha Feigin @ 2004-01-11  0:25 UTC (permalink / raw)


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.
Where do I fix this? (its emacs-bidi with auctex from debian unstable).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: uncommenting a commented region leaves it commented in latex (auctex)
       [not found] <mailman.380.1073784599.928.help-gnu-emacs@gnu.org>
@ 2004-01-12 15:00 ` Kester Clegg
  2004-01-12 18:10   ` Micha Feigin
  0 siblings, 1 reply; 3+ messages in thread
From: Kester Clegg @ 2004-01-12 15:00 UTC (permalink / raw)


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
************************************************************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: uncommenting a commented region leaves it commented in latex (auctex)
  2004-01-12 15:00 ` uncommenting a commented region leaves it commented in latex (auctex) Kester Clegg
@ 2004-01-12 18:10   ` Micha Feigin
  0 siblings, 0 replies; 3+ messages in thread
From: Micha Feigin @ 2004-01-12 18:10 UTC (permalink / raw)


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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-12 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2004-01-11  0:25 Micha Feigin

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.