From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: uncomment-region bug Date: Mon, 14 Nov 2005 09:16:08 -0700 Message-ID: References: <4FAB04D6-36AE-4882-95FD-D52FC0D2524E@csail.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131985716 27013 80.91.229.2 (14 Nov 2005 16:28:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2005 16:28:36 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 14 17:28:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ebh9G-0007Q3-22 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Nov 2005 17:25:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ebh9F-0007Cy-Ct for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Nov 2005 11:25:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ebh9C-0007C1-Qf for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 11:25:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ebh9B-0007BE-5y for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 11:25:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ebh9B-0007BB-3E for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 11:25:33 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ebh9A-0007mh-VX for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 11:25:33 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ebh3j-0004f8-6D for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 17:19:55 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 17:19:55 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 17:19:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <4FAB04D6-36AE-4882-95FD-D52FC0D2524E@csail.mit.edu> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14072 Archived-At: kraemer wrote: > to reproduce: > > - open emacs > - emacs-lisp-mode > - end-of-buffer > - type ";; abcde" > - set-mark-command > - beginning-of-line > - uncomment-region > > > I've only seen the effect when uncommenting a region that is at the very > end of the buffer. Yes, if there's a newline after "abcde" it works fine. > - In "GNU Emacs 21.2.1 (powerpc-apple-darwin8.0) of 2005-05-11 on > nic.mit.edu": > "Can't find the comment end." The bug is that the call to (forward-comment 1) in comment-forward moves point to the end of the comment but returns nil instead of t. > - In "GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0)of 2005-10-09 on > quartet.local" > strange behavior -- the line that is left is just "abc" -- the "de" > is gone! -- Kevin