GNU bug report logs - #33532
26.1; set-window-configuration does not restore display start

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Tue, 27 Nov 2018 22:12:02 UTC

Severity: normal

Merged with 33533

Found in version 26.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: rudalics <at> gmx.at, 33532 <at> debbugs.gnu.org, triska <at> metalevel.at
Subject: bug#33532: 26.1; set-window-configuration does not restore display start
Date: Tue, 04 Dec 2018 08:41:26 +0200
> From: Juri Linkov <juri <at> jurta.org>
> Cc: Markus Triska <triska <at> metalevel.at>,  Eli Zaretskii <eliz <at> gnu.org>,  33532 <at> 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.




This bug report was last modified 6 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.