From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.bugs Subject: bug#13190: [PATCH] Help xref truncates info navigation stack, and displays info in too many windows Date: Sat, 15 Dec 2012 03:17:14 -0800 (PST) Message-ID: <1355570234.63728.YahooMailClassic@web141102.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-2140344373-774861536-1355570234=:63728" X-Trace: ger.gmane.org 1355570293 10196 80.91.229.3 (15 Dec 2012 11:18:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Dec 2012 11:18:13 +0000 (UTC) To: 13190@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 15 12:18:27 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 1Tjpl7-00048M-JR for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Dec 2012 12:18:21 +0100 Original-Received: from localhost ([::1]:59215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjpku-0005D3-49 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Dec 2012 06:18:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjpko-0005Cd-Vi for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:18:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tjpkl-0005DJ-UP for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:18:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjpkl-0005DB-QZ for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:17:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tjplm-0000nX-D9 for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kelly Dean Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Dec 2012 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13555703133027 (code B ref -1); Sat, 15 Dec 2012 11:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2012 11:18:33 +0000 Original-Received: from localhost ([127.0.0.1]:43380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjplH-0000ml-Ir for submit@debbugs.gnu.org; Sat, 15 Dec 2012 06:18:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54050) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjplE-0000mb-M0 for submit@debbugs.gnu.org; Sat, 15 Dec 2012 06:18:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjpkA-00058r-Li for submit@debbugs.gnu.org; Sat, 15 Dec 2012 06:17:25 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:40502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjpkA-00058n-J3 for submit@debbugs.gnu.org; Sat, 15 Dec 2012 06:17:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjpk7-00059S-4z for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:17:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tjpk3-00057f-Qi for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:17:19 -0500 Original-Received: from nm20.bullet.mail.bf1.yahoo.com ([98.139.212.179]:27373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjpk3-00057b-KS for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 06:17:15 -0500 Original-Received: from [98.139.212.152] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 15 Dec 2012 11:17:15 -0000 Original-Received: from [98.139.212.251] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 15 Dec 2012 11:17:15 -0000 Original-Received: from [127.0.0.1] by omp1060.mail.bf1.yahoo.com with NNFMP; 15 Dec 2012 11:17:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 62417.32943.bm@omp1060.mail.bf1.yahoo.com Original-Received: (qmail 64329 invoked by uid 60001); 15 Dec 2012 11:17:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355570234; bh=79xkMJFjlLYZ01uEka5Yi0dA6xDb/gpYYeGLBmVR72c=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=n/B229rqsUQTQCy1Y4/xl19f7Mc4pHRt8d+HbyUjbVlMesdwRAxmabSwpudIiJD4ecQ1vU43/ug7dvOQMYxN26pPbXF8PuLPsee9Veyk5UO85A+cx9JscxQUQBE6c3HNDzM3xiBOS+MXiFWznhpl5qioJqP3TBhYcIPb8TVUJlI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=yGQi5DFnx5EemDYI7kSrkfD2uM62gY7AwT/zT8s1IlYJK/RpqgxuTpY/3hUsEEUQezjDAsFGIiotCwADzaouJqs2g5hhN3cVVMduhwqn8FJKozsnmp8EFqImCncQa4a7I0iTnEpYX1S2sTWsaqNGLIF1pvauUi+MZ8iHdtHirik=; X-YMail-OSG: MM3c69gVM1mCJQtMPuKmTP3QvFOk9Ol67XJxFNN3E4oi2ZL Pg_nZeLaF61QLNjE01LJg Original-Received: from [216.17.107.175] by web141102.mail.bf1.yahoo.com via HTTP; Sat, 15 Dec 2012 03:17:14 PST X-Rocket-MIMEInfo: 001.001, T24gMjQuMiwgZW1hY3MgLVEKTS14IHNwbGl0LXdpbmRvdyBDLWggcgpGb2xsb3cgYW55IGxpbmssIHRoZW4gZm9sbG93IGFub3RoZXIgb25lLCB0aGVuIGRvIEluZm8taGlzdG9yeS1iYWNrIHR3aWNlLiBUaGVuIHlvdSBjb3VsZCByZXR1cm4gdG8gdGhlIG90aGVyIG5vZGVzIGFnYWluIHVzaW5nIEluZm8taGlzdG9yeS1mb3J3YXJkLCBidXQgZG9uJ3QgZG8gdGhhdCB5ZXQuCkRvIEMtaCBmIHZpc2l0ZWQtZmlsZS1tb2R0aW1lIFJFVCwgdGhlbiBjbGljayB0aGUgbGluayBpbiB0aGUgaGVscCBwYWdlIGZvciABMAEBAQE- X-Mailer: YahooMailClassic/15.1.1 YahooMailWebService/0.8.128.478 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.x 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:68544 Archived-At: ---2140344373-774861536-1355570234=:63728 Content-Type: text/plain; charset=us-ascii On 24.2, emacs -Q M-x split-window C-h r Follow any link, then follow another one, then do Info-history-back twice. Then you could return to the other nodes again using Info-history-forward, but don't do that yet. Do C-h f visited-file-modtime RET, then click the link in the help page for the info node. Two problems: it opens the info page in both windows, and it truncates the navigation stack, so Info-history-forward won't return you to the other nodes you were visiting. You can still use Info-history to see the nodes you were visiting, but it's distracting to have to do that. The attached helpinfobug.patch fixes both problems by creating a new info buffer rather than reusing an existing one. I think this is the simplest solution, though maybe it'd be better to search all info buffers for one which is already displaying the target node, and switch to one if found, so if you repeatedly follow the same info link from a help page, you'll get no more than one new info buffer, rather than multiple new ones. ---2140344373-774861536-1355570234=:63728 Content-Type: text/x-diff; name="helpinfobug.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="helpinfobug.patch" LS0tIGVtYWNzLTI0LjIvbGlzcC9oZWxwLW1vZGUuZWwJMjAxMi0wOC0yMyAx NDozMzo0Mi4wMDAwMDAwMDAgKzA5MDAKKysrIGVtYWNzLTI0LjIvbGlzcC9o ZWxwLW1vZGUuZWwubmV3MwkyMDEyLTEyLTE1IDE5OjUyOjI1LjkwNzExMzQx OSArMDkwMApAQCAtNzMzLDcgKzczMyw4IEBACiBhIHByb3BlciBbYmFja10g YnV0dG9uLiIKICAgOzsgVGhlcmUgaXMgYSByZWZlcmVuY2UgYXQgcG9pbnQu ICBGb2xsb3cgaXQuCiAgIChsZXQgKChoZWxwLXhyZWYtZm9sbG93aW5nIHQp KQotICAgIChhcHBseSBmdW5jdGlvbiBhcmdzKSkpCisgICAgKGFwcGx5IGZ1 bmN0aW9uIChpZiAoZXEgZnVuY3Rpb24gJ2luZm8pCisJCQkoYXBwZW5kIGFy Z3MgKGxpc3QgKGdlbmVyYXRlLW5ldy1idWZmZXItbmFtZSAiKmluZm8qIikp KSBhcmdzKSkpKQogCiA7OyBUaGUgZG9jIHN0cmluZyBpcyBtZWFudCB0byBl eHBsYWluIHdoYXQgYnV0dG9ucyBkby4KIChkZWZ1biBoZWxwLWZvbGxvdy1t b3VzZSAoKQo= ---2140344373-774861536-1355570234=:63728--