From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andy" Newsgroups: gmane.emacs.help Subject: How to uncomment Perl program in emacs? Date: 18 Aug 2005 14:23:59 -0700 Organization: http://groups.google.com Message-ID: <1124400239.825424.94340@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" X-Trace: sea.gmane.org 1124400763 12944 80.91.229.2 (18 Aug 2005 21:32:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2005 21:32:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 18 23:32:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5rzA-0003lB-Un for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 23:31:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5s2i-0007uJ-CY for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 17:35:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 71.248.13.230 Original-X-Trace: posting.google.com 1124400245 7341 127.0.0.1 (18 Aug 2005 21:24:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 18 Aug 2005 21:24:05 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=71.248.13.230; posting-account=U62aJg0AAABJ6P31EDiB7cOQUZhvKDjU Original-Xref: shelby.stanford.edu gnu.emacs.help:133307 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:28834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28834 I am right now using GNU emacs 20.3.1 on solaris. I can comment and uncomment C codes by first simply highlighting the codes, and then Control-c Control-c for comment or Control-u Control-c Control-c for uncomment. 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. Can anyone please help me to find a better way to comment/uncomment Perl codes, just like what can be done for C codes? Thanks a lot for your help! Andy