From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12170: save-excursion fails boundary case with recenter Date: Fri, 10 Aug 2012 21:58:02 +0300 Message-ID: <834noaefr9.fsf@gnu.org> References: <000001cd7696$b0e93d60$12bbb820$@com> <5024D593.7080305@gmx.at> <003601cd76fd$b21cd590$165680b0$@com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1344625138 23291 80.91.229.3 (10 Aug 2012 18:58:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2012 18:58:58 +0000 (UTC) Cc: 12170@debbugs.gnu.org To: Bill Brodie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 20:58:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SzuQ9-0004LE-7z for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2012 20:58:53 +0200 Original-Received: from localhost ([::1]:55691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzuQ8-0004UG-8a for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2012 14:58:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzuQ4-0004TA-4Q for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2012 14:58:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzuQ1-0002yW-Os for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2012 14:58:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzuQ1-0002yS-LZ for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2012 14:58:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SzuY1-0004td-K9 for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2012 15:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Aug 2012 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12170 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12170-submit@debbugs.gnu.org id=B12170.134462557618763 (code B ref 12170); Fri, 10 Aug 2012 19:07:01 +0000 Original-Received: (at 12170) by debbugs.gnu.org; 10 Aug 2012 19:06:16 +0000 Original-Received: from localhost ([127.0.0.1]:47378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzuXI-0004sa-9X for submit@debbugs.gnu.org; Fri, 10 Aug 2012 15:06:16 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42650) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzuXF-0004sR-TB for 12170@debbugs.gnu.org; Fri, 10 Aug 2012 15:06:15 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M8J00600YKUVQ00@a-mtaout20.012.net.il> for 12170@debbugs.gnu.org; Fri, 10 Aug 2012 21:57:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8J006DKZCJK4F0@a-mtaout20.012.net.il>; Fri, 10 Aug 2012 21:57:55 +0300 (IDT) In-reply-to: <003601cd76fd$b21cd590$165680b0$@com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63017 Archived-At: > From: "Bill Brodie" > Date: Fri, 10 Aug 2012 09:40:24 -0400 > Cc: 12170@debbugs.gnu.org > > (1) By "window height", I meant the number of lines displayed for the actual > buffer, not counting the mode line or minibuffer. It turns out this is one > less than the value returned by `window-height'. As documented, window-height returns the height of the window including the mode line (and the header line, if there is any). So the above is expected.