From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Javier Newsgroups: gmane.emacs.help Subject: Re: Emacs info browser Date: Tue, 8 Mar 2016 16:05:11 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457453430 29247 80.91.229.3 (8 Mar 2016 16:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 16:10:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 17:10:30 2016 Return-path: Envelope-to: geh-help-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 1adKDG-0000xN-CJ for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 17:10:22 +0100 Original-Received: from localhost ([::1]:35558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adKDF-0000Kr-Of for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 11:10:21 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!feeder1-2.proxad.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: NpGanX2njae9ZwyoZgDYiQ.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:217224 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109517 Archived-At: > I am using emacs info browser a lot and there is an "issue" bugging me. > Whenever there is a link in an info page like for example in this text from > a python related info page: > > The usability of the *note email: 66. package in Python 3 has been > mostly fixed by the extensive efforts of R. David Murray. The problem > > The part "*note email: 66" is actually a link and displayed as "see email" > where email is underlined and I can press enter on "see" or "email" to > follow this link. > > The "see" actually disturbs my reading because it renders the grammer > incorrect. Its really not a big deal but still annoying. If email is > underlined and it means that this is a link its fine for me... No need for > additional "see". > > Question is: Is this configurable? Can i get rid of this? (setq Info-hide-note-references 'hide) This gives some recipe if you want to make this option specific for info files generated by sphinx (documentation of python projects). But this for me doesn't work as I'm trying now. http://svn.python.org/projects/external/Sphinx-1.2/doc/faq.rst (defadvice info-insert-file-contents (after sphinx-info-insert-file-contents activate) "Hack to make `Info-hide-note-references' buffer-local and automatically set to `hide' iff it can be determined that this file was created from a Texinfo file generated by Docutils or Sphinx." (set (make-local-variable 'Info-hide-note-references) (default-value 'Info-hide-note-references)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (when (re-search-forward "^Generated by \\(Sphinx\\|Docutils\\)" (save-excursion (search-forward "\x1f" nil t)) t) (set (make-local-variable 'Info-hide-note-references) 'hide)))))