From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34038: 26.1; set-window-start sometimes fails to set window start Date: Sun, 13 Jan 2019 13:32:23 +0200 Message-ID: <5029BB09-30CA-41BE-819D-E15101DCF38C@gnu.org> References: <83sgxzhe04.fsf@gnu.org> <87ef9je67i.fsf@metalevel.at> <20190111212357.GA5201@ACM> <87h8edt3kz.fsf@metalevel.at> <5C3AF974.1030906@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1547379069 29492 195.159.176.226 (13 Jan 2019 11:31:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2019 11:31:09 +0000 (UTC) User-Agent: K-9 Mail for Android To: 34038@debbugs.gnu.org, rudalics@gmx.at, triska@metalevel.at, acm@muc.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 13 12:31:05 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gidyp-0007UI-UI for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2019 12:31:04 +0100 Original-Received: from localhost ([127.0.0.1]:55737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gie0w-00046B-UM for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2019 06:33:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gie0m-000460-Ac for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2019 06:33:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gie0l-0003sE-J4 for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2019 06:33:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gie0k-0003rG-N1 for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2019 06:33:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gie0k-00006j-JR for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2019 06:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Jan 2019 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34038 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, martin rudalics , Markus Triska , Alan Mackenzie X-Debbugs-Original-Cc: 34038@debbugs.gnu.org Original-Received: via spool by 34038-submit@debbugs.gnu.org id=B34038.1547379157357 (code B ref 34038); Sun, 13 Jan 2019 11:33:02 +0000 Original-Received: (at 34038) by debbugs.gnu.org; 13 Jan 2019 11:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:57353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gie0K-00005f-P5 for submit@debbugs.gnu.org; Sun, 13 Jan 2019 06:32:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gie0I-00005J-DN for 34038@debbugs.gnu.org; Sun, 13 Jan 2019 06:32:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gie0C-0003NP-5W; Sun, 13 Jan 2019 06:32:28 -0500 Original-Received: from [176.12.249.91] (port=51561 helo=[10.164.96.164]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1gie0B-0000va-H2; Sun, 13 Jan 2019 06:32:27 -0500 In-Reply-To: <5C3AF974.1030906@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:154405 Archived-At: On January 13, 2019 10:40:20 AM GMT+02:00, martin rudalics wrote: > > This indeed seems to be a critical factor: an empty last line that > > appears as the first line of the window=2E >=20 > I think I now distilled a fairly simply recipe to watch the problem=2E > Load the attached file with emacs -Q and type C-=2E >=20 > Note that *scratch* contains no empty line when finally displayed=2E > Also, here C-=2E displays the desired result with window-start at > point-max for a short moment before making the buffer fully visible=2E > Setting 'scroll-conservatively' to 101 fixes the problem=2E >=20 > martin There's no bug here: Emacs by default avoids starting a window's display a= t EOB=2E Scroll-conservatively overrides that=2E