From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Info breadcrumbs line (was: Info-use-header-line) Date: Sat, 18 Oct 2008 20:32:36 +0300 Organization: JURTA Message-ID: <874p39vmff.fsf@jurta.org> References: <43E8C5E2-5B3B-409F-8455-3C0D1DDCFA7B@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224351640 5128 80.91.229.12 (18 Oct 2008 17:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 17:40:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 18 19:41:44 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrFo6-0004BX-Lx for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2008 19:41:42 +0200 Original-Received: from localhost ([127.0.0.1]:51815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrFn1-0008J7-MH for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2008 13:40:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrFmw-0008Ik-Jt for emacs-devel@gnu.org; Sat, 18 Oct 2008 13:40:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrFmv-0008IY-Sk for emacs-devel@gnu.org; Sat, 18 Oct 2008 13:40:30 -0400 Original-Received: from [199.232.76.173] (port=38463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrFmv-0008IV-PY for emacs-devel@gnu.org; Sat, 18 Oct 2008 13:40:29 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]:4467) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrFmv-00039H-2w for emacs-devel@gnu.org; Sat, 18 Oct 2008 13:40:29 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KrFms-000DfG-Cl for emacs-devel@gnu.org; Sat, 18 Oct 2008 20:40:26 +0300 In-Reply-To: <43E8C5E2-5B3B-409F-8455-3C0D1DDCFA7B@gmail.com> (David Reitter's message of "Fri, 17 Oct 2008 22:50:15 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 4fe2b897d4d72954524b6b73d18f8617 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5422 [Oct 16 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104597 Archived-At: There is one backward incompatible UI change caused by implementing Info breadcrumbs. In older Emacs Info versions after visiting an Info node with menu items or cross-references, typing the first TAB moved point to the first menu item or cross-reference. But now the first TAB moves point to a link in the breadcrumbs line. It is very inconvenient to type several TABs to skip links in the breadcrumbs line before starting to navigate links in the body of the Info node. When there is a need to go to the first link in the Info node, I quickly type `TAB RET', but after recent changes it goes to the Top node. This is very confusing. I think we should restore the old behavior by putting point on the next line after the breadcrumbs line initially, so the first TAB key will go to the first menu item or cross-reference in the node body. Then a key to move point in the breadcrumbs line will be `backtab' (with additional mnemonics of going backward in the Info hierarchy) where every backtab will put point on the next parent node name in the breadcrumbs line, so this is a good thing too. And it is also good to keep point on the same empty line before the first Info header even when there is no breadcrumbs line. Index: lisp/info.el =================================================================== RCS file: /sources/emacs/emacs/lisp/info.el,v retrieving revision 1.546 diff -u -r1.546 info.el --- lisp/info.el 10 Oct 2008 13:47:17 -0000 1.546 +++ lisp/info.el 18 Oct 2008 17:29:30 -0000 @@ -966,6 +966,10 @@ (Info-select-node) (goto-char (point-min)) + (forward-line 1) ; skip header line + (when (> Info-breadcrumbs-depth 0) ; skip breadcrumbs line + (forward-line 1)) + (cond (anchorpos (let ((new-history (list Info-current-file (substring-no-properties nodename)))) -- Juri Linkov http://www.jurta.org/emacs/