From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.devel Subject: Re: xref backends for elisp-related modes Was: Re: Bad moves with xref-find-definitions Date: Tue, 28 Apr 2015 13:06:41 +0200 Message-ID: <87383kcy0u.fsf@gmail.com> References: <87h9s6c27z.fsf@gmail.com> <87zj5wnlyt.fsf@gmail.com> <553C285B.4070400@yandex.ru> <838udfx7rt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430219253 5327 80.91.229.3 (28 Apr 2015 11:07:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 11:07:33 +0000 (UTC) Cc: dgutov@yandex.ru, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 28 13:07:27 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Yn3MA-0007U1-H5 for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2015 13:07:14 +0200 Original-Received: from localhost ([::1]:60487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn3M9-0004ST-66 for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2015 07:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn3Lk-0004Rn-OF for emacs-devel@gnu.org; Tue, 28 Apr 2015 07:06:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn3Lj-00045x-S4 for emacs-devel@gnu.org; Tue, 28 Apr 2015 07:06:48 -0400 Original-Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:36662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn3Lf-000450-Or; Tue, 28 Apr 2015 07:06:43 -0400 Original-Received: by wgen6 with SMTP id n6so146949741wge.3; Tue, 28 Apr 2015 04:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=iqXt5CeNtxeobWnkQHHbi8ulynAMBIUm1waVl2YCbHw=; b=z9WaedbPyKS9IRmanNga2flt8ci+eBZOopME9RJqML5WPpcIe4TymJkIl7ThWxyydk hqs8alO77Nqp0JWxsZvrXjTUvx4lDQoVJJXzMSkm5HZ4Of9GZIk+YMbvFRmz45mBJ7nX VWrLb4VVSt+Tpmy44KJ0mhXlXcFQqYP6jEDjrP0PPPfYTY/tJixXfXQnrkzjkHffBytI OaNOCGGpvDMqLxd6zRg3/5ABA2s4IqWeGkE9C8juUfv8OU14aHfTgWpXC6he93zHannb BNLZOjH4DTJiwNli09207E99Uk0F1L/uub6ouhoCVT5+WtMaDKwwge4gvhAXmtXTjNTj pI4g== X-Received: by 10.180.104.225 with SMTP id gh1mr28454462wib.65.1430219202473; Tue, 28 Apr 2015 04:06:42 -0700 (PDT) Original-Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id mc20sm15849661wic.15.2015.04.28.04.06.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2015 04:06:41 -0700 (PDT) In-Reply-To: <838udfx7rt.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Apr 2015 17:51:18 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185953 Archived-At: >>> Eli Zaretskii on Sun, 26 Apr 2015 17:51:18 +0300 wrote: > Beware: quite a few commands pop up *Help* buffers whose contents have > nothing to do with Lisp. Some examples: > . C-u C-x = > . C-h C-\ > . M-x describe-current-coding-system RET > etc. It's because help-mode is not specialized enough. I think there should be `elisp-help-mode`, `describe-help-mode` etc. which are derived from `help-mode`. Maybe obvious, but this struggle with the choice of the default backend wouldn't be there if xref was able to merge backends. (FWIW, I would also like to have elisp xref in info mode.) Vitalie