GNU logs - #12253, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 21 Aug 2012 22:23:01 +0000
Resent-Message-ID: <handler.12253.B.134558775632663 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 12253 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.134558775632663
          (code B ref -1); Tue, 21 Aug 2012 22:23:01 +0000
Received: (at submit) by debbugs.gnu.org; 21 Aug 2012 22:22:36 +0000
Received: from localhost ([127.0.0.1]:42088 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T3wqK-0008Um-IA
	for submit <at> debbugs.gnu.org; Tue, 21 Aug 2012 18:22:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47183)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T3wqH-0008Ud-RZ
	for submit <at> debbugs.gnu.org; Tue, 21 Aug 2012 18:22:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juri@HIDDEN>) id 1T3wpv-00036n-Sz
	for submit <at> debbugs.gnu.org; Tue, 21 Aug 2012 18:22:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:48447)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juri@HIDDEN>) id 1T3wpv-00036i-Pi
	for submit <at> debbugs.gnu.org; Tue, 21 Aug 2012 18:22:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38566)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juri@HIDDEN>) id 1T3wpu-0005l7-MX
	for bug-gnu-emacs@HIDDEN; Tue, 21 Aug 2012 18:22:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juri@HIDDEN>) id 1T3wpt-00036B-R4
	for bug-gnu-emacs@HIDDEN; Tue, 21 Aug 2012 18:22:10 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:35875
	helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juri@HIDDEN>) id 1T3wpt-000360-LJ
	for bug-gnu-emacs@HIDDEN; Tue, 21 Aug 2012 18:22:09 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id C7A20451CBF8
	for <bug-gnu-emacs@HIDDEN>; Tue, 21 Aug 2012 15:22:07 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
Date: Wed, 22 Aug 2012 01:17:05 +0300
Message-ID: <878vd7vqji.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

This is a request for improvement initiated in bug#12230 and
continued here in a new report.  The request is to restore the original
window start position when returning back to the previous node.

Martin writes in bug#12230:

>> +	  (set-window-start (selected-window) (nth 3 hist))))))
> [...]
>> +    (set-window-start (selected-window) ostart)))
> [...]
>> +    (set-window-start (selected-window) ostart)))
>
> Are you sure you want to force start positions here?

The first change in `Info-find-node-2' is needed to avoid recentering
when the target Info node does not exist and the reader stays in the
same node when the error message is reported in the echo area as
"No such node or anchor".  (What is interesting here is that this
change is needed only when the link leads to another Info file.
But when the link leads to another node of the same Info manual,
this change is not needed, because the window position stays the same.)

The second change in `Info-history-back' and in `Info-history-forward'
is to keep the original window positions while navigating through
the Info history backward and forward.  I think this has the same importance
as keeping the original window positions while navigating buffers
with `next-buffer' and `previous-buffer'.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Juri Linkov <juri@HIDDEN>
Subject: bug#12253: Acknowledgement (Restore window start position)
Message-ID: <handler.12253.B.134558775632663.ack <at> debbugs.gnu.org>
References: <878vd7vqji.fsf@HIDDEN>
X-Gnu-PR-Message: ack 12253
X-Gnu-PR-Package: emacs
Reply-To: 12253 <at> debbugs.gnu.org
Date: Tue, 21 Aug 2012 22:23:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 12253 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
12253: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12253
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 22 Aug 2012 07:09:01 +0000
Resent-Message-ID: <handler.12253.B12253.134561933325353 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.134561933325353
          (code B ref 12253); Wed, 22 Aug 2012 07:09:01 +0000
Received: (at 12253) by debbugs.gnu.org; 22 Aug 2012 07:08:53 +0000
Received: from localhost ([127.0.0.1]:42552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T453d-0006ar-2H
	for submit <at> debbugs.gnu.org; Wed, 22 Aug 2012 03:08:53 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:41440)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <rudalics@HIDDEN>) id 1T453a-0006ak-Ux
	for 12253 <at> debbugs.gnu.org; Wed, 22 Aug 2012 03:08:51 -0400
Received: (qmail invoked by alias); 22 Aug 2012 07:08:26 -0000
Received: from 62-47-50-77.adsl.highway.telekom.at (EHLO [62.47.50.77])
	[62.47.50.77]
	by mail.gmx.net (mp033) with SMTP; 22 Aug 2012 09:08:26 +0200
X-Authenticated: #14592706
X-Provags-ID: V01U2FsdGVkX1/i8voP0VPiEgX2Ndb0XK7CF0Dbkss5IqI3lvLoGw
	xh/za18E/dbnas
Message-ID: <50348568.5060401@HIDDEN>
Date: Wed, 22 Aug 2012 09:08:24 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
References: <878vd7vqji.fsf@HIDDEN>
In-Reply-To: <878vd7vqji.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

 > Martin writes in bug#12230:
 >
 >>> +	  (set-window-start (selected-window) (nth 3 hist))))))
 >> [...]
 >>> +    (set-window-start (selected-window) ostart)))
 >> [...]
 >>> +    (set-window-start (selected-window) ostart)))
 >> Are you sure you want to force start positions here?
[...]
 > The second change in `Info-history-back' and in `Info-history-forward'
 > is to keep the original window positions while navigating through
 > the Info history backward and forward.  I think this has the same importance
 > as keeping the original window positions while navigating buffers
 > with `next-buffer' and `previous-buffer'.

I fully agree with you.  But I was curious whether setting the window
start position should be allowed to override any (goto-char opoint)
following or preceding it (just in case a window got resized during
navigation).

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 22 Aug 2012 23:46:02 +0000
Resent-Message-ID: <handler.12253.B12253.134567914324268 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.134567914324268
          (code B ref 12253); Wed, 22 Aug 2012 23:46:02 +0000
Received: (at 12253) by debbugs.gnu.org; 22 Aug 2012 23:45:43 +0000
Received: from localhost ([127.0.0.1]:43982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T4KcH-0006JK-3c
	for submit <at> debbugs.gnu.org; Wed, 22 Aug 2012 19:45:43 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:36920
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T4Kc7-0006J0-6q
	for 12253 <at> debbugs.gnu.org; Wed, 22 Aug 2012 19:45:32 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id CDA35451CC35;
	Wed, 22 Aug 2012 16:45:02 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
Date: Thu, 23 Aug 2012 02:38:44 +0300
In-Reply-To: <50348568.5060401@HIDDEN> (martin rudalics's message of "Wed, 22
	Aug 2012 09:08:24 +0200")
Message-ID: <87haru8rxr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> I fully agree with you.  But I was curious whether setting the window
> start position should be allowed to override any (goto-char opoint)
> following or preceding it (just in case a window got resized during
> navigation).

I see what you mean - the problem handled by
`set-window-buffer-start-and-point'.  Of course,
this function can't be used in Info, but its precautions
of not forcing window-start (the argument NOFORCE
of `set-window-start') and the order of calling
`set-window-start' and `goto-char' afterward
can be applied to Info like in the following patch
(I guess using `set-window-point' instead of `goto-char'
is not applicable to Info):

=== modified file 'lisp/info.el'
--- lisp/info.el	2012-08-21 00:12:42 +0000
+++ lisp/info.el	2012-08-22 23:35:48 +0000
@@ -40,11 +40,11 @@ (defgroup info nil
 
 (defvar Info-history nil
   "Stack of Info nodes user has visited.
-Each element of the stack is a list (FILENAME NODENAME BUFFERPOS).")
+Each element of the stack is a list (FILENAME NODENAME BUFFERPOS WINDOWPOS).")
 
 (defvar Info-history-forward nil
   "Stack of Info nodes user has visited with `Info-history-back' command.
-Each element of the stack is a list (FILENAME NODENAME BUFFERPOS).")
+Each element of the stack is a list (FILENAME NODENAME BUFFERPOS WINDOWPOS).")
 
 (defvar Info-history-list nil
   "List of all Info nodes user has visited.
@@ -922,7 +925,7 @@ (defun Info-find-node (filename nodename
   ;; Record the node we are leaving, if we were in one.
   (and (not no-going-back)
        Info-current-file
-       (push (list Info-current-file Info-current-node (point))
+       (push (list Info-current-file Info-current-node (point) (window-start))
              Info-history))
   (Info-find-node-2 filename nodename no-going-back))
 
@@ -956,7 +959,7 @@ (defun Info-revert-find-node (filename n
 	(pline        (count-lines (point-min) (line-beginning-position)))
 	(wline        (count-lines (point-min) (window-start)))
 	(new-history  (and Info-current-file
-			   (list Info-current-file Info-current-node (point)))))
+			   (list Info-current-file Info-current-node (point) (window-start)))))
     ;; When `Info-current-file' is nil, `Info-find-node-2' rereads the file.
     (setq Info-current-file nil)
     (Info-find-node filename nodename)
@@ -1226,7 +1229,8 @@ (defun Info-find-node-2 (filename nodena
         (let ((hist (car Info-history)))
           (setq Info-history (cdr Info-history))
           (Info-find-node (nth 0 hist) (nth 1 hist) t)
-          (goto-char (nth 2 hist))))))
+          (set-window-start (selected-window) (nth 3 hist) t)
+          (goto-char (nth 2 hist))))))
 
 ;; Cache the contents of the (virtual) dir file, once we have merged
 ;; it for the first time, so we can save time subsequently.
@@ -2002,7 +2008,7 @@ (defun Info-search (regexp &optional bou
 	       (equal ofile Info-current-file))
           (and isearch-mode isearch-wrapped
 	       (eq opoint (if isearch-forward opoint-min opoint-max)))
-	  (setq Info-history (cons (list ofile onode opoint)
+	  (setq Info-history (cons (list ofile onode opoint ostart)
 				   Info-history))))))
 
 (defun Info-search-case-sensitively ()
@@ -2208,16 +2214,18 @@ (defun Info-history-back ()
   (or Info-history
       (user-error "This is the first Info node you looked at"))
   (let ((history-forward
-	 (cons (list Info-current-file Info-current-node (point))
+	 (cons (list Info-current-file Info-current-node (point) (window-start))
 	       Info-history-forward))
-	filename nodename opoint)
+	filename nodename opoint ostart)
     (setq filename (car (car Info-history)))
     (setq nodename (car (cdr (car Info-history))))
     (setq opoint (car (cdr (cdr (car Info-history)))))
+    (setq ostart (car (cdr (cdr (cdr (car Info-history))))))
     (setq Info-history (cdr Info-history))
     (Info-find-node filename nodename)
     (setq Info-history (cdr Info-history))
     (setq Info-history-forward history-forward)
+    (set-window-start (selected-window) ostart t)
     (goto-char opoint)))
 
 (defalias 'Info-last 'Info-history-back)
@@ -2228,12 +2236,14 @@ (defun Info-history-forward ()
   (or Info-history-forward
       (user-error "This is the last Info node you looked at"))
   (let ((history-forward (cdr Info-history-forward))
-	filename nodename opoint)
+	filename nodename opoint ostart)
     (setq filename (car (car Info-history-forward)))
     (setq nodename (car (cdr (car Info-history-forward))))
     (setq opoint (car (cdr (cdr (car Info-history-forward)))))
+    (setq ostart (car (cdr (cdr (cdr (car Info-history-forward))))))
     (Info-find-node filename nodename)
     (setq Info-history-forward history-forward)
+    (set-window-start (selected-window) ostart t)
     (goto-char opoint)))
 
 (add-to-list 'Info-virtual-files
@@ -4307,7 +4317,7 @@ (defun Info-find-emacs-command-nodes (co
 	      (setq where
 		    (cons (list Info-current-file
 				(match-string-no-properties 2)
-				0)
+				0 0)
 			  where))
 	      (setq line-number (and (match-beginning 3)
 				     (string-to-number (match-string 3)))))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Aug 2012 08:50:03 +0000
Resent-Message-ID: <handler.12253.B12253.13457117556747 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13457117556747
          (code B ref 12253); Thu, 23 Aug 2012 08:50:03 +0000
Received: (at 12253) by debbugs.gnu.org; 23 Aug 2012 08:49:15 +0000
Received: from localhost ([127.0.0.1]:44470 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T4T6I-0001km-Ei
	for submit <at> debbugs.gnu.org; Thu, 23 Aug 2012 04:49:14 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:54546)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <rudalics@HIDDEN>) id 1T4T6G-0001kZ-Md
	for 12253 <at> debbugs.gnu.org; Thu, 23 Aug 2012 04:49:13 -0400
