From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12253: Restore window start position Date: Wed, 22 Aug 2012 09:08:24 +0200 Message-ID: <50348568.5060401@gmx.at> References: <878vd7vqji.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345619326 14379 80.91.229.3 (22 Aug 2012 07:08:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 07:08:46 +0000 (UTC) Cc: 12253@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 09:08:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T453W-0005p1-Ar for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 09:08:46 +0200 Original-Received: from localhost ([::1]:42353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T453S-0006YS-7I for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 03:08:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T453Q-0006YM-3G for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2012 03:08:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T453P-0001qF-6C for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2012 03:08:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T453P-0001qB-2R for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2012 03:08:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T453l-0006bI-Tu for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2012 03:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Aug 2012 07:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12253 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12253-submit@debbugs.gnu.org id=B12253.134561933325353 (code B ref 12253); Wed, 22 Aug 2012 07:09:01 +0000 Original-Received: (at 12253) by debbugs.gnu.org; 22 Aug 2012 07:08:53 +0000 Original-Received: from localhost ([127.0.0.1]:42552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T453d-0006ar-2H for submit@debbugs.gnu.org; Wed, 22 Aug 2012 03:08:53 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:41440) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1T453a-0006ak-Ux for 12253@debbugs.gnu.org; Wed, 22 Aug 2012 03:08:51 -0400 Original-Received: (qmail invoked by alias); 22 Aug 2012 07:08:26 -0000 Original-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 In-Reply-To: <878vd7vqji.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63382 Archived-At: > 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