From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: count-lines-page Date: Sun, 22 Aug 2010 15:38:44 -0400 Message-ID: References: <4C716D18.8090006@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282505934 26989 80.91.229.12 (22 Aug 2010 19:38:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2010 19:38:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 21:38:52 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OnGNY-0004Qk-5E for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2010 21:38:52 +0200 Original-Received: from localhost ([127.0.0.1]:40726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnGNX-0002Rb-H3 for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2010 15:38:51 -0400 Original-Received: from [199.232.76.173] (port=40323 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnGNT-0002RU-1a for emacs-devel@gnu.org; Sun, 22 Aug 2010 15:38:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OnGNS-00086o-2K for emacs-devel@gnu.org; Sun, 22 Aug 2010 15:38:46 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35404) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OnGNR-00086j-S5 for emacs-devel@gnu.org; Sun, 22 Aug 2010 15:38:45 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OnGNQ-00025P-Nc; Sun, 22 Aug 2010 15:38:44 -0400 X-Spook: USCODE Consul Security Council 2600 Magazine AFSPC X-Ran: QVo{~.c$U-G3?-yVT1r^fzw^0y.|hWU/;OL!z_xB)`JdivJIDr(&ov$rVD35E<2T^H=h4u X-Hue: green X-Attribution: GM In-Reply-To: <4C716D18.8090006@gmail.com> (Christoph's message of "Sun\, 22 Aug 2010 12\:31\:52 -0600") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129051 Archived-At: Christoph wrote: > Bug #6825 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6825) points > out some peculiar behavior of what-page. This is actually caused by > the count-lines-page function. I thought it was caused by the 2009-09-16 change to what-page, but I didn't check properly. > Does this make sense? There is only 1 line in the buffer. How can > there be 1 before and 1 after? The doc of count-lines says such behaviour is to be expected. I guess it's an implementation detail.