Received: (qmail invoked by alias); 23 Aug 2012 08:48:42 -0000
Received: from 62-47-45-20.adsl.highway.telekom.at (EHLO [62.47.45.20])
	[62.47.45.20]
	by mail.gmx.net (mp041) with SMTP; 23 Aug 2012 10:48:42 +0200
X-Authenticated: #14592706
X-Provags-ID: V01U2FsdGVkX1/96WlZ0ZD9YdM5h6dzlaZ20G0X267eqPkBoTZAon
	XnEA3p2MkfVjkL
Message-ID: <5035EE75.9090809@HIDDEN>
Date: Thu, 23 Aug 2012 10:48:53 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN>
In-Reply-To: <87haru8rxr.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

 > (I guess using `set-window-point' instead of `goto-char'
 > is not applicable to Info):

Why not?

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Aug 2012 22:03:02 +0000
Resent-Message-ID: <handler.12253.B12253.134575937217390 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.134575937217390
          (code B ref 12253); Thu, 23 Aug 2012 22:03:02 +0000
Received: (at 12253) by debbugs.gnu.org; 23 Aug 2012 22:02:52 +0000
Received: from localhost ([127.0.0.1]:45603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T4fUJ-0004WR-Vb
	for submit <at> debbugs.gnu.org; Thu, 23 Aug 2012 18:02:52 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:49437
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T4fUH-0004WK-Kk
	for 12253 <at> debbugs.gnu.org; Thu, 23 Aug 2012 18:02:50 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id 67C01451CB63;
	Thu, 23 Aug 2012 15:02:15 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
Date: Fri, 24 Aug 2012 01:00:41 +0300
In-Reply-To: <5035EE75.9090809@HIDDEN> (martin rudalics's message of "Thu, 23
	Aug 2012 10:48:53 +0200")
Message-ID: <877gsp9sl2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

>> (I guess using `set-window-point' instead of `goto-char'
>> is not applicable to Info):
>
> Why not?

Usually Info widens the Info buffer, moves point using `goto-char' and
finally narrows the buffer to the current node.  There is no way to use
`set-window-point' in this workflow.  Other places (that move point
after narrowing) could use the same function `goto-char' for consistency.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 24 Aug 2012 09:47:01 +0000
Resent-Message-ID: <handler.12253.B12253.134580156413311 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.134580156413311
          (code B ref 12253); Fri, 24 Aug 2012 09:47:01 +0000
Received: (at 12253) by debbugs.gnu.org; 24 Aug 2012 09:46:04 +0000
Received: from localhost ([127.0.0.1]:46336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T4qSq-0003Sd-Cf
	for submit <at> debbugs.gnu.org; Fri, 24 Aug 2012 05:46:04 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:35430)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <rudalics@HIDDEN>) id 1T4qSo-0003SH-7t
	for 12253 <at> debbugs.gnu.org; Fri, 24 Aug 2012 05:46:02 -0400
Received: (qmail invoked by alias); 24 Aug 2012 09:45:26 -0000
Received: from 62-47-46-0.adsl.highway.telekom.at (EHLO [62.47.46.0])
	[62.47.46.0]
	by mail.gmx.net (mp069) with SMTP; 24 Aug 2012 11:45:26 +0200
X-Authenticated: #14592706
X-Provags-ID: V01U2FsdGVkX18vpmxtDWcvrmlraFLwg4pTciHcsg9w1CPqr9vHVq
	KjcVS0ibm3+T9z
Message-ID: <50374D30.7090401@HIDDEN>
Date: Fri, 24 Aug 2012 11:45:20 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
References: <878vd7vqji.fsf@HIDDEN>
	<50348568.5060401@HIDDEN>	<87haru8rxr.fsf@HIDDEN>
	<5035EE75.9090809@HIDDEN> <877gsp9sl2.fsf@HIDDEN>
In-Reply-To: <877gsp9sl2.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

 > Usually Info widens the Info buffer, moves point using `goto-char' and
 > finally narrows the buffer to the current node.  There is no way to use
 > `set-window-point' in this workflow.  Other places (that move point
 > after narrowing) could use the same function `goto-char' for consistency.

Conceptually, `goto-char' and `set-window-point' are idempotent with the
current buffer in the selected window.  Now *info* synchronizes
navigation in all windows showing *info*.  But if I split an *info*
window showing the (narrowed) beginning of *info* and do

(set-window-point (window-in-direction 'below) (point-max))

with the upper window selected, the lower window shows the (narrowed)
end of *info* and

(with-selected-window (window-in-direction 'below)
   (goto-char (point-max)))

does the same.  So I still miss you.

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Aug 2012 00:54:01 +0000
Resent-Message-ID: <handler.12253.B12253.134585598430299 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.134585598430299
          (code B ref 12253); Sat, 25 Aug 2012 00:54:01 +0000
Received: (at 12253) by debbugs.gnu.org; 25 Aug 2012 00:53:04 +0000
Received: from localhost ([127.0.0.1]:47544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T54cZ-0007se-Sk
	for submit <at> debbugs.gnu.org; Fri, 24 Aug 2012 20:53:04 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:35476
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T54cW-0007sE-4V
	for 12253 <at> debbugs.gnu.org; Fri, 24 Aug 2012 20:53:01 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id E4446451CB1D;
	Fri, 24 Aug 2012 17:52:19 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
	<877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
Date: Sat, 25 Aug 2012 03:29:39 +0300
In-Reply-To: <50374D30.7090401@HIDDEN> (martin rudalics's message of "Fri, 24
	Aug 2012 11:45:20 +0200")
Message-ID: <8762874wyk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> (set-window-point (window-in-direction 'below) (point-max))
>
> with the upper window selected, the lower window shows the (narrowed)
> end of *info* and
>
> (with-selected-window (window-in-direction 'below)
>   (goto-char (point-max)))
>
> does the same.  So I still miss you.

These functions might be used non-interactively,
where the *info* buffer is not displayed in any window,
e.g.:

  (with-current-buffer "*info*"
    (Info-history-back))

so in this case `goto-char' should be used instead of `set-window-point'
in `Info-history-back' and other similar functions.

It is true that in the latest patch, `set-window-start'
is not guarded against this use case.  To guarantee that the
function operates on the window that displays the current buffer,
we could add the following condition (this patch is based on the
previous patch that adds `set-window-start'):

=== modified file 'lisp/info.el'
--- lisp/info.el	2012-08-22 23:45:47 +0000
+++ lisp/info.el	2012-08-25 00:28:00 +0000
@@ -2225,7 +2225,8 @@ (defun Info-history-back ()
     (Info-find-node filename nodename)
     (setq Info-history (cdr Info-history))
     (setq Info-history-forward history-forward)
-    (set-window-start (selected-window) ostart t)
+    (when (eq (window-buffer) (current-buffer))
+      (set-window-start (selected-window) ostart t))
     (goto-char opoint)))
 
If you agree that this is the right thing to do
then other places could be changed accordingly as well.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Aug 2012 13:42:01 +0000
Resent-Message-ID: <handler.12253.B12253.13459020731993 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13459020731993
          (code B ref 12253); Sat, 25 Aug 2012 13:42:01 +0000
Received: (at 12253) by debbugs.gnu.org; 25 Aug 2012 13:41:13 +0000
Received: from localhost ([127.0.0.1]:48201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T5Gbw-0000W6-R2
	for submit <at> debbugs.gnu.org; Sat, 25 Aug 2012 09:41:13 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:58740)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <rudalics@HIDDEN>) id 1T5Gbq-0000Vu-KR
	for 12253 <at> debbugs.gnu.org; Sat, 25 Aug 2012 09:41:10 -0400
Received: (qmail invoked by alias); 25 Aug 2012 13:40:24 -0000
Received: from 62-47-58-37.adsl.highway.telekom.at (EHLO [62.47.58.37])
	[62.47.58.37]
	by mail.gmx.net (mp016) with SMTP; 25 Aug 2012 15:40:24 +0200
X-Authenticated: #14592706
X-Provags-ID: V01U2FsdGVkX1/aWmEgRy7aflLNrqXrkrSWbNbe+SSCGIENr/Svou
	jLC1B+uGORbCV0
Message-ID: <5038D5CA.5000502@HIDDEN>
Date: Sat, 25 Aug 2012 15:40:26 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
References: <878vd7vqji.fsf@HIDDEN>
	<50348568.5060401@HIDDEN>	<87haru8rxr.fsf@HIDDEN>
	<5035EE75.9090809@HIDDEN>	<877gsp9sl2.fsf@HIDDEN>
	<50374D30.7090401@HIDDEN> <8762874wyk.fsf@HIDDEN>
In-Reply-To: <8762874wyk.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

 > These functions might be used non-interactively,
 > where the *info* buffer is not displayed in any window,
 > e.g.:
 >
 >   (with-current-buffer "*info*"
 >     (Info-history-back))

Aha

 > so in this case `goto-char' should be used instead of `set-window-point'
 > in `Info-history-back' and other similar functions.
 >
 > It is true that in the latest patch, `set-window-start'
 > is not guarded against this use case.

This must have been the inconsistency that troubled my subconsciousness.

 > To guarantee that the
 > function operates on the window that displays the current buffer,
 > we could add the following condition (this patch is based on the
 > previous patch that adds `set-window-start'):
 >
 > === modified file 'lisp/info.el'
 > --- lisp/info.el	2012-08-22 23:45:47 +0000
 > +++ lisp/info.el	2012-08-25 00:28:00 +0000
 > @@ -2225,7 +2225,8 @@ (defun Info-history-back ()
 >      (Info-find-node filename nodename)
 >      (setq Info-history (cdr Info-history))
 >      (setq Info-history-forward history-forward)
 > -    (set-window-start (selected-window) ostart t)
 > +    (when (eq (window-buffer) (current-buffer))
 > +      (set-window-start (selected-window) ostart t))
 >      (goto-char opoint)))
 >
 > If you agree that this is the right thing to do
 > then other places could be changed accordingly as well.

I agree.  How do you handle the case where *info* is not in the selected
window but some other one?

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Aug 2012 19:54:01 +0000
Resent-Message-ID: <handler.12253.B12253.13459244151474 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13459244151474
          (code B ref 12253); Sat, 25 Aug 2012 19:54:01 +0000
Received: (at 12253) by debbugs.gnu.org; 25 Aug 2012 19:53:35 +0000
Received: from localhost ([127.0.0.1]:48763 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T5MQJ-0000Nj-AC
	for submit <at> debbugs.gnu.org; Sat, 25 Aug 2012 15:53:35 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:40990
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T5MQG-0000NV-6L
	for 12253 <at> debbugs.gnu.org; Sat, 25 Aug 2012 15:53:33 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id 64849451CB63;
	Sat, 25 Aug 2012 12:52:47 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
	<877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
	<8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
Date: Sat, 25 Aug 2012 22:29:42 +0300
In-Reply-To: <5038D5CA.5000502@HIDDEN> (martin rudalics's message of "Sat, 25
	Aug 2012 15:40:26 +0200")
Message-ID: <87r4qun7u1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> I agree.  How do you handle the case where *info* is not in the selected
> window but some other one?

We don't need to care about this case.  When used programmatically,
the caller should handle also the case when *info* is in another window,
e.g.:

  (with-current-buffer "*info*"
    ...
    (Info-history-back)
    (set-window-start (window-in-direction 'below) opoint)
    ...)

or some more specific logic when necessary.

But for the normal case, I think the following patch should be enough:

=== modified file 'lisp/info.el'
--- lisp/info.el	2012-08-21 00:12:42 +0000
+++ lisp/info.el	2012-08-25 19:29:04 +0000
@@ -40,11 +40,11 @@ (defgroup info nil
 
 (defvar Info-history nil
   "Stack of Info nodes user has visited.
-Each element of the stack is a list (FILENAME NODENAME BUFFERPOS).")
+Each element of the stack is a list (FILENAME NODENAME BUFFERPOS WINDOWPOS).")
 
 (defvar Info-history-forward nil
   "Stack of Info nodes user has visited with `Info-history-back' command.
-Each element of the stack is a list (FILENAME NODENAME BUFFERPOS).")
+Each element of the stack is a list (FILENAME NODENAME BUFFERPOS WINDOWPOS).")
 
 (defvar Info-history-list nil
   "List of all Info nodes user has visited.
@@ -922,7 +925,9 @@ (defun Info-find-node (filename nodename
   ;; Record the node we are leaving, if we were in one.
   (and (not no-going-back)
        Info-current-file
-       (push (list Info-current-file Info-current-node (point))
+       (push (list Info-current-file Info-current-node (point)
+		   (and (eq (window-buffer) (current-buffer))
+			(window-start)))
              Info-history))
   (Info-find-node-2 filename nodename no-going-back))
 
@@ -956,7 +961,9 @@ (defun Info-revert-find-node (filename n
 	(pline        (count-lines (point-min) (line-beginning-position)))
 	(wline        (count-lines (point-min) (window-start)))
 	(new-history  (and Info-current-file
-			   (list Info-current-file Info-current-node (point)))))
+			   (list Info-current-file Info-current-node (point)
+				 (and (eq (window-buffer) (current-buffer))
+				      (window-start))))))
     ;; When `Info-current-file' is nil, `Info-find-node-2' rereads the file.
     (setq Info-current-file nil)
     (Info-find-node filename nodename)
@@ -1226,6 +1233,8 @@ (defun Info-find-node-2 (filename nodena
         (let ((hist (car Info-history)))
           (setq Info-history (cdr Info-history))
           (Info-find-node (nth 0 hist) (nth 1 hist) t)
+          (when (and (nth 3 hist) (eq (window-buffer) (current-buffer)))
+	    (set-window-start (selected-window) (nth 3 hist) t))
           (goto-char (nth 2 hist))))))
 
 ;; Cache the contents of the (virtual) dir file, once we have merged
@@ -2002,7 +2013,7 @@ (defun Info-search (regexp &optional bou
 	       (equal ofile Info-current-file))
           (and isearch-mode isearch-wrapped
 	       (eq opoint (if isearch-forward opoint-min opoint-max)))
-	  (setq Info-history (cons (list ofile onode opoint)
+	  (setq Info-history (cons (list ofile onode opoint ostart)
 				   Info-history))))))
 
 (defun Info-search-case-sensitively ()
@@ -2208,16 +2219,21 @@ (defun Info-history-back ()
   (or Info-history
       (user-error "This is the first Info node you looked at"))
   (let ((history-forward
-	 (cons (list Info-current-file Info-current-node (point))
+	 (cons (list Info-current-file Info-current-node (point)
+		     (and (eq (window-buffer) (current-buffer))
+			  (window-start)))
 	       Info-history-forward))
-	filename nodename opoint)
+	filename nodename opoint ostart)
     (setq filename (car (car Info-history)))
     (setq nodename (car (cdr (car Info-history))))
     (setq opoint (car (cdr (cdr (car Info-history)))))
+    (setq ostart (car (cdr (cdr (cdr (car Info-history))))))
     (setq Info-history (cdr Info-history))
     (Info-find-node filename nodename)
     (setq Info-history (cdr Info-history))
     (setq Info-history-forward history-forward)
+    (when (and ostart (eq (window-buffer) (current-buffer)))
+      (set-window-start (selected-window) ostart t))
     (goto-char opoint)))
 
 (defalias 'Info-last 'Info-history-back)
@@ -2228,12 +2244,15 @@ (defun Info-history-forward ()
   (or Info-history-forward
       (user-error "This is the last Info node you looked at"))
   (let ((history-forward (cdr Info-history-forward))
-	filename nodename opoint)
+	filename nodename opoint ostart)
     (setq filename (car (car Info-history-forward)))
     (setq nodename (car (cdr (car Info-history-forward))))
     (setq opoint (car (cdr (cdr (car Info-history-forward)))))
+    (setq ostart (car (cdr (cdr (cdr (car Info-history-forward))))))
     (Info-find-node filename nodename)
     (setq Info-history-forward history-forward)
+    (when (and ostart (eq (window-buffer) (current-buffer)))
+      (set-window-start (selected-window) ostart t))
     (goto-char opoint)))
 
 (add-to-list 'Info-virtual-files
@@ -4307,7 +4326,7 @@ (defun Info-find-emacs-command-nodes (co
 	      (setq where
 		    (cons (list Info-current-file
 				(match-string-no-properties 2)
-				0)
+				0 0)
 			  where))
 	      (setq line-number (and (match-beginning 3)
 				     (string-to-number (match-string 3)))))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 28 Aug 2012 09:06:02 +0000
Resent-Message-ID: <handler.12253.B12253.13461447256292 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13461447256292
          (code B ref 12253); Tue, 28 Aug 2012 09:06:02 +0000
Received: (at 12253) by debbugs.gnu.org; 28 Aug 2012 09:05:25 +0000
Received: from localhost ([127.0.0.1]:53702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T6Hjg-0001dP-Pk
	for submit <at> debbugs.gnu.org; Tue, 28 Aug 2012 05:05:25 -0400
Received: from ps18281.dreamhost.com ([69.163.218.105]:51368
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1T6Hjf-0001dJ-CA
	for 12253 <at> debbugs.gnu.org; Tue, 28 Aug 2012 05:05:23 -0400
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id 12625451CC28;
	Tue, 28 Aug 2012 02:04:23 -0700 (PDT)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
	<877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
	<8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
	<87r4qun7u1.fsf@HIDDEN>
Date: Tue, 28 Aug 2012 11:53:42 +0300
In-Reply-To: <87r4qun7u1.fsf@HIDDEN> (Juri Linkov's message of "Sat,
	25 Aug 2012 22:29:42 +0300")
Message-ID: <87a9xfs8gz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> But for the normal case, I think the following patch should be enough:

Actually this has no effect in Info when isearch returns to the previous node
with DEL ("isearch-delete-char").  So isearch could remember the original
window start position in `isearch-state' and restore it as well.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: "Drew Adams" <drew.adams@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 16 Jan 2013 16:58:01 +0000
Resent-Message-ID: <handler.12253.B12253.135835548025939 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "'Juri Linkov'" <juri@HIDDEN>, "'martin rudalics'" <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.135835548025939
          (code B ref 12253); Wed, 16 Jan 2013 16:58:01 +0000
Received: (at 12253) by debbugs.gnu.org; 16 Jan 2013 16:58:00 +0000
Received: from localhost ([127.0.0.1]:35503 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TvWJL-0006kK-Us
	for submit <at> debbugs.gnu.org; Wed, 16 Jan 2013 11:58:00 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:30941)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1TvWJK-0006kB-21
	for 12253 <at> debbugs.gnu.org; Wed, 16 Jan 2013 11:57:59 -0500
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])
	by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id r0GGvKDM007390
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 16 Jan 2013 16:57:20 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157])
	by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	r0GGvJYK021626
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 16 Jan 2013 16:57:19 GMT
Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71])
	by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	r0GGvJAR013111; Wed, 16 Jan 2013 10:57:19 -0600
Received: from dradamslap1 (/130.35.178.8)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 16 Jan 2013 08:57:18 -0800
From: "Drew Adams" <drew.adams@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN>
	<50348568.5060401@HIDDEN><87haru8rxr.fsf@HIDDEN>
	<5035EE75.9090809@HIDDEN><877gsp9sl2.fsf@HIDDEN>
	<50374D30.7090401@HIDDEN><8762874wyk.fsf@HIDDEN>
	<5038D5CA.5000502@HIDDEN> <87r4qun7u1.fsf@HIDDEN>
Date: Wed, 16 Jan 2013 08:57:18 -0800
Message-ID: <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_001D_01CDF3C7.7D4A1160"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <87r4qun7u1.fsf@HIDDEN>
Thread-Index: Ac2C+0nK9NpFW8R+Ts2vfezQ83sDyRxDxSgw
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-Spam-Score: -1.5 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.3 (--)

This is a multi-part message in MIME format.

------=_NextPart_000_001D_01CDF3C7.7D4A1160
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

The attached patch seems to fix the Isearch problem generally, restoring the
original position of point within the window.

------=_NextPart_000_001D_01CDF3C7.7D4A1160
Content-Type: application/octet-stream;
	name="isearch-2011-05-16.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="isearch-2011-05-16.patch"

diff -cw isearch.el isearch-patched-2011-05-16.el=0A=
*** isearch.el	Mon May 16 11:38:22 2011=0A=
--- isearch-patched-2011-05-16.el	Mon May 16 14:21:04 2011=0A=
***************=0A=
*** 1060,1065 ****=0A=
--- 1060,1080 ----=0A=
  =0A=
  (defvar minibuffer-history-symbol) ;; from external package gmhist.el=0A=
  =0A=
+ (defun isearch-fail-pos ()=0A=
+   "Position of first mismatch in search string, or its length if none."=0A=
+   (let ((cmds  isearch-cmds)=0A=
+         succ-msg)=0A=
+     (if (and isearch-success (not isearch-error))=0A=
+         (length isearch-message)=0A=
+       (while (or (not (isearch-success-state (car cmds)))=0A=
+                  (isearch-error-state (car cmds)))=0A=
+         (pop cmds))=0A=
+       (setq succ-msg  (and cmds (isearch-message-state (car cmds))))=0A=
+       (if (and (stringp succ-msg)  (< (length succ-msg) (length =
isearch-message))=0A=
+                (equal succ-msg (substring isearch-message 0 (length =
succ-msg))))=0A=
+           (length succ-msg)=0A=
+         0))))=0A=
+ =0A=
  (defun isearch-edit-string ()=0A=
    "Edit the search string in the minibuffer.=0A=
  The following additional command keys are active while editing.=0A=
***************=0A=
*** 1139,1145 ****=0A=
  		(setq isearch-new-string=0A=
                        (read-from-minibuffer=0A=
                         (isearch-message-prefix nil nil =
isearch-nonincremental)=0A=
!                        isearch-string=0A=
                         minibuffer-local-isearch-map nil=0A=
                         (if isearch-regexp=0A=
  			   (cons 'regexp-search-ring=0A=
--- 1154,1160 ----=0A=
                   (setq isearch-new-string=0A=
                         (read-from-minibuffer=0A=
                          (isearch-message-prefix nil nil =
isearch-nonincremental)=0A=
!                         (cons isearch-string (1+ (isearch-fail-pos)))=0A=
                          minibuffer-local-isearch-map nil=0A=
                          (if isearch-regexp=0A=
                              (cons 'regexp-search-ring=0A=
=0A=
Diff finished.  Mon May 16 14:23:06 2011=0A=

------=_NextPart_000_001D_01CDF3C7.7D4A1160--





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: "Drew Adams" <drew.adams@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 18 Jan 2013 22:44:02 +0000
Resent-Message-ID: <handler.12253.B12253.13585490011882 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "'Juri Linkov'" <juri@HIDDEN>, "'martin rudalics'" <rudalics@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13585490011882
          (code B ref 12253); Fri, 18 Jan 2013 22:44:02 +0000
Received: (at 12253) by debbugs.gnu.org; 18 Jan 2013 22:43:21 +0000
Received: from localhost ([127.0.0.1]:39206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TwKee-0000UI-R0
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:43:21 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:17594)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1TwKec-0000UB-FU
	for 12253 <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:43:19 -0500
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
	by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id r0IMgRPg001533
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 18 Jan 2013 22:42:28 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157])
	by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	r0IMgRAA019987
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 18 Jan 2013 22:42:27 GMT
Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68])
	by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	r0IMgQI0028832; Fri, 18 Jan 2013 16:42:26 -0600
Received: from dradamslap1 (/10.159.184.17)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Fri, 18 Jan 2013 14:42:26 -0800
From: "Drew Adams" <drew.adams@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN><50348568.5060401@HIDDEN><87haru8rxr.fsf@HIDDEN><5035EE75.9090809@HIDDEN><877gsp9sl2.fsf@HIDDEN><50374D30.7090401@HIDDEN><8762874wyk.fsf@HIDDEN><5038D5CA.5000502@HIDDEN>
	<87r4qun7u1.fsf@HIDDEN>
	<FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
Date: Fri, 18 Jan 2013 14:42:22 -0800
Message-ID: <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_00C1_01CDF58A.071E7160"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
Thread-Index: Ac2C+0nK9NpFW8R+Ts2vfezQ83sDyRxDxSgwAHCRyOA=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Spam-Score: -1.5 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.5 (-)

This is a multi-part message in MIME format.

------=_NextPart_000_00C1_01CDF58A.071E7160
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

> The attached patch seems to fix the Isearch problem 
> generally, restoring the
> original position of point within the window.

Oops.  I sent the wrong patch somehow, as should have been obvious if anyone
looked at it.  Here is the correct patch, which fixes this Isearch problem.

------=_NextPart_000_00C1_01CDF58A.071E7160
Content-Type: application/octet-stream;
	name="isearch-2013-01-16.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="isearch-2013-01-16.patch"

diff -c isearch.el isearch-patched-2013-01-16.el=0A=
*** isearch.el	Wed Jan 16 08:49:58 2013=0A=
--- isearch-patched-2013-01-16.el	Wed Jan 16 08:51:10 2013=0A=
***************=0A=
*** 605,610 ****=0A=
--- 605,612 ----=0A=
  (defvar isearch-opoint 0)=0A=
  ;; The window configuration active at the beginning of the search.=0A=
  (defvar isearch-window-configuration nil)=0A=
+ ;; The line number of point before searching, relative to the line =
number of `window-start'.=0A=
+ (defvar isearch-win-pt-line nil)=0A=
  =0A=
  ;; Flag to indicate a yank occurred, so don't move the cursor.=0A=
  (defvar isearch-yank-flag nil)=0A=
***************=0A=
*** 827,832 ****=0A=
--- 829,836 ----=0A=
  	isearch-start-hscroll (window-hscroll)=0A=
  =0A=
  	isearch-opoint (point)=0A=
+         isearch-win-pt-line (- (line-number-at-pos)=0A=
+                                (line-number-at-pos (window-start)))=0A=
  	search-ring-yank-pointer nil=0A=
  	isearch-opened-overlays nil=0A=
  	isearch-input-method-function input-method-function=0A=
***************=0A=
*** 1307,1314 ****=0A=
        ;; For defined push-state function, restore the first state.=0A=
        ;; This calls pop-state function and restores original point.=0A=
        (let ((isearch-cmds (last isearch-cmds)))=0A=
! 	(isearch--set-state (car isearch-cmds)))=0A=
!     (goto-char isearch-opoint))=0A=
    (isearch-done t)                      ; Exit isearch..=0A=
    (isearch-clean-overlays)=0A=
    (signal 'quit nil))                   ; ..and pass on quit signal.=0A=
--- 1311,1320 ----=0A=
        ;; For defined push-state function, restore the first state.=0A=
        ;; This calls pop-state function and restores original point.=0A=
        (let ((isearch-cmds (last isearch-cmds)))=0A=
! 	(isearch--set-state (car isearch-cmds))=0A=
!         (when isearch-win-pt-line (recenter isearch-win-pt-line)))=0A=
!     (goto-char isearch-opoint)=0A=
!     (when isearch-win-pt-line (recenter isearch-win-pt-line)))=0A=
    (isearch-done t)                      ; Exit isearch..=0A=
    (isearch-clean-overlays)=0A=
    (signal 'quit nil))                   ; ..and pass on quit signal.=0A=
=0A=
Diff finished.  Wed Jan 16 15:52:01 2013=0A=

------=_NextPart_000_00C1_01CDF58A.071E7160--





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Jan 2013 10:19:01 +0000
Resent-Message-ID: <handler.12253.B12253.13585907331092 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "Drew Adams" <drew.adams@HIDDEN>
Cc: 'martin rudalics' <rudalics@HIDDEN>, 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13585907331092
          (code B ref 12253); Sat, 19 Jan 2013 10:19:01 +0000
Received: (at 12253) by debbugs.gnu.org; 19 Jan 2013 10:18:53 +0000
Received: from localhost ([127.0.0.1]:39564 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TwVVk-0000HY-R9
	for submit <at> debbugs.gnu.org; Sat, 19 Jan 2013 05:18:53 -0500
Received: from ps18281.dreamhost.com ([69.163.218.105]:43968
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1TwVVi-0000HR-U3
	for 12253 <at> debbugs.gnu.org; Sat, 19 Jan 2013 05:18:51 -0500
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id 178B62116A800A;
	Sat, 19 Jan 2013 02:17:57 -0800 (PST)
From: Juri Linkov <juri@HIDDEN>
Organization: JURTA
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
	<87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
	<877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
	<8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
	<87r4qun7u1.fsf@HIDDEN>
	<FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
	<F004277948C24BF09C55749DFDBE40FF@HIDDEN>
Date: Sat, 19 Jan 2013 12:17:30 +0200
In-Reply-To: <F004277948C24BF09C55749DFDBE40FF@HIDDEN> (Drew Adams's
	message of "Fri, 18 Jan 2013 14:42:22 -0800")
Message-ID: <87ehhh5vi2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)

> +         isearch-win-pt-line (- (line-number-at-pos)
> +                                (line-number-at-pos (window-start)))
> ...
> !     (when isearch-win-pt-line (recenter isearch-win-pt-line)))

Why do you use `line-number-at-pos' and `recenter' instead of
`window-start' and `set-window-start'?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: "Drew Adams" <drew.adams@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Jan 2013 15:05:02 +0000
Resent-Message-ID: <handler.12253.B12253.135860788931411 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "'Juri Linkov'" <juri@HIDDEN>
Cc: 'martin rudalics' <rudalics@HIDDEN>, 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.135860788931411
          (code B ref 12253); Sat, 19 Jan 2013 15:05:02 +0000
Received: (at 12253) by debbugs.gnu.org; 19 Jan 2013 15:04:49 +0000
Received: from localhost ([127.0.0.1]:40432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TwZyS-0008AZ-9F
	for submit <at> debbugs.gnu.org; Sat, 19 Jan 2013 10:04:49 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:27415)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1TwZyQ-0008AR-7m
	for 12253 <at> debbugs.gnu.org; Sat, 19 Jan 2013 10:04:47 -0500
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
	by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id r0JF3ora006385
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sat, 19 Jan 2013 15:03:50 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157])
	by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	r0JF3l0j028215
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sat, 19 Jan 2013 15:03:50 GMT
Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69])
	by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	r0JF3kxa008676; Sat, 19 Jan 2013 09:03:46 -0600
Received: from dradamslap1 (/71.202.147.44)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Sat, 19 Jan 2013 07:03:46 -0800
From: "Drew Adams" <drew.adams@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN>
	<50348568.5060401@HIDDEN><87haru8rxr.fsf@HIDDEN>
	<5035EE75.9090809@HIDDEN><877gsp9sl2.fsf@HIDDEN>
	<50374D30.7090401@HIDDEN><8762874wyk.fsf@HIDDEN>
	<5038D5CA.5000502@HIDDEN><87r4qun7u1.fsf@HIDDEN><FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN><F004277948C24BF09C55749DFDBE40FF@HIDDEN>
	<87ehhh5vi2.fsf@HIDDEN>
Date: Sat, 19 Jan 2013 07:03:40 -0800
Message-ID: <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <87ehhh5vi2.fsf@HIDDEN>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Thread-Index: Ac32LkIC6OyquIwKS0iubJFisv04VQAJ51bg
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Spam-Score: -1.5 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.3 (--)

> > +         isearch-win-pt-line (- (line-number-at-pos)
> > +                                (line-number-at-pos 
> (window-start)))
> > ...
> > !     (when isearch-win-pt-line (recenter isearch-win-pt-line)))
> 
> Why do you use `line-number-at-pos' and `recenter' instead of
> `window-start' and `set-window-start'?

No special reason.  It's probably just what occurred to me.

Aren't they equivalent in effect, though not necessarily in performance?  Feel
free to use whichever approach you feel is better.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: "Drew Adams" <drew.adams@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 29 Mar 2013 17:00:02 +0000
Resent-Message-ID: <handler.12253.B12253.13645763828519 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "'Juri Linkov'" <juri@HIDDEN>
Cc: 12253 <at> debbugs.gnu.org
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.13645763828519
          (code B ref 12253); Fri, 29 Mar 2013 17:00:02 +0000
Received: (at 12253) by debbugs.gnu.org; 29 Mar 2013 16:59:42 +0000
Received: from localhost ([127.0.0.1]:51168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ULceT-0002DM-Tn
	for submit <at> debbugs.gnu.org; Fri, 29 Mar 2013 12:59:42 -0400
Received: from aserp1040.oracle.com ([141.146.126.69]:50105)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1ULceR-0002DD-8Q
	for 12253 <at> debbugs.gnu.org; Fri, 29 Mar 2013 12:59:40 -0400
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93])
	by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with
	ESMTP id r2TGv0dM024916
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 29 Mar 2013 16:57:01 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158])
	by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	r2TGuxwf006771
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 29 Mar 2013 16:56:59 GMT
Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57])
	by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	r2TGuwfq004349; Fri, 29 Mar 2013 11:56:58 -0500
Received: from dradamslap1 (/10.159.148.114)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Fri, 29 Mar 2013 09:56:58 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN><50348568.5060401@HIDDEN><87haru8rxr.fsf@HIDDEN><5035EE75.9090809@HIDDEN><877gsp9sl2.fsf@HIDDEN><50374D30.7090401@HIDDEN><8762874wyk.fsf@HIDDEN><5038D5CA.5000502@HIDDEN><87r4qun7u1.fsf@HIDDEN><FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN><F004277948C24BF09C55749DFDBE40FF@HIDDEN><87ehhh5vi2.fsf@HIDDEN>
	<62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
Date: Fri, 29 Mar 2013 09:56:53 -0700
Message-ID: <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
Thread-Index: Ac32LkIC6OyquIwKS0iubJFisv04VQAJ51bgDZFXVmA=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-Spam-Score: -2.8 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.1 (----)

ping.

Any special reason why the patch provided or some other fix has not yet been
applied to fix this bug?  (Or has it been fixed and should thus be closed?)

> Sent: Saturday, January 19, 2013 7:04 AM
> > > +         isearch-win-pt-line (- (line-number-at-pos)
> > > +                                (line-number-at-pos 
> > (window-start)))
> > > ...
> > > !     (when isearch-win-pt-line (recenter isearch-win-pt-line)))
> > 
> > Why do you use `line-number-at-pos' and `recenter' instead of
> > `window-start' and `set-window-start'?
> 
> No special reason.  It's probably just what occurred to me.
> 
> Aren't they equivalent in effect, though not necessarily in 
> performance?  Feel free to use whichever approach you feel is better.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 May 2021 14:34:01 +0000
Resent-Message-ID: <handler.12253.B12253.16207436362047 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>, 'Juri Linkov' <juri@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.16207436362047
          (code B ref 12253); Tue, 11 May 2021 14:34:01 +0000
Received: (at 12253) by debbugs.gnu.org; 11 May 2021 14:33:56 +0000
Received: from localhost ([127.0.0.1]:37064 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgTSO-0000Ww-IJ
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 10:33:56 -0400
Received: from userp2130.oracle.com ([156.151.31.86]:36734)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1lgTSL-0000Wi-UH
 for 12253 <at> debbugs.gnu.org; Tue, 11 May 2021 10:33:54 -0400
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BEEGQf128428;
 Tue, 11 May 2021 14:33:48 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2020-01-29;
 bh=vkIeBTboM1gGrpFAogln27FJp5nHbs3yibhrxz4qpRo=;
 b=OF6VYJZF1DOfNl39DGifL3ZatQMBkjpIE8r9518PBfeHQKjknPOe8BGRcdzI4Hb8TKYj
 P/LheMbUJGmdK2KBtVscKPO7Im9nGvUjygeGSf4Qfu6/Ktiw61k/wrGawSoszG/aW7Ai
 RPkzPoQSLwawPYp8Be9vMDAkCUe3eNxEvZtSS4ebetnSoP9w/X7baRvIoDOKnbkUQAJs
 nNPLho5rklCtQ1j3iSL17zZgLr3/io5bPx/xRAPy05FT9jwvvSGXGxPjn/aiA1gl4j4F
 CXoqQcOB6LNLFwqLOh7u9GCOb7ZXaH09c97Y4BE1suqHibVjCzASPli6nIwhIVQt8Iuw QQ== 
Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80])
 by userp2130.oracle.com with ESMTP id 38e285e6r3-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 14:33:47 +0000
Received: from pps.filterd (userp3030.oracle.com [127.0.0.1])
 by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BEFtTw129006;
 Tue, 11 May 2021 14:33:47 GMT
Received: from nam11-bn8-obe.outbound.protection.outlook.com
 (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169])
 by userp3030.oracle.com with ESMTP id 38dfrxbx9n-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 14:33:47 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Zq1vD23uT2109LdpQ9NnHcJnbxI2CHZUpId6sl6FCnFLWK9wt5fGGlyDLqez8Io0IzbDECmYHU9q8zMLKK/O1SfZXl7MUqWsu9r3F1cqJgC8tcjb4r/jPbyp5juUBNpQayYTkmVLy941jH5hiqXjHxlLZXdFODGwk0IssxEmfoeERIpGc4qBomHHf/OEgCKLV/tkNuQw5hxXY++sMEWcM6xXlQ/JyxoGYJQEY4tvDzKLEhK2HNno9/IimmstCI9IDa7p7WSrRxPr7SUbm2x67j0njJtZxnzzwW4Idlro+GlRnyu20xDufKuVWNuonmigtVQ0UtSHDz4kk431+f8LYg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=vkIeBTboM1gGrpFAogln27FJp5nHbs3yibhrxz4qpRo=;
 b=fDHtHI2Cpxb9WVGq39rOBSN2ayx/Odii436EPrLh8IK8HN7Yenz0A3zZok0Kps3ItVoPkwU4RrnV1GKrXKWXgbCO8Ngo2PEoiwiWNjoLPdplYYsXMseyhzWF4tloaUDktShwzpbqNjZql4FHkevih3yVmJJWo2dL69GiVkqIEtxfbz00ZLmpjNiexM9hRG8mrc4y6W3vGKCBHiTbaAPjfFlTp8mnqLChdl/+zPaY/9YeDp1lDOKuc9dPq9B+LYSzgV5PuUCEfiA72Pi4VyLFOLn3+YHQyhug2HTWrhXInp1HKuaHtEFAqIV7pZKQMl8UcNqjRS9r4CKqd6/0wIPXhQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=vkIeBTboM1gGrpFAogln27FJp5nHbs3yibhrxz4qpRo=;
 b=rw4F7xJ2MN0O7PFqulwvwCeh2a6G3KVSLeLdD3Y9rCDnv/0DySsdSlm2LjVjYBXEUk0aSN1vBFND99rLcli4LZ8ojXIkqR/dIUoBi/JYno9Mj/venVVY8ltsNHxu6tutpb3ZNrzcQqLwZLfaJUdtVplKBwrkjwaNYZlL9ihDG9c=
Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15)
 by SA2PR10MB4457.namprd10.prod.outlook.com (2603:10b6:806:115::16)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Tue, 11 May
 2021 14:33:45 +0000
