From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Use elisp--xref-backend in *Apropos* and *Help* (Was Re: [ELPA] New package: transient) Date: Sun, 3 May 2020 05:08:34 +0300 Message-ID: References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> <83r1w2u20y.fsf@gnu.org> <83lfmatym6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="14264"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 04:09:10 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 1jV445-0003cs-PE for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 04:09:09 +0200 Original-Received: from localhost ([::1]:32922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV444-0001J3-SC for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 22:09:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV43c-0000uH-28 for emacs-devel@gnu.org; Sat, 02 May 2020 22:08:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV43b-0006Ci-Gy for emacs-devel@gnu.org; Sat, 02 May 2020 22:08:39 -0400 Original-Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:34182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV43b-00060p-4l for emacs-devel@gnu.org; Sat, 02 May 2020 22:08:39 -0400 Original-Received: by mail-wr1-x441.google.com with SMTP id j1so16701834wrt.1 for ; Sat, 02 May 2020 19:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wCVqg4GLFNrbrZNdinEqH3em7iJAzXD3YeLbnxft4Mk=; b=NI7Z8xh82TCg68N67wxI7UiIoyIX1bFuTJJh6c+RJEt8mQPuiI1/mmCzldeNlpL9Ey GBmqP23vocb48+5okgbQzrCCpuyLSfV4FE/MMcBFrtDk8wGI6md6hZ1c1JlxhNSkCTtD bZvKF5VaUEKMLjrOnfXW32WoA5JX7HYw/aQCVlVm4VsftyQ0q1ViTAP/wP5jvwc9v1rV JQysLquOqyH7dOokU86ryusZrH91kaG83IPzPpLgtpGSTKCEAPs7P0E6AUHpiGdHE/yC Y5HYjiVjOEE/S+EJVMDziCFXHvKp1MWT1GXkIT7rNEa/usZXWVGEFx+MWH4+XBvgt05H y9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wCVqg4GLFNrbrZNdinEqH3em7iJAzXD3YeLbnxft4Mk=; b=TpexQubPmDvsPLZjBRgNkfc2udm3KhoCZXDwSAuqRoG1cqsgWw//0mEfT8A0uOZps7 0+u656iiBRDcSg1kXYW4HIV2664dq/7KWGJ/7TQGi0GfqoHgv01uPwn6A0Y7RUUQJ4eW zwJmjyxeG/OGViKwWZJRibaTabmTgd92AdS4yEMTeLJhPR1fWKpsTeSMVW+Yclm9geAT ymkIj/lhGX3mVAT8cI7gja6OCh2xDH8kgOrqZ0rts2mA5+/bJWqtDXgqDgcUylwloKKe yXXithidrH/NqClZ+dxL+8T2SO9zOMcDt29QIY7IV7GifU9pNUyBePFh6Fsbum8tHpI4 qMog== X-Gm-Message-State: AGi0PuYnZ6Xwu9pQxat7h/EioT8BTCo7P4mjUhTGwqZVT4Zt99eYbR0m xP3atsCWJLALWbLa8UJ3OelxiyAcJPs= X-Google-Smtp-Source: APiQypL1XYFA19H56Z+u2SREVGwdvGoO624v+JL8JMUrBtflXZKBfJrCABJv4E67kCZYeGYj3cwL2Q== X-Received: by 2002:a5d:5745:: with SMTP id q5mr12674627wrw.351.1588471716992; Sat, 02 May 2020 19:08:36 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id s11sm12108452wrp.79.2020.05.02.19.08.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 May 2020 19:08:36 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=raaahh@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::441 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:248610 Archived-At: On 02.05.2020 14:09, João Távora wrote: > Since we're on the subject of Elisp development help, can we restart the > discussion on how to get the `elisp--xref-backend` activated in *Apropos* > and help? The default `etags--xref-backend` isn't very useful there. Plus, > when one is used to M-. and M-, it's a little strange to have to switch to C-h o > to follow the very commonly occurring references to symbols. > > I recall correctly, we had already settles that it's a decently good idea, > but we ran into some loading precedence problem and the effort stalled. > Is that the right recollection? It doesn't seem to make a lot of sense, > since all we apparently need is `add-hook`. I suggest you go ahead and try. > Anyway, it can be argued that `elisp--xref-backend` isn't the _best_ choice > for those buffers, and that we should be taking the user to say, the manual > when searching from those places. Or maybe, the `elisp--xref-backend` could > also collect matches from the manual, why not? The manual? Probably not. M-. is supposed to take the user to the symbol's definition, isn't it? And definitions are in source code.