From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.help Subject: Re: uncomment-region problem in scheme mode Date: Fri, 21 Apr 2006 12:25:26 +0100 Message-ID: References: <1145529051.410579.70520@j33g2000cwa.googlegroups.com> <87acagqf4g.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145618775 17976 80.91.229.2 (21 Apr 2006 11:26:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2006 11:26:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 21 13:26:13 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWtm3-0002uu-Of for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2006 13:26:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWtm3-0000rl-97 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2006 07:26:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWtls-0000q2-3L for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 07:25:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWtlq-0000oT-NN for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 07:25:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWtlq-0000oM-HK for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 07:25:54 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FWtnO-00032g-6F for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 07:27:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FWtlh-0002r0-GA for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 13:25:45 +0200 Original-Received: from host-137-205-24-227.res.warwick.ac.uk ([137.205.24.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 13:25:45 +0200 Original-Received: from rupert.swarbrick by host-137-205-24-227.res.warwick.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Apr 2006 13:25:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-137-205-24-227.res.warwick.ac.uk User-Agent: Mail/News 1.5 (X11/20060228) In-Reply-To: <87acagqf4g.fsf-monnier+gnu.emacs.help@gnu.org> X-Enigmail-Version: 0.94.0.0 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:34541 Archived-At: Stefan Monnier wrote: >> "GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of 2004-03-22 on cm-test" >> and working on a scheme file "test.scm" which contains the lines > >> The execution of M-x uncomment-region on the above region yields > >> (display " hello 1" outport) >> (display " hello 2" outport) >> (display " hello 3" outport) > > That'd be a bug, but for what it's worth, I can't reproduce it with > Emacs-CVS, so maybe I fixed it in the mean time, > > > Stefan A stand-in solution would be kill-rectangle, which is normally bound to C-x r k, so if the mode comments the lines literally as you posted (I haven't ever used scheme) you could just lose the first 2 characters of each or the lines. Rupert