Received: from SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4087.049; Tue, 11 May 2021
 14:33:45 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: bug#12253: Restore window start position
Thread-Index: Ac32LkIC6OyquIwKS0iubJFisv04VQAJ51bgDZFXVmCSM658sA==
Date: Tue, 11 May 2021 14:33:45 +0000
Message-ID: <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN><50348568.5060401@HIDDEN><87haru8rxr.fsf@HIDDEN><5035EE75.9090809@HIDDEN><877gsp9sl2.fsf@HIDDEN><50374D30.7090401@HIDDEN><8762874wyk.fsf@HIDDEN><5038D5CA.5000502@HIDDEN><87r4qun7u1.fsf@HIDDEN><FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN><F004277948C24BF09C55749DFDBE40FF@HIDDEN><87ehhh5vi2.fsf@HIDDEN><62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
In-Reply-To: <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [73.170.83.28]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0d053b2f-62c7-47c2-3308-08d91489c879
x-ms-traffictypediagnostic: SA2PR10MB4457:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <SA2PR10MB445736E2B838BEDCC9B05008F3539@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:3044;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /OKVdd5WGqSajffv1C3zOknZnqBIajFfrHBoPzeHrIiWrQaiRhNMV81ZFOc7xpyaL2KUtL/bovu0n7gnZe81Lq3SkuHxRpTITfP65j/Z2p9bEgwcn6cN9lIPBHsUNbzUXdvPt7Dik39XcJ9edATPobBPt0CiFrMqQkDYwNDs3IzwEDek2hVb7JsxhvKwdIKyYBw5sY+QDgHhKkSsNou2WvH8H93troZNWKTHsBSj1cbWJEJHHI1d6Mb2aKxgnVRZ3xcBI6sFRb0ojCL/G9miR0Ab+RShpgsrz50FjQQj2YYD7q9uStQLVOiNSqNagPNCb3HZI8ZefA5C7TXjG0dLmBR9qFrrdRfc231FcfDcroPLOJ9b14h3YjKl4dlH3pbwt/QQhcprEtyaV28p7yyarqejFoprlKECk70A4rmdSP8ziMDAW1qHB+XMID6qspuenHKaXbZ29XnHwf0faqJHQmx3eTmsq56hOWU+pXxAHtPaih4Kby4ro7g/c1604JKHV3qNU/YWjPGirJQRFGYznwIiL2vyRJprakoW/oKhxVKYt0GqCYuSgVOWWboISnRqAIetZg4Quy5v0bs+Du9B8wbGNt0/8IE5E8VuDL76MXI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(396003)(376002)(346002)(136003)(366004)(39860400002)(110136005)(558084003)(76116006)(66946007)(64756008)(66446008)(33656002)(66476007)(55016002)(66556008)(83380400001)(52536014)(186003)(9686003)(316002)(71200400001)(86362001)(6506007)(7696005)(478600001)(122000001)(26005)(2906002)(44832011)(8676002)(38100700002)(5660300002)(8936002)(4326008);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: tltNFuWi7Q9ddmDhxOClAJkgJXs8la90842zpdnKPuL9d7fmiucobAHHa3GHM+ktumtyVibB/AEj1pVvGUpWBU+lludVuGSri5XYsrvj5sxPWEOEKxXAtwpUCTWsUX6doUQxymGD4LKzQxEGIGJvOAg9d25RWsZSDynj1apCKYy3SXyIdHJvA9eymGskDkqyvNJhjiQmDLchNxXJx4Fz0EDEqXC4LMIo2f/giDncxJIEsT7NyceszLpT3Vq/SnRn4k+F415qp19qFgjoGLee5ngS4ryN0bQvLF6/vkx+DkM3pWajTHV1Cs0gpTuMQrm8H5zfbpqjIsTsrxaGbGOR7DnUK+wMbqFcNvkImQcgowZQ1Pq++vKcn4Wl9ESKACE8XFcpaQsk7lBWc/vEwgNlzt5BS+MetK1nqXp798/XzDr2K/8ElzASp9cvxfh6Z6EmwLw+dDEj9OM5wd/N/niubgzpPiisk3uec65oeZA+G6dJq2nIQfLFoPxpirluv/mQcc0c3lDoxe1dJ3STTdrxYresPkd63cKHK1oBrJnMjCzlLrO1uucO+YLWgV6tJ5w+91QO6L9BcBQCD17HxkG54JT7ONanNoixjamA8nboHYb56Kr/BCwCOYv3/6Ec7Eozzy6MInCdCbmeuKZCIUy2dqoczdp/F9KpgX2E2jYkxSibi17auti3mbQmv3/073Nn6uMksaFLcysUx+djRHSrLZpCYwkhMUyuH6unkFOycHG97EIu5kERYnhTVguCGGC6UdlEWlGqFfkNsOzGRlK9ZvOAYge+dQNrLQMhgULlmdLX5/CQw51eny0sty2mPa1v3501kZ73DK13zg1ilL3vQhIMuZulKkFI0x2z/6dI/FpQV9SUoNgAvg+xcxXPwt4dJWmQ7dDHuIdLknLfu526JCujzZCEFww1+m/+6xNvU+aQYnQqBUsTR7WyaTJUrrMcKf544oKGsSykJFL/oJx+hwYZkvIMc/NvPOcHA/mZ9FxF6kuTg9qMxX6QhNzhI6Te2PdyyVrY2QDrV3DOc7z1dXbIi9Eg+kyaVqyrsieAtOddpw/aO0dsn1EnmqQ0BGwALz7DM+MgcZI+6p+ps4Mtxn0ceBzMSuRiNcmH+N8b8NunfoiI3I9LXqhcznijMyHRV0CVrMWfHP6arQi922bn3ycSq/1OWFG1gh2jp263p/vOfSDUdeHEwmhvz3/tJehtUvZC1NJsZ8nPKTcSfHNNjIzIcGoPhUu+cQf7hHjb4lKioffBoTzsOIbCiV8EQZ27r7oPLqxjwMkEiUSwImT8bMhLk68K9xU/HObgxi6A6gN5lBNuToJ1ShHakC1rGXVM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0d053b2f-62c7-47c2-3308-08d91489c879
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 14:33:45.5519 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 5vbJram/3vpgdC6oHknUkaHhurONwqFZn/mvDZzVfnvur9TLFjtGnYHi259xpyx04oubyKzouPo0h1zcub2Gtg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4457
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999
 phishscore=0
 adultscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0
 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2104190000 definitions=main-2105110109
