From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andy" Newsgroups: gmane.emacs.help Subject: Re: How to uncomment Perl program in emacs? Date: 18 Aug 2005 19:45:12 -0700 Organization: http://groups.google.com Message-ID: <1124419512.726899.185420@o13g2000cwo.googlegroups.com> References: <1124400239.825424.94340@f14g2000cwb.googlegroups.com> <87mznezyeg.fsf@robotron.ath.cx> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1124419645 22308 80.91.229.2 (19 Aug 2005 02:47:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 02:47:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 19 04:47:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5wu5-0004We-D7 for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Aug 2005 04:46:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5wxd-0003by-5b for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 22:50:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 71.248.13.230 Original-X-Trace: posting.google.com 1124419518 32397 127.0.0.1 (19 Aug 2005 02:45:18 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 19 Aug 2005 02:45:18 +0000 (UTC) In-Reply-To: <87mznezyeg.fsf@robotron.ath.cx> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=71.248.13.230; posting-account=U62aJg0AAABJ6P31EDiB7cOQUZhvKDjU Original-Xref: shelby.stanford.edu gnu.emacs.help:133315 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28842 David Hansen =E5=86=99=E9=81=93=EF=BC=9A > At least in more recent versions of emacs M-; should work for > commenting and uncommenting the region. > > David I believe my GNU emacs (20.3.1) should be pretty recent, and I can use "M-x comment-region" to comment out Perl code. BUT my problem is that I don't know how to uncomment the region. Unfortunately, it seems that there is no command as "uncomment-region" as one will naturally think to complement to command of "comment-region". Therefore, I really get stucked without knowing a good way to uncomment a block of Perl code other than having to deleting those comment symbols, "#" in Perl case, line by line, which is of course a painfully inconvenient way to do the work.=20 Andy