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:49:55 -0700 Organization: http://groups.google.com Message-ID: <1124419795.051725.215150@g44g2000cwa.googlegroups.com> References: <1124400239.825424.94340@f14g2000cwb.googlegroups.com> 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 1124419981 22891 80.91.229.2 (19 Aug 2005 02:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 02:53:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 19 04:52:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5wyt-00062u-An for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Aug 2005 04:51:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5x2R-0004NR-CZ for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 22:55:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 71.248.13.230 Original-X-Trace: posting.google.com 1124419800 640 127.0.0.1 (19 Aug 2005 02:50:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 19 Aug 2005 02:50:00 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=71.248.13.230; posting-account=U62aJg0AAABJ6P31EDiB7cOQUZhvKDjU Original-Xref: shelby.stanford.edu gnu.emacs.help:133316 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:28843 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28843 Edward O'Connor =E5=86=99=E9=81=93=EF=BC=9A > The command `comment-dwim' might do what you want, but note that its > dwimmish behavior depends on `transient-mark-mode' being enabled. > > Ted There is no command as `comment-dwim' for my emacs. Actually, there is ONLY one command starting with "comment" for my emacs, that is, `comment-region'. And `comment-region' works for me for the purpose of commenting out Perl codes, that is, it will precede every line of perl code with comment symbol of "#". However, when it comes to uncomment the Perl codes, then I don't know the trick for the job. Any help for UNcomment a block of Perl codes? Thanks, Andy