X-Proofpoint-GUID: gpMO6fRWHUkYeDG2fqGQYa8s4AZ_ewlM
X-Proofpoint-ORIG-GUID: gpMO6fRWHUkYeDG2fqGQYa8s4AZ_ewlM
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 mlxlogscore=999
 mlxscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0
 clxscore=1011 impostorscore=0 phishscore=0 malwarescore=0 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2105110109
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Sent: Friday, March 29, 2013 9:57 AM
>=20
> ping.
>=20
> Any special reason why the patch provided or some other fix has not yet
> been applied to fix this bug?  (Or has it been fixed and should thus be
> closed?)

ping.  Still unaddressed, after 8 more years?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 May 2021 18:32:02 +0000
Resent-Message-ID: <handler.12253.B12253.1620757920780 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.1620757920780
          (code B ref 12253); Tue, 11 May 2021 18:32:02 +0000
Received: (at 12253) by debbugs.gnu.org; 11 May 2021 18:32:00 +0000
Received: from localhost ([127.0.0.1]:37348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgXAl-0000CV-L8
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 14:31:59 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45875)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1lgXAf-0000Bj-Hd
 for 12253 <at> debbugs.gnu.org; Tue, 11 May 2021 14:31:54 -0400
Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166])
 (Authenticated sender: juri@HIDDEN)
 by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 4B10F240002;
 Tue, 11 May 2021 18:31:45 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
