From: Michael Cadilhac <michael.cadilhac-@t-lrde.epita.fr>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to uncomment Perl program in emacs?
Date: Fri, 19 Aug 2005 12:53:23 +0200 [thread overview]
Message-ID: <87iry2gpuk.fsf@mahaena.lrde> (raw)
In-Reply-To: <1124400239.825424.94340@f14g2000cwb.googlegroups.com> (Andy's message of "18 Aug 2005 14:23:59 -0700")
"Andy" <gngandy@gmail.com> writes:
> But I can't apply the above method to comment or uncomment Perl codes.
> Alternatively, I can comment Perl codes by first highlighting the codes
> then "M-x comment-region". But I don't know how to uncomment Perl
> codes; at least, "M-x uncomment-region" doesn't work.
C-u M-x comment-region
,----[ C-h f comment-region ]
| comment-region is an interactive autoloaded Lisp function in `newcomment'.
| It is bound to M-;.
| (comment-region BEG END &optional ARG)
|
| Comment or uncomment each line in the region.
| With just C-u prefix arg, uncomment each line in region BEG .. END.
| Numeric prefix ARG means use ARG comment characters.
| If ARG is negative, delete that many comment characters instead.
| By default, comments start at the left margin, are terminated on each line,
| even for syntax in which newline does not end the comment and blank lines
| do not get comments. This can be changed with `comment-style'.
|
| The strings used as comment starts are built from
| `comment-start' without trailing spaces and `comment-padding'.
|
`----
--
Michael Cadilhac, a.k.a. Micha [mika] |
Epita/LRDE promo 2007 | Please note that you should
2 rue de la Convention | 01.46.70.90.75 | s/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |
next prev parent reply other threads:[~2005-08-19 10:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-18 21:23 How to uncomment Perl program in emacs? Andy
2005-08-18 22:13 ` David Hansen
2005-08-19 2:45 ` Andy
2005-08-19 3:32 ` Henrik Enberg
2005-08-18 22:37 ` Edward O'Connor
[not found] ` <mailman.4248.1124405039.20277.help-gnu-emacs@gnu.org>
2005-08-19 2:49 ` Andy
2005-08-19 7:16 ` ht000
2005-08-19 8:44 ` Alan Mackenzie
2005-08-19 16:06 ` Andy
2005-08-19 10:53 ` Michael Cadilhac [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-19 4:09 Dave Humphries
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=87iry2gpuk.fsf@mahaena.lrde \
--to=michael.cadilhac-@t-lrde.epita.fr \
--cc=help-gnu-emacs@gnu.org \
/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).