From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Info viewer: Links to symbol documentation Date: Sat, 25 Apr 2020 09:02:19 -0400 Message-ID: References: <861rogmv4y.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="57683"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "H. Dieter Wilhelm" , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 25 15:04:23 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSKTm-000EtW-GV for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Apr 2020 15:04:22 +0200 Original-Received: from localhost ([::1]:36636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSKTl-0001lA-F4 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Apr 2020 09:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50684) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSKRx-0008Fn-Ug for emacs-devel@gnu.org; Sat, 25 Apr 2020 09:02:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSKRx-0006Z2-1K for emacs-devel@gnu.org; Sat, 25 Apr 2020 09:02:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSKRw-0006Yr-I5 for emacs-devel@gnu.org; Sat, 25 Apr 2020 09:02:28 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 42D2B4505A2; Sat, 25 Apr 2020 09:02:27 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1D5E6450589; Sat, 25 Apr 2020 09:02:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587819746; bh=VBB/zy5FklHlFen8I2sr39UdHoP89b8CSfUR5+E7sq0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=N5TrkzJBfRYgY6ujNxHKWKp568iT+U3XE3Zh8sG7dE5bamoVbFoTkWRBveTz79q6L jmH37+PEDDd/K4ZkWZ/znrZ7tv4ejc7QuGIxfqFFRLF4GauZZrq+yu6b3nOhNvw68Z Fg0kUcLOrhS29gsWE6RH92bH7xaZrzb5tWUwaR70Fx4hX/hS21tt/KQ/QuY/SPMRfQ cv6yTp/FiCflWo7lAfDQdDuPkbuIBUkZ3WZrECRkc4X/G4xXkcgZsPHni2rQZVLViV /tSsnmLxc5JjVlP6y3f9DHH39XbCrIB0gv6cKZOURsl2HWocQnxki9yEai4cdTCy4J fTUxLHySk7CXw== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DF4BB120372; Sat, 25 Apr 2020 09:02:25 -0400 (EDT) In-Reply-To: (Stefan Kangas's message of "Sat, 25 Apr 2020 14:22:48 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/25 07:51:48 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247773 Archived-At: > One could perhaps create a new defvar with a list of manuals for which > to enable this, and disable it in all other cases. Short of finding it out automatically, that's probably what we'd need to do, yes. > Perhaps more elegantly, one could add links only when there is > a corresponding symbol in the obarray. That will suffer from false positives. Also for non-Emacs documentation, we could also add links but to the relevant part of the manual. Stefan