Date: Tue, 11 May 2021 20:53:50 +0300
In-Reply-To: <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 (Drew Adams's message of "Tue, 11 May 2021 14:33:45 +0000")
Message-ID: <87tun9xjrz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

>> Sent: Friday, March 29, 2013 9:57 AM
>>
>> ping.
>>
>> Any special reason why the patch provided or some other fix has not yet
>> been applied to fix this bug?  (Or has it been fixed and should thus be
>> closed?)
>
> ping.  Still unaddressed, after 8 more years?

Please concretize what is unaddressed.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: [External] : Re: bug#12253: Restore window start position
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 May 2021 18:47:01 +0000
Resent-Message-ID: <handler.12253.B12253.16207587992152 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.16207587992152
          (code B ref 12253); Tue, 11 May 2021 18:47:01 +0000
Received: (at 12253) by debbugs.gnu.org; 11 May 2021 18:46:39 +0000
Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgXOw-0000Yd-Pd
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 14:46:38 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:58694)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1lgXOu-0000YQ-DV
 for 12253 <at> debbugs.gnu.org; Tue, 11 May 2021 14:46:36 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BIEQO5057727;
 Tue, 11 May 2021 18:46:28 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2020-01-29;
 bh=gngSMb3ItjSgAIyEjqMXxAK87u1Z2eiKwZrTCX2eULw=;
 b=YLZ7y9jtbEdWhQYgOejAyRblGbryz0pkWXtSKlRtDHAR9LUS5cKj7Nd4j6mHAQPO0x55
 PlPGM457B8jyiHj4F2cJTMDlofpJQaDbr4Y4qXn7LKnJixeM6JGE+IFDWxLAg7Sw4vXP
 3UtENHA55Fp57bZFFyxzUp2KwQ3xRGftjJUontHabPHrnslKnS7ZUMewRaggGMHtcV6d
 GrSw0ztZgK6VpHf+XFLbNjO2vIogT9VnDzXojdN/ahZLlKH+gWcWVImEMIZxzYUAsYPZ
 /3jnWPY9bMUifdlIPzFvbjByEFnOEMXcGre4kcPS4e+L8jRyyUYaRq2F+YNlKAzMvQVU 0A== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by aserp2120.oracle.com with ESMTP id 38djkmfrj1-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 18:46:28 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BIFqHn160103;
 Tue, 11 May 2021 18:46:27 GMT
