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: Fri, 24 Aug 2012 11:45:20 +0200 Message-ID: <50374D30.7090401@gmx.at> References: <878vd7vqji.fsf@mail.jurta.org> <50348568.5060401@gmx.at> <87haru8rxr.fsf@mail.jurta.org> <5035EE75.9090809@gmx.at> <877gsp9sl2.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 1345801596 26570 80.91.229.3 (24 Aug 2012 09:46:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 09:46:36 +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 Fri Aug 24 11:46:36 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 1T4qTL-00053g-9b for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2012 11:46:35 +0200 Original-Received: from localhost ([::1]:57326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4qTJ-0007Dl-NF for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2012 05:46:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4qTH-0007Dd-8P for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 05:46:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4qTD-0001l0-A8 for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 05:46:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4qTD-0001ke-5r for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 05:46:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4qTm-0003Tu-0b for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 05:47:02 -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: Fri, 24 Aug 2012 09:47: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.134580156413311 (code B ref 12253); Fri, 24 Aug 2012 09:47:01 +0000 Original-Received: (at 12253) by debbugs.gnu.org; 24 Aug 2012 09:46:04 +0000 Original-Received: from localhost ([127.0.0.1]:46336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4qSq-0003Sd-Cf for submit@debbugs.gnu.org; Fri, 24 Aug 2012 05:46:04 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:35430) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1T4qSo-0003SH-7t for 12253@debbugs.gnu.org; Fri, 24 Aug 2012 05:46:02 -0400 Original-Received: (qmail invoked by alias); 24 Aug 2012 09:45:26 -0000 Original-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 In-Reply-To: <877gsp9sl2.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:63449 Archived-At: > 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