From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Mon, 01 Dec 2014 18:31:29 +0100 Message-ID: References: <20141102151524.0d9c665c@forcix> <20141117211039.37f03409@forcix> <877fymghgb.fsf@bredband.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417455115 23042 80.91.229.3 (1 Dec 2014 17:31:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 17:31:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Johan Claesson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 18:31:50 2014 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 1XvUpB-0000wC-ET for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 18:31:49 +0100 Original-Received: from localhost ([::1]:32943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvUpA-0007UD-RY for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 12:31:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvUp1-0007NV-Oa for emacs-devel@gnu.org; Mon, 01 Dec 2014 12:31:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvUov-00050i-Vo for emacs-devel@gnu.org; Mon, 01 Dec 2014 12:31:39 -0500 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:64206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvUov-00050M-Q9 for emacs-devel@gnu.org; Mon, 01 Dec 2014 12:31:33 -0500 Original-Received: by mail-wi0-f176.google.com with SMTP id ex7so25383385wid.9 for ; Mon, 01 Dec 2014 09:31:32 -0800 (PST) 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=5NZ0SWZKBZAS39fY/fAWyWEJmCLWNPOxk1p04V4Siqw=; b=0GgybsX4ZAlp2e0z2k0uZ/payD1FYW+YtqNHOHGXMqLghKn0EVK/KJyqAREHw4G64c IPIrUYC/2R+zHLMqE+tjA49QkDG6XB+QrQc0LXFejdZDSJAKmzcmC5/aB9GcoZoUlz3J XgIgkUvg20x/0yActCeChEEU16vPeWK3pfM7HovEgyKNqQo0fffJmqMzpQz+lKqfmZrP 8IWm1B+5+Ws0xXspx1KCo1w6pppA7PrNDBdzPNpG/kmjXhKRx5QXtfDdEfT38XeGzbDy EP4pOMuzJbCDbmplaVwDi+wHv6SF7Sna2C7NaI4dQcrFrBQSECxU5WyMN0kYmeosTHVR o/xg== X-Received: by 10.180.103.6 with SMTP id fs6mr68759815wib.11.1417455092128; Mon, 01 Dec 2014 09:31:32 -0800 (PST) Original-Received: from ix ([212.46.172.140]) by mx.google.com with ESMTPSA id ec2sm29291916wib.23.2014.12.01.09.31.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 01 Dec 2014 09:31:30 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.80) (envelope-from ) id 1XvUor-0001bM-8w; Mon, 01 Dec 2014 18:31:29 +0100 In-Reply-To: <877fymghgb.fsf@bredband.net> (Johan Claesson's message of "Sun, 23 Nov 2014 14:44:04 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.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::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:178605 Archived-At: On Sun, Nov 23 2014, Johan Claesson wrote: > Awesome library. For people just as lazy as me i recommend the > following keybindings to further reduce finger movement: > > (define-key xref--xref-buffer-mode-map [?,] 'xref-prev-line) > (define-key xref--xref-buffer-mode-map [?.] 'xref-next-line) Perhaps a bit exotic, but I guess it doesn't hurt to have them. I added it to the code at: https://github.com/ellerh/xref. I also changed the interface to find the backend: the buffer-local variable xref-backend is replaced by xref-backend-function -- a function that should return the backend. This indirection makes it easier to autoload xref.el. Helmut