Received: from nam12-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170])
 by aserp3030.oracle.com with ESMTP id 38e5pxrydp-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 18:46:27 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Vl+4XDq7YdGhPIgAuoKBMEdYvfctF3klAR1a4WYx3zR5lV7YCRxV+uBhbq9nM1T6uLSFVvzDViXBq8l0jfKta30WxVjR9AS2w/vwLdCFy8bb9PwfWL5PTCiAD8IVZWpWxhZzDbSZGa/c/AsnFWF5/SI6Wog89c/vGzXc9uqFBcfg42/5yRblWCSfL/zWfqGK78jgEEfffkeEv/INKBI68wKT286+g/XreAwZZ3vwgZaVZ8XQKw3lc8UwzP+g/fI05rdyf2uYnEem94EfktHTkaaxKtNJAFoP9Q4OFx93lP9RZjYyPeu5Gg8Rzx02zO/HkoIaIka8arGUnP65daSgdQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=gngSMb3ItjSgAIyEjqMXxAK87u1Z2eiKwZrTCX2eULw=;
 b=GGg7hN81PYumcZH9ONQXLl2EubMGhrkpbYQISG5wfiPQKoUOtnvSJ+vMbyO0V61wWKlG93QabII+TeJUYIhcvi8BIwo4yCK2NiJSR/maTtSwVxD0dh54aheE5fLtBf7Avq1Q84vv2mCl3mb+X4ovLUmC43Dr/F6SMfQvcgq2mRGN3b411vrtRu7AHrt05vSY+9e+bI/scnitW8bNDXJ7xU3aE9rjPLH9FigUbOZ3bH79i7Cq6SQ6VX8vXqWf9VqWdhPaPMJCwQAJ/Vk0XrRZj0JmiAg/pObJa28QpVRPF+17e5G2C/lwL6zXUWt48+TRziK558JaUmWcA+ezxuXPtw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=gngSMb3ItjSgAIyEjqMXxAK87u1Z2eiKwZrTCX2eULw=;
 b=QQWXbVtZPHhLGUOItKyEJNWF3QR8sZCQW3fQmpGf6sqi1IB3WnfL/K2acHVm8/5Abh7bcGGzGXf0K95SXXm7+/WiYU/To4VCKLSIAHRi95rpVhCH2ygcPqH3YNllwNA042AXGxa0oksBaYZ3LKdKQH0NEt7Alzk8F8BwCa3AOzs=
Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15)
 by SA2PR10MB4428.namprd10.prod.outlook.com (2603:10b6:806:fa::11)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Tue, 11 May
 2021 18:46:25 +0000
Received: from SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4087.049; Tue, 11 May 2021
 18:46:25 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : Re: bug#12253: Restore window start position
Thread-Index: AQHXRpPs88MY04QANkCo6KdNrpPsR6reni2w
Date: Tue, 11 May 2021 18:46:25 +0000
Message-ID: <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
In-Reply-To: <87tun9xjrz.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: jurta.org; dkim=none (message not signed)
 header.d=none;jurta.org; dmarc=none action=none header.from=oracle.com;
x-originating-ip: [73.170.83.28]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 956999b0-32b8-4db8-75dd-08d914ad14ac
x-ms-traffictypediagnostic: SA2PR10MB4428:
x-microsoft-antispam-prvs: <SA2PR10MB44288F8F60198BEB4DDB4C5FF3539@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: eUi+74cmmcUA8U46z5nzW/H8T/6z7xfI93BJ5O+Ft8oGKIB99OLIXYI2CS+DUDrFmDu6Ynf/hb6jDFRS6LvLO6hyQniwb7dighgbL/Vtl/BPJLJe8scPqvDnscON1EEJMFciCov6wYUp3JB6OzCfuyiu+O2idA31CxEftrbflNRxu8NqjuSdmmB4C/FJ9nzjgNl9L5GsxPyzU+EI5BmGrfpFZIviHP7RKmjDLD+DtAcfb8FZB+hZeV+91mU58/GW6P6AaY34y0tCPOrjQllb7dnrgumGM/MFgH60YONxVC4y4196P4NWAKmAYGodgFm7v6bAVn/ZAG1R0sMb2/L/zmpHVJ+ZZOqlHhZKEXW2yygLPm26pJsQhfY+xPHP92PcXZBmAVrVnNoS7L6PQLd8QMBKdjZ+BRFpsIG+UJ5Hfz7HVTqyRk+OctTcdkhFnM/FoVywTzFQbvocGMDz3YBUOPDAoyGJ4NuxDYjy5eVrCS3tHBtcV5PJOVpyjyAP+KgydECW9Ybv/ivHpHby3v//aLDcEP1sOkn4YocwZxUCAVwH6St4MvBJjku3hL8/D8MqL0p6uXBJibZR/qcu+M+aJG2fA1eBpltcP/pw9eBcU10=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(396003)(376002)(366004)(136003)(39860400002)(346002)(26005)(86362001)(38100700002)(186003)(4326008)(122000001)(316002)(66946007)(76116006)(66476007)(66556008)(52536014)(9686003)(6916009)(66446008)(64756008)(478600001)(8676002)(2906002)(4744005)(8936002)(33656002)(71200400001)(83380400001)(55016002)(7696005)(44832011)(5660300002)(6506007);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: 8Oc4t8HBcSzBA8n5c3NT+dA8evByDHQLNM0JcCb6y3DhlUOfZUDIidNGjZ3m41xG0oo/GKqWCvbuAhk2dTa09I/wHLZ15ZFzLcLdl+D2wnGgoghemoY5WkvPcN1DGglS/06FjjgBfA/HJJGV1phx1+YABCxYKQPbESguA7QSNGF7n306YVtsHR4da69kabZ9oIBbSFg3n10q7KwGlTjKrk1xSOzV/PfccjvbhQU+PuSW0Ry9ZyVJLyRNcb18VbeTRFd8UILRndydVyn5//7Z4/AH9M4AnwywVKaHw5EdAS9NNzUoJeYBEWGY6Ra60zztc74I6MuwioGOmZ3s1/65EDxPs/8jjospgzSAfLCFaDy6l/g653PZ1+l7/3GSCZgSWUUxu2OfMNK/HIk33rYuAxJVwyBV/POqK3XYSHlq3Nq9SDqFZ9ob3PBGbWby0yJI2flz36cDrPZGPkax4b5lqw5i7jSRD2wXMKD9RhaY7nvXCtkNdq8yK4zQQehCdPSrN8WtudbvPA2dcTQAHSpne3JvPG3DsdLvumGjQ282HoL2jMYEWBod8pUmBYYY1RUQ3kaplW5vTpiIO7pieC3AUHTuYTbUG81VAkF4IerFcdzcVYEvqi5Nz7msH+ZZ1R1ymnrBkjAKleHQBzBVyTIZNYZFFo8izuG0qtrJWN0kHRruzagF4ty4ylgiFVFPcwzUKajkkPAnMBI8gudk+bbnX3mOPZmMnavzDT/9GAEwsNQL0ift9tp5e6Lv0M/XhS+n+h+CVrQcTsAIp/F6mEePIXgGJjpX0nITCMlpMYGiP7hxpSvcdzHTlo3ub0kn0RbPdztx+lSpc7c8ysXAFQVUCkLIAtxCaHn/km482YGouFXGQIvfSDSuF4CbyXiB30cn5UfO0BO+8ZKAF+taO3qtq4Yi1DE13NmPGAjFJoDz6DgFmYP12hlvBKDcvOzEgqZqgRgvqsHcF5Ob9pOr9Dsu4Y7qhi6izZgSiCT3Xk06jZDES1yaVvFgFxpcW15V/2saTvsACaG+t+NlTLh/smaMQ6UWWoNYvjWTwNTD+VSBkNTPFXL50+FcgMI1lzpwgT5okqympQxNdW3cC+MVanl+2nMiHP9/fqxywob4TZ/reg3SdbZ0Z10zEy2FKIu2Sc9UmaKjLtDH7yPp7jpcnZhUwph1v2vCPez3/16+qA4cukwoiF+KjffNcgTRRlPmtaNS6C0klyQeU06z46abIKFHsQi0Ejto3NyNbbbGAPpEQlKrCxfjxZnqfuTbSLgq9vLH22fRMZTYrRwAZuy/RsqI0SB5kkHeurQN1bSUQtiEtpWT1B25/9SZWqzlgKIfC5ZF
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 956999b0-32b8-4db8-75dd-08d914ad14ac
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 18:46:25.7713 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 3NTvva2OrVfb49yQ4D0UZ9E81IxoE9xO703gddtGLtEahawD+8E+J/s+PyWT2SXEoZAiYPiW40tFWxtFj/zUog==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4428
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 malwarescore=0 spamscore=0
 mlxscore=0 adultscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2105110123
X-Proofpoint-GUID: -NrLhoSZYSJgnVz5dlAq65WDPTCANX_0
X-Proofpoint-ORIG-GUID: -NrLhoSZYSJgnVz5dlAq65WDPTCANX_0
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0
 priorityscore=1501
 suspectscore=0 clxscore=1015 bulkscore=0 adultscore=0 impostorscore=0
 spamscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 lowpriorityscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2105110123
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> >> ping.
> >>
> >> Any special reason why the patch provided or some other fix has not
> >> yet been applied to fix this bug?  (Or has it been fixed and should
> >> thus be closed?)
> >
> > ping.  Still unaddressed, after 8 more years?
>=20
> Please concretize what is unaddressed.

The questions posed are concrete.  What about the patch
I provided?  Or some other fix?  Or has it been fixed
and should be closed?

If you feel that everything has been addressed, then
why not close the bug.  If not, then please "concretize
what is unaddressed".




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: [External] : Re: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 May 2021 19:32:02 +0000
Resent-Message-ID: <handler.12253.B12253.16207615086584 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.16207615086584
          (code B ref 12253); Tue, 11 May 2021 19:32:02 +0000
Received: (at 12253) by debbugs.gnu.org; 11 May 2021 19:31:48 +0000
Received: from localhost ([127.0.0.1]:37477 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgY6e-0001i8-C6
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 15:31:48 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:60443)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1lgY6b-0001hu-SG
 for 12253 <at> debbugs.gnu.org; Tue, 11 May 2021 15:31:46 -0400
X-Originating-IP: 91.129.102.166
Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166])
 (Authenticated sender: juri@HIDDEN)
 by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 63A6720004;
 Tue, 11 May 2021 19:31:37 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
 <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
Date: Tue, 11 May 2021 22:29:12 +0300
In-Reply-To: <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
 (Drew Adams's message of "Tue, 11 May 2021 18:46:25 +0000")
Message-ID: <875yzpxe5z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

>> >> ping.
>> >>
>> >> Any special reason why the patch provided or some other fix has not
>> >> yet been applied to fix this bug?  (Or has it been fixed and should
>> >> thus be closed?)
>> >
>> > ping.  Still unaddressed, after 8 more years?
>>
>> Please concretize what is unaddressed.
>
> The questions posed are concrete.  What about the patch
> I provided?  Or some other fix?  Or has it been fixed
> and should be closed?
>
> If you feel that everything has been addressed, then
> why not close the bug.  If not, then please "concretize
> what is unaddressed".

This is not helpful.  It was many years ago, and I don't remember the details.
In bug#12253 there is a patch that restores the window position
when navigating back in Info history.  I could try to rebase it
if there is still an interest in such improvement.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: [External] : Re: bug#12253: Restore window start position
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 May 2021 20:19:01 +0000
Resent-Message-ID: <handler.12253.B12253.162076430011128 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.162076430011128
          (code B ref 12253); Tue, 11 May 2021 20:19:01 +0000
Received: (at 12253) by debbugs.gnu.org; 11 May 2021 20:18:20 +0000
Received: from localhost ([127.0.0.1]:37584 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgYpg-0002tQ-1u
	for submit <at> debbugs.gnu.org; Tue, 11 May 2021 16:18:20 -0400
Received: from userp2130.oracle.com ([156.151.31.86]:52946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1lgYpd-0002tB-Gd
 for 12253 <at> debbugs.gnu.org; Tue, 11 May 2021 16:18:18 -0400
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BKE3r5027498;
 Tue, 11 May 2021 20:18:10 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2020-01-29;
 bh=Tv9r03H/r6nov0aB/JiVfLl9vhyWSbh3r79dt0pRVzk=;
 b=IjN8iZk4ZGVa5snnWQ0FDtCtzftXtZYgDwuSk/W+vfkx6w/HKnmCGjiynVKYwpQHTfo/
 8kT6vm5+F3423jVyNYOdT30qcZvFpy4DMCap6WbUBbyAxSuiAjMEFBHi9vX4Bh2LTRKU
 PH8gRSgYbLLHBstw1bCL4K+uNAhkGrwpttsOa1mI5+dmWEae6rxcoOEwErK4j89ZR0My
 fpWRqAtICxdSPjKLN+sl0v2Wj89mxHBIr3Id6CQw69jtBU0l0xo+/DjjkqQUx7aEl1A0
 qhFLrXIR+EphcsfDSkSsWZ1r5v2LOqf843oFRt9kjGpaSUROkDe2gZgRNXTH+epEqzjN 0g== 
Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70])
 by userp2130.oracle.com with ESMTP id 38e285f94n-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 20:18:10 +0000
Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1])
 by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14BKEgBK119610;
 Tue, 11 May 2021 20:18:09 GMT
