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: Bad moves with xref-find-definitions Date: Sun, 26 Apr 2015 12:44:38 +0200 Message-ID: <874mo3np7t.fsf@gmail.com> References: <87h9s6c27z.fsf@gmail.com> <87zj5wnlyt.fsf@gmail.com> <553BE6F2.4030604@yandex.ru> <87fv7ondlr.fsf@gmail.com> <553C5D75.9060706@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430045106 9389 80.91.229.3 (26 Apr 2015 10:45:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Apr 2015 10:45:06 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 26 12:45:01 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 1YmK3X-0001b9-NV for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2015 12:44:59 +0200 Original-Received: from localhost ([::1]:50340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmK3X-0000Mg-31 for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2015 06:44:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmK3J-0000Mb-97 for emacs-devel@gnu.org; Sun, 26 Apr 2015 06:44:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmK3F-0004YK-99 for emacs-devel@gnu.org; Sun, 26 Apr 2015 06:44:45 -0400 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:35012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmK3F-0004YD-26 for emacs-devel@gnu.org; Sun, 26 Apr 2015 06:44:41 -0400 Original-Received: by widdi4 with SMTP id di4so68248773wid.0 for ; Sun, 26 Apr 2015 03:44:40 -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=0vS6wNSEQLl8kSHRZnA+pEOrLOcwPO5TkeN98pOP5mA=; b=JXQwR3u/hCrY/cv/o4pZO+m6FJwAE8k4KFWdzrHhppPKLc3irkdtU6BoAtSoOZrJoN hMxta3X8KZjr3y2ZfB7qq+XBWfDlYQVK0aEDVofYE/cWTa8qk+4oJI25peNjKudJ9tQF 418eXWIdSCCN0xbJxfRbVAG0mWdkJjwOFyu79MN4V7ynv5AY8SRxzej9LWi28IbS1KsT EpIEbMWRLaP0SEHA2s8TfYAOugY7l2LXi+Yc6roB/++YyVAEw0pIQe3coC8Bbt1WZrPr 2cbNI57Zyqq+Lfz8AhjOmNJCBNjZSah/GVmWZdRPk3Q6JZylxqULFOS9dqjR0iTVnjjC a14g== X-Received: by 10.194.78.105 with SMTP id a9mr13310150wjx.152.1430045080414; Sun, 26 Apr 2015 03:44:40 -0700 (PDT) Original-Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id yr1sm24635807wjc.37.2015.04.26.03.44.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 03:44:39 -0700 (PDT) In-Reply-To: <553C5D75.9060706@yandex.ru> (Dmitry Gutov's message of "Sun, 26 Apr 2015 06:37:25 +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:c05::235 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:185904 Archived-At: >>> Dmitry Gutov on Sun, 26 Apr 2015 06:37:25 +0300 wrote: > And similarly how certain other people are attached to etags, I'd always want to > have access to Elisp documentation and sources, even when editing unrelated code > in another language. Me too. Ho about having multiple configurable "levels" of xref to be accessed with numeric prefixes (M-1,M-2 etc). Then one can have M-3 M-. to always access elisp references, M-4 M-. to access current tags and M-. for whatever the current mode thinks is the best. Would be nice to be able to set the "level" dynamically. For example, if I have a related code which I want to consult only rarely, I build a tag table for that code and hook it immediately on M-8. >> More specific name like xref-auto-jump seems quite suggestive to me. > How about `xref-prompt-for-identifier', to mirror CIDER's option name? Sounds good.