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: Fri, 11 Jan 2019 18:49:41 +0200 Message-ID: <837efbgmvu.fsf@gnu.org> References: <> <<83sgxzhe04.fsf@gnu.org>> <8328cef7-c568-469d-a9bb-4fd6825131ee@default> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1547225347 17757 195.159.176.226 (11 Jan 2019 16:49:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2019 16:49:07 +0000 (UTC) Cc: triska@metalevel.at, 34038@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 17:49:03 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 1ghzzS-0004Tj-MP for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 17:49:02 +0100 Original-Received: from localhost ([127.0.0.1]:44254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi01Z-00008e-Gc for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 11:51:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi01P-00008K-Kf for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 11:51:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gi01O-0004du-T2 for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 11:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gi01O-0004dR-PX for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 11:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gi01O-00044s-Ed for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 11:51: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: Fri, 11 Jan 2019 16:51: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: Original-Received: via spool by 34038-submit@debbugs.gnu.org id=B34038.154722540315599 (code B ref 34038); Fri, 11 Jan 2019 16:51:02 +0000 Original-Received: (at 34038) by debbugs.gnu.org; 11 Jan 2019 16:50:03 +0000 Original-Received: from localhost ([127.0.0.1]:56301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gi00Q-00043X-Hb for submit@debbugs.gnu.org; Fri, 11 Jan 2019 11:50:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gi00P-00042z-7i for 34038@debbugs.gnu.org; Fri, 11 Jan 2019 11:50:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi00J-0003rQ-6i; Fri, 11 Jan 2019 11:49:55 -0500 Original-Received: from [176.228.60.248] (port=3476 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gi00I-0005YK-Vb; Fri, 11 Jan 2019 11:49:55 -0500 In-reply-to: <8328cef7-c568-469d-a9bb-4fd6825131ee@default> (message from Drew Adams on Fri, 11 Jan 2019 08:37:53 -0800 (PST)) 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:154350 Archived-At: > Date: Fri, 11 Jan 2019 08:37:53 -0800 (PST) > From: Drew Adams > Cc: 34038@debbugs.gnu.org > > > I think this happens because you call set-window-start with last > > argument non-nil. Doing that tells the display engine that the > > window-start point is just a suggestion, not a hard requirement. > > Sorry for jumping in here ignorantly. I just looked > at the doc string for `set-window-start' and got a > very different impression of what that 3rd arg means. > Am I mistaken? How to reconcile your description > with what the doc string says? > > Optional third arg NOFORCE non-nil inhibits next > redisplay from overriding motion of point in order > to display at this exact start. I don't think I see the difficulty, the doc string seems to tell exactly what I did, albeit in a different way.