[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Delete comments in region
From: |
liyer . vijay |
Subject: |
Re: Delete comments in region |
Date: |
22 Apr 2006 13:30:48 -0700 |
User-agent: |
G2/0.2 |
Denis Bueno wrote:
> Nikos Apostolakis wrote:
> > Denis Bueno <dbueno@gmail.com> writes:
> >
> >> Does anyone have any elisp lying around that will, in any coding
> >> mode, remove all the comments from the region?
> >>
> >
> > Isn't "M-x uncomment-region" or "M-x comment-dwim" good enough?
> >
>
> I now see an ambiguity in my wording I didn't before.
>
> I want to *zap* the comment entirely. Delete the comment syntax and the
> text of the comment itself. Not just remove the comment syntax around
> the comment text.
If you don't want to REMOVE them but just hide them you could take a
look at Hideshow minor mode which you can use by M-x hs-minor-mode RET
I has some fancy commands to hide/show certain comments.
Cheers
Vijay