Received: from nam11-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam11lp2170.outbound.protection.outlook.com [104.47.57.170])
 by aserp3020.oracle.com with ESMTP id 38djf9xydf-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 11 May 2021 20:18:09 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=g0lrx8Aul7A0KHsNZtzJwleUsS9jMF90dhE3+epCT4tVE8xRvQQScKl4W3cKES7Qrx1bJSdF4WK4sdcw5K8QEsNPBcjgvT4KyvAf19inXQx2ovFZYxGutGuQUWIzEvSMEEQJZFOu4XnkiTVw49x7kAiZt3JiVBGWHX92XhVsVxUV3AckI0nTMdFcD955JpvMHRNJkTV6Fke0RrPj/79hN0pkCnc4L9cnR+Kulm9uT3uLNRY/qICoenzh6IIT/s0f9ZztMrTtQhBDXlLgFUmwwl6PLgiqrLb8zEReenUyP2UQ1FqtvAZini1CP4NkeiZiGRG0HKHeVNdlCQrhrB4gag==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Tv9r03H/r6nov0aB/JiVfLl9vhyWSbh3r79dt0pRVzk=;
 b=dQ1Mcr3eojnxKleJjnRoNy77MsmPvnTbZzz5LPIN7R9LMSndHyPSOc8HbksBlMrIDYRAy+6Wx9tWNAx5kox0e6A+AlAsPg1NDXE5uyWnyt3slO05xDZIdJCRmqhuH9Bs7AzP3ObTHy8uKMqcCOWT7+zUcwsNao+e8Wgz8vDUk6PT1juIFDCbznvFEX2mcgs0dXh/WZWYhfseBWe/z7IgLVRpq+GglTjR3fobVOteMge61G6wANUQwtDF0XDep54s7l9yoSO3gBr0eUD/48ch8tI4oYZOGyMBLjduGqUgNthGEltxsjhYhv7wCLnAQfpJTxNaLYIn7tbY2aTemaEA0A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Tv9r03H/r6nov0aB/JiVfLl9vhyWSbh3r79dt0pRVzk=;
 b=NC/8QeXg/JZzfOF0fvVqkdtYW+xO/Kmj3gCcigRPQqMKRNyzH6MQLqXYLRbofz6k3DI1ukWg/zVtJsZ7/IJwv8fvKTYSS5TE2YO1yaeb7lJzylONTLXqKbf4Fn0xMfPj6Jo03OZlwQQijAX8GTEFN+GmTI2c5OPtdy3gRNJ83ng=
Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15)
 by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Tue, 11 May
 2021 20:18:06 +0000
Received: from SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com
 ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4087.049; Tue, 11 May 2021
 20:18:06 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : Re: bug#12253: Restore window start position
Thread-Index: AQHXRpxG7aiNectovU6oQu4idXi0WaretZ7w
Date: Tue, 11 May 2021 20:18:06 +0000
Message-ID: <SA2PR10MB4474741F4499A7B8A8F52463F3539@HIDDEN>
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
 <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
 <875yzpxe5z.fsf@HIDDEN>
In-Reply-To: <875yzpxe5z.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: jurta.org; dkim=none (message not signed)
 header.d=none;jurta.org; dmarc=none action=none header.from=oracle.com;
x-originating-ip: [73.170.83.28]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ea31f867-7954-426a-5dde-08d914b9e36d
x-ms-traffictypediagnostic: SA2PR10MB4763:
x-microsoft-antispam-prvs: <SA2PR10MB4763D401DD285B87FB42FF58F3539@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: N1Q47Uc9Gv2PlzOSIbiLAKE7HfQhgr9P/oFLgCcXP4sDeQwSunBgK3z6xOrD3yGdrTjkZNtTAYpcJ2lVvNBPQ1wYh7L58CsXTcJzP7xmRPCLLu5NSSSAdyKhwTf7qzRrgiTqcgVsmMd/ul1rkoiXk6CERYBbf9jlerUkhdq/XbnY4+GsbpvAkjmaLCIZciO2Fa3NeFJg6IdPVtbI5ObFPUuaUxGNOhED2wd6CqDLdIHbxllTo23BYYB0osC7bQzwHBX2bRldrboL93qjoNifvGRXOdsuPgdWkbFHq5AFuvRg2NUcn4LNxlqJ/UOq+SnZM1GrUmmKylf38rRckkdAUyCTU5i1hNgc9LC4B9UXNbp06jcuQnduJ806gNVoNG6QNFDCvo7tUGp1V7S51KmX3qSI1AHJnfFhYYWCTsgdBBsEAfBCpwxObvNp6FyKjRYt3VOke6feIrXAYSgSTdXhOmyQLnSNfvT86C/kZtzRPLA1RcPIiYxj0RzcLDYqdoYgmha2v3t8tppCPE6D4zqJ8rHDQDsdJav1TvqmzZI01vxyPcUtTjM4jWcla4U5QKcS2dG8O2eTuU3uEm3xVMwSNvX+d7pqy2BrmiDd9+2Z3NQ=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(346002)(396003)(366004)(39860400002)(136003)(376002)(26005)(52536014)(71200400001)(7696005)(33656002)(44832011)(55016002)(38100700002)(122000001)(6916009)(9686003)(86362001)(186003)(64756008)(5660300002)(4326008)(83380400001)(66476007)(66946007)(76116006)(66556008)(2906002)(8676002)(316002)(8936002)(6506007)(478600001)(66446008);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: yt636oYaFH4bzJrON+M7Ra6ip6FE2UEy5nXRcVstBqhpv95+Es3TpWZJ+9rCwhVufkIJ6+jU/RNKdO/khiQ7isNfbZjeBLlxfE5/VVzmqCi06qkxeXMVSfk1jSUn6TlhqgFn+iNWQvL7NeWY0VA165OBd91vFM8ruU1gGM5IaPnHvnFDEqu7rX7wNc1Q8RjOKM8ysBz73u+B36T5sQpG4i8meFoWRIaw+WEYHKcpVwl42oDXxxDk2OtZarrjv89TUNSZbTGg9H0HK+eLxl3TwZGz6UFMzx18W0KZhtwptbtuIlRzRgVvIQuT+BpyV1bX5o+VMbJnIhhxS7K3MXu0aK2wdKtigtz3bk2JLIen0j5E1pPbT8gHgjBW/iu1RzI9s8P98ZzaKe+qlDCviTh6bZ6MC2DaWJiSIr1MAw9iguBscQ261jQo7AilOgyqX7PH5BTWPuGSZ7mNIN8Iasku9rzeSupz9vUmqEizuB43prlo8oUWFRwAvLfS8Pqzkm/c4ANLmW9FHn14Ci1CJ3ZDWVk2XlmxlFBJBpVwjtxu9dJqoYUG7UBSOh60QMFiF5DnKghBNcIMo3QeWmAHRxUa5O1IML56hW22wegxLixdRYS/M4Qo/F51elCXYQUMRJ8aKrjfkSEdnXMikOuJRnxAJGwnP+ugOEmCvG533gwWWL2KwafgvJEsfGRLntrz9TKVIWJ2v9uBi68MG8hvsImcWzmV6t5hvBMVJM3QVO0LuRVW/SI2fh0HaaMZiPNzcf1V/it17QtVpWZPkK/2e9YsLWKBGQrT0CDo0W+eDvIkrxcV7tYjIR5aBc3qwUHNRrQ9N2MHh7R4fmohTT/YxRJYPjHM3ZYiXE4ToB0cFNyse2d0H5e2hmT6MQwyUWOfAREtejpITOvMX+UaFNcSD9LHXM3fgwROtB+0wLPM4sA8k1VBkZw0BLUruw0/uPeApC1QKiKQ+PxAPJkFCd03/PnoKyehDB4lQrKl/nDucrV5O7DbC9WS7TrH5o6Z9ePe3dq2mApE+g+8zcHVksRziyr9koeoOtKVLZWsKJS+QBW/GlhShcQMZc9vcPX5dTvWp+TYxDFQvMq0J0li7Ebv2xw7lq96ChdMgkiuSUwAZ5dCPWhDxZhJSwdpXMu0EjmrYrWhqQhRm6pj6IHtqqCX4b9Tk5GsYMdoJKPnUgCBh1WP47qLoIKLf6HkV0kvBpff4kUBTRU9cfDAz+qejyzKyoE/oupjTeqN2mUmzzb/C5rdrgAbmSTZn6ZKi8r5CuF9UAZOVmF3Nam40jLt8y4deOSqjV7nTO4ABYDZRh9CJzlxG0+TG9pQ53foz8vVi+OSYbZn
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ea31f867-7954-426a-5dde-08d914b9e36d
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 20:18:06.5402 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ZmTEevWW60DmHKy4JPnEvgj03s9rflDcf9cT8YvmaNbmZKz/SNiWVjdAcRHg39oIebCep1LSSjTKJSYVJ4rDVg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 spamscore=0 mlxlogscore=999
 adultscore=0 phishscore=0 mlxscore=0 suspectscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2105110136
X-Proofpoint-GUID: 8hW98j-r2K8Jrlm96qkhpWez34VX9Zl9
X-Proofpoint-ORIG-GUID: 8hW98j-r2K8Jrlm96qkhpWez34VX9Zl9
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 mlxlogscore=999
 mlxscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0
 clxscore=1015 impostorscore=0 phishscore=0 malwarescore=0 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000
 definitions=main-2105110136
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> >> >> ping.
> >> >>
> >> >> Any special reason why the patch provided or some other fix has
> not
> >> >> yet been applied to fix this bug?  (Or has it been fixed and
> should
> >> >> thus be closed?)
> >> >
> >> > ping.  Still unaddressed, after 8 more years?
> >>
> >> Please concretize what is unaddressed.
> >
> > The questions posed are concrete.  What about the patch
> > I provided?  Or some other fix?  Or has it been fixed
> > and should be closed?
> >
> > If you feel that everything has been addressed, then
> > why not close the bug.  If not, then please "concretize
> > what is unaddressed".
>=20
> This is not helpful.  It was many years ago, and I don't remember the
> details.
> In bug#12253 there is a patch that restores the window position
> when navigating back in Info history.  I could try to rebase it
> if there is still an interest in such improvement.

(There are at least 4 patches in-line in the bug
report, and I submitted a 5th one.)

Either you feel the bug has been fixed, in which case
perhaps you'd like to close it.

Or you feel it hasn't been fixed.

In the latter case, how about the patch I sent to fix
it?  If you don't want to use it, maybe say why it
doesn't fix the bug; or why you prefer another solution
(if so, what?); or what part of the bug you feel would
still be unaddressed if it were applied.

(FWIW, I've used essentially the code in the patch I
sent, in isearch+.el, since 2013.)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: [External] : Re: bug#12253: Restore window start position
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 12 May 2021 08:48:02 +0000
Resent-Message-ID: <handler.12253.B12253.16208092596200 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Cc: "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.16208092596200
          (code B ref 12253); Wed, 12 May 2021 08:48:02 +0000
