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#33532: 26.1; set-window-configuration does not restore display start Date: Tue, 04 Dec 2018 08:41:26 +0200 Message-ID: <83d0qhaj55.fsf@gnu.org> References: <87efb62mt2.fsf@metalevel.at> <83o9a9g0ui.fsf@gnu.org> <877egxyvje.fsf@metalevel.at> <5BFFA3FB.4060603@gmx.at> <8736rj4uxg.fsf@metalevel.at> <5C0039D0.2090309@gmx.at> <877eguqz7k.fsf@metalevel.at> <5C0177B2.4030803@gmx.at> <87va4cdfll.fsf@mail.linkov.net> <5C03991F.8030204@gmx.at> <87ftvftoaq.fsf@mail.linkov.net> <5C04DF22.3030100@gmx.at> <87a7lmqkry.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543905608 28104 195.159.176.226 (4 Dec 2018 06:40:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2018 06:40:08 +0000 (UTC) Cc: 33532@debbugs.gnu.org, triska@metalevel.at To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 04 07:40:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gU4NG-0007AJ-EY for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2018 07:40:02 +0100 Original-Received: from localhost ([::1]:54200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gU4PM-00046J-An for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2018 01:42:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gU4PF-000463-T4 for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 01:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gU4PE-0005GB-WC for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 01:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55458) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gU4PC-0005DE-Mk for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 01:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gU4PC-0000wt-IA for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 01:42: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: Tue, 04 Dec 2018 06:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33532-submit@debbugs.gnu.org id=B33532.15439057063622 (code B ref 33532); Tue, 04 Dec 2018 06:42:02 +0000 Original-Received: (at 33532) by debbugs.gnu.org; 4 Dec 2018 06:41:46 +0000 Original-Received: from localhost ([127.0.0.1]:59716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gU4Ow-0000wM-Ds for submit@debbugs.gnu.org; Tue, 04 Dec 2018 01:41:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gU4Ou-0000w9-QH for 33532@debbugs.gnu.org; Tue, 04 Dec 2018 01:41:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gU4Ol-0004l4-Ko for 33532@debbugs.gnu.org; Tue, 04 Dec 2018 01:41:39 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gU4Ok-0004kE-Rg; Tue, 04 Dec 2018 01:41:35 -0500 Original-Received: from [176.228.60.248] (port=4842 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gU4Ok-0008M9-Jk; Tue, 04 Dec 2018 01:41:34 -0500 In-reply-to: <87a7lmqkry.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 04 Dec 2018 00:59:29 +0200) 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: 208.118.235.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:153052 Archived-At: > From: Juri Linkov > Cc: Markus Triska , Eli Zaretskii , 33532@debbugs.gnu.org > Date: Tue, 04 Dec 2018 00:59:29 +0200 > > What do you think about implementing the same behavior for > markers like it's implemented by 'comint-move-point-for-output'? > I.e. the same way as 'comint-move-point-for-output' moves point > to the end of the output, after erasing the buffer markers could > move their positions towards their previous valid position until > there is enough reverted text that they reach the old position. > > This is straightforward to implement. Is it? Then perhaps I don't understand what "this" is, because support for keeping the markers' positions is implemented on the C level, and every insertion/deletion primitive runs the low-level code which implements that. I wouldn't call changes in that area "straightforward" at all. Please also keep in mind that markers are the basis for other important features, like overlays and conversion of character to byte positions and vice versa. We need to consider the implications on all those features.