From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Info viewer: Links to symbol documentation Date: Sat, 25 Apr 2020 14:22:48 +0200 Message-ID: References: <861rogmv4y.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21479"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "H. Dieter Wilhelm" , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 25 14:23:46 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 1jSJqT-0005US-U2 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Apr 2020 14:23:45 +0200 Original-Received: from localhost ([::1]:36090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSJqS-0006NG-TE for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Apr 2020 08:23:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39686) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSJpm-0005nq-Ty for emacs-devel@gnu.org; Sat, 25 Apr 2020 08:23:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSJpm-0003zO-Ez for emacs-devel@gnu.org; Sat, 25 Apr 2020 08:23:02 -0400 Original-Received: from mail-yb1-f176.google.com ([209.85.219.176]:39282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSJpm-0003xG-1w for emacs-devel@gnu.org; Sat, 25 Apr 2020 08:23:02 -0400 Original-Received: by mail-yb1-f176.google.com with SMTP id d197so2201567ybh.6 for ; Sat, 25 Apr 2020 05:23:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ahf7w8odFfdbWptu2HnXFSmlzq9HXeUPEK0n6IcXrps=; b=r25uLfD4dk7h1zDxoeWRWZ7nm6/9itznnoDylcz+fBMa0h5iwsLiMwzvCBjvYnYY4X 4QZ88xeKf42Ia1VHpmE1seNp8iZFYz4Wk2uqt3Nqn91IBr85j2l7Otj8I8F9d8G53ofC l2CCp/027IaMaLRtKKMEGxypVkOKrORN3fH9B/CMeTJDEkbzhNppGwvJBIVD5C4iYrJK 0WSSQ7YNO3nvdRq10DuYw+aoUcFEUDEgzVvlRxcb/Ugk451mgBmuHfeALu2q7x/rdiQx el/umxbDeg8zcsQLI3v9ac7vy6GvV1Nf832B5UNTbuFUgMms20fiN0C89LRra4FhQSED 1l2A== X-Gm-Message-State: AGi0PubWCn1RzkzLdYgIjQCVJOOhmu7j1Bu2f4Xx/mVbc0DYUibsj/9v /24D7+xIsu9AJBs8lURQzvMEbTb1WEJamjlY2cc= X-Google-Smtp-Source: APiQypI9KrZCFw5jnt5ykZhQlwJTs/iV8xglkfCTSuXooCydigp3KENvSrL4uNwp0v0QgHsddIXdo7dE62Po1VvoAQk= X-Received: by 2002:a25:e907:: with SMTP id n7mr21982808ybd.85.1587817380049; Sat, 25 Apr 2020 05:23:00 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.219.176; envelope-from=stefankangas@gmail.com; helo=mail-yb1-f176.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/25 08:23:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.219.176 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:247769 Archived-At: Stefan Monnier writes: > AFAIK your code adds links to `describe-` commands, basically. > This is great for Emacs documentation, but not for all the Info pages > that document non-Emacs packages (Make, glibc, LaTeX, you name it). > > Not sure how to distinguish those two different cases. One could perhaps create a new defvar with a list of manuals for which to enable this, and disable it in all other cases. Perhaps more elegantly, one could add links only when there is a corresponding symbol in the obarray. Just two ideas. Best regards, Stefan Kangas