Received: (at 12253) by debbugs.gnu.org; 12 May 2021 08:47:39 +0000
Received: from localhost ([127.0.0.1]:38140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lgkWp-0001bv-4T
	for submit <at> debbugs.gnu.org; Wed, 12 May 2021 04:47:39 -0400
Received: from mout.gmx.net ([212.227.15.18]:50001)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1lgkWn-0001bf-4j
 for 12253 <at> debbugs.gnu.org; Wed, 12 May 2021 04:47:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1620809247;
 bh=uuMct3rq2qpt4cePqHVUda+aR3anYovKjQmu6+QpJ2I=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=E4Wc42dRvuqmrwq6O1oovuJOVsyLs5GCL6+7LkR2LEZAm2d08wSk3u9l3aZX1vCGm
 eKoET8kqhxikVhuvdxTuZogPQyXEk0SYJ0Z/EnMAwVrvCagZtSDmaon0McQpXrakSu
 GPgunOmji387iDGNoHTasCnpl7O+VlhXpxjeuhzU=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.100] ([46.125.249.51]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M4s0j-1lh1Eu2Dix-00229R; Wed, 12
 May 2021 10:47:27 +0200
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
 <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
 <875yzpxe5z.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <cf222561-b8dd-b780-e99f-347bfb18cc03@HIDDEN>
Date: Wed, 12 May 2021 10:47:26 +0200
MIME-Version: 1.0
In-Reply-To: <875yzpxe5z.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:qipbseCTb5PcWm+KDFELJSLV2pCGOsP2MD4yQzYg/GaQsxSFQwp
 Fhb0cEZffzaUxjH3Bmn1s4vQKmFJI7izddsEqjItCyv1u2xEJ8EfbKDO0cwjNPZAbKBbTw7
 nn3k57c/zrngaHoaYHscm0cYzO6xGXPo9I4UttVamhQNc7I479H9QaNLgKsPFjFaoKqk2eX
 anDEO5Q4OBUGIvEpxq0MQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:keJWbajw0Zk=:caPpr1+8/UaEzNiGEpsXs5
 eWVRHESRHD8Hi503GPSDhzkOBGefVlAbVxhfF3c5zqIAurADHzVA7BeLTZ93XQEPJqVA1cd/e
 IEX9xL0xFJgnhy4KCz7OiV3d7S+lQdCrKurp/SZhwnM8tEjvCQDm8eBEAolAfbvkQiuC4sW4w
 hmCqNE+q/2UTh3zM0BCj8lk7NDOlMinOFCwMPf+WIjS1UNDx4JTa/q/2D8TROD+9i9XWBOAjj
 fD978pGsaX17oC1JRFTkR041o9nd+XNM42CAhxOV/pOO8XHYnt+8v+I1lW8w/vSjzeV/tdKu8
 fCSGbOVCp6aoN6RllxATprBtOqT2ZgN+H8AIjn8Uajl/tqGMO6dD9BHulMf+ErdWtqsAUa16/
 NvXtOg36KIkUZPfunQbYjtqZ89QFBa0yAfrgXRwWzYTWozCNSFBroBoUQIHTWVYKcDshYDBS0
 w7n2O6Y4uCM8xYtxKnkTLFZ3FF6g5NaInG3HE+1ostux1PW1x2Nya4BqKrimqO+wCxjsPgE57
 zZ0NHLGPSVxVA14l2bvC7gX7OskvCUO7XEpUWnn4GS8CjzEq6nI9SVdp2IiBQc4csinjRLTY5
 0OlIqA2VhFEBwdZyw1RmmBo9XtmLYbyHkvxLmYycFPIswwrJXKXjTpmL2TV9d+esKZwboqCkl
 +SpKaJ+6ibRHmSPfuTtUn9yLSMUpey+ePnjh5J1zy+K8GdSda5hrPWoUW5BN81K8o/5YAh/SF
 /WzxcRPtzXw03kJOBtaU4YAw4pHMhd0trqi5a6Rz7KfAmrQ1EBSSp36WCjuxrdkQDVVYw9IPx
 V9OXDiKCvo3R0UpwBUO6KySYMqCn33zzfpj8iPTiXYhInd27LKfppu5ne+h2TI3btjee6jz7B
 KXg7cO/zcas4cIC4DG1bJZAEbCdSQjBUWUYYWoHRb5aTSyzGa+sRlIJ00FiHn65mwht6wCgE2
 KSQdrXOAwX35wGcDf98QOEgSCBH21V1H+gQJ9Uh/r6hscNCKXj0E6+/Ygn/qbvTnCc0z9VOPA
 CJx/7H2bj/u4pO1aAR2LWNB4kYjxKsO2t9yJEhtSKcfPHyqsMM8Gv3ZdfMEmW0MxE5VF9uMTR
 gcxpqBRgoSvz7T4xD30+6NpCx0kaW+hsQoiraz9wahJ8QVvcyAG2uS0QXxiTu1OmWUZw9nIJP
 Qgpgp84A5F/qCV6wGFc6joftLk98wfuaLPx80WIoAwA8YH8PGIuI5w7ANSoiUy4o2AdmY=
X-Spam-Score: 0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

 > This is not helpful.  It was many years ago, and I don't remember the details.
 > In bug#12253 there is a patch that restores the window position
 > when navigating back in Info history.  I could try to rebase it
 > if there is still an interest in such improvement.

I think you should try to do that.  Any sort of navigation should
restore window start and window point positions whenever possible.

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 10 Jan 2024 11:33:02 +0000
Resent-Message-ID: <handler.12253.B12253.170488633422803 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: Juri Linkov <juri@HIDDEN>, "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>, Drew Adams <drew.adams@HIDDEN>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.170488633422803
          (code B ref 12253); Wed, 10 Jan 2024 11:33:02 +0000
Received: (at 12253) by debbugs.gnu.org; 10 Jan 2024 11:32:14 +0000
Received: from localhost ([127.0.0.1]:42272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNWof-0005vi-Sv
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:32:14 -0500
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:42363)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1rNWod-0005vP-Ch
 for 12253 <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:32:11 -0500
Received: by mail-ed1-x533.google.com with SMTP id
 4fb4d7f45d1cf-557c188f313so4912585a12.1
 for <12253 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 03:32:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704886318; x=1705491118; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=6fJ/r7veaRP1IUwZevnGrH5SG4B9aHOSNLfspDmaeds=;
 b=f+x8+zzEDAe+KylFhMUHNnRFvFBBCYsPRLErNEjIx7hQ88ulh4LPCbYx7lKF0+yiDn
 2I6As42ArKEWSdQHAoTi52bB27ZzjxrPZEKO2oZTwfg0sp86hOywH4L0msvrtO27C849
 TRFDzgsnfdmYa44ahvLMaCPUcAj4+u5Iam40DvS/7SyXggSlebOjM/lU4YjHyfD1bs1t
 zuLTHHvJdf6eRLECEBID8zXXp7qA32OYX2mCyayVEo0FCGhNf5um2k3n68pBGiPf4RWr
 J58D9yUpdnqQ4WAg1Bv26mWhxPy0zByTGGTOwptMxow8zw9zBx8BwFpPVkCXkE7eVeEa
 ratg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704886318; x=1705491118;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=6fJ/r7veaRP1IUwZevnGrH5SG4B9aHOSNLfspDmaeds=;
 b=YzucRuNE4zkSRCFgqISCse2DLdc976aUEkzoTLwGZQpmjBuSjE25lS1cW3mQWPdD6y
 z3OM//dhsJDDvZy/S4MJHMFr3TwAnpvhQxWfF9zaVZqoyKsaV65biS5KOAzFaQcKjIw7
 mSCMTDzKzRO8pdLQIlDjDBj2sfsdJfryqoKWikPCEyFgo3GiniuW72nf1brSRhgFuoND
 8OEu2/5w5LAurKfIfyHSFYppXp4hZ1dg64bmnDV5JKazg1e5wIK1HiEM5YjzE8Ve8oGq
 6SylP18NlLzYFStRYIKLM1GFoFwmqBv4T9Gpwdo8TBz8OPEW+ZmyjyuEeiwb6fSohDze
 t99w==
X-Gm-Message-State: AOJu0Yw2t1AAOS4Uggj5pEesSjV1X1sxIItryYHXHEcaI1vbShEWu7is
 +/6IQ7dFdw7SsRG0IyzaDkG/0+NUwSWMZXsqklA=
X-Google-Smtp-Source: AGHT+IGqfAKKbVIubwt4ru8PG3/6A0L16PyDiFSiZC1YA1sJFH0ix6LZI6GeZPpeB+Yc3sQARC42tMwwmbk6A85hgbQ=
X-Received: by 2002:a50:aa9e:0:b0:557:7037:1a41 with SMTP id
 q30-20020a50aa9e000000b0055770371a41mr609156edc.25.1704886318013; Wed, 10 Jan
 2024 03:31:58 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 10 Jan 2024 03:31:57 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <cf222561-b8dd-b780-e99f-347bfb18cc03@HIDDEN> (martin rudalics's
 message of "Wed, 12 May 2021 10:47:26 +0200")
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN>
 <50374D30.7090401@HIDDEN> <8762874wyk.fsf@HIDDEN>
 <5038D5CA.5000502@HIDDEN> <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
 <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
 <875yzpxe5z.fsf@HIDDEN> <cf222561-b8dd-b780-e99f-347bfb18cc03@HIDDEN>
MIME-Version: 1.0
Date: Wed, 10 Jan 2024 03:31:57 -0800
Message-ID: <CADwFkmkD6EBqy3K5v_mHHaA8ae1MOr5e_gMUhJdgbk5pdqUdLQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

martin rudalics <rudalics@HIDDEN> writes:

>> This is not helpful.  It was many years ago, and I don't remember the details.
>> In bug#12253 there is a patch that restores the window position
>> when navigating back in Info history.  I could try to rebase it
>> if there is still an interest in such improvement.
>
> I think you should try to do that.  Any sort of navigation should
> restore window start and window point positions whenever possible.

Did you make any progress with this?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12253: Restore window start position
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 10 Jan 2024 17:22:01 +0000
Resent-Message-ID: <handler.12253.B12253.170490731518815 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 12253
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: martin rudalics <rudalics@HIDDEN>, "12253 <at> debbugs.gnu.org" <12253 <at> debbugs.gnu.org>, Drew Adams <drew.adams@HIDDEN>
Received: via spool by 12253-submit <at> debbugs.gnu.org id=B12253.170490731518815
          (code B ref 12253); Wed, 10 Jan 2024 17:22:01 +0000
Received: (at 12253) by debbugs.gnu.org; 10 Jan 2024 17:21:55 +0000
Received: from localhost ([127.0.0.1]:42724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNcH5-0004tO-0X
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:21:55 -0500
Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:54251)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rNcH1-0004sc-LY
 for 12253 <at> debbugs.gnu.org; Wed, 10 Jan 2024 12:21:52 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id D5463240005;
 Wed, 10 Jan 2024 17:21:44 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <CADwFkmkD6EBqy3K5v_mHHaA8ae1MOr5e_gMUhJdgbk5pdqUdLQ@HIDDEN>
 (Stefan Kangas's message of "Wed, 10 Jan 2024 03:31:57 -0800")
Organization: LINKOV.NET
References: <878vd7vqji.fsf@HIDDEN> <50348568.5060401@HIDDEN>
 <87haru8rxr.fsf@HIDDEN> <5035EE75.9090809@HIDDEN>
 <877gsp9sl2.fsf@HIDDEN> <50374D30.7090401@HIDDEN>
 <8762874wyk.fsf@HIDDEN> <5038D5CA.5000502@HIDDEN>
 <87r4qun7u1.fsf@HIDDEN>
 <FAD5C9CE56B7466884A68C3BF3DAC5C0@HIDDEN>
 <F004277948C24BF09C55749DFDBE40FF@HIDDEN>
 <87ehhh5vi2.fsf@HIDDEN>
 <62C3A8ED121246BE8FE62D0D90CF949D@HIDDEN>
 <C3F5ABE225984B47BFBDFF3509DCEAEF@HIDDEN>
 <SA2PR10MB4474EF0CBFF2E9B1A2719FEAF3539@HIDDEN>
 <87tun9xjrz.fsf@HIDDEN>
 <SA2PR10MB44744D7D853FA67EE7711181F3539@HIDDEN>
 <875yzpxe5z.fsf@HIDDEN>
 <cf222561-b8dd-b780-e99f-347bfb18cc03@HIDDEN>
 <CADwFkmkD6EBqy3K5v_mHHaA8ae1MOr5e_gMUhJdgbk5pdqUdLQ@HIDDEN>
Date: Wed, 10 Jan 2024 19:16:43 +0200
Message-ID: <86y1cxp1hg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

>>> This is not helpful.  It was many years ago, and I don't remember the details.
>>> In bug#12253 there is a patch that restores the window position
>>> when navigating back in Info history.  I could try to rebase it
>>> if there is still an interest in such improvement.
>>
>> I think you should try to do that.  Any sort of navigation should
>> restore window start and window point positions whenever possible.
>
> Did you make any progress with this?

With Info history or with Isearch history?

Here is how to restore the window position
when navigating back in Isearch history:

#+begin_src emacs-lisp
(setq isearch-push-state-function
      (lambda ()
        ;; Recenter new search hits outside of window boundaries
        (when (and isearch-success
                   (not (pos-visible-in-window-p)))
	  (recenter))
        `(lambda (cmd)
           (when isearch-success
             (set-window-start nil ,(window-start))))))
#+end_src





Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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