From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 44c7b49: In xref-collect-references, force backends to respect the 'dir' arg Date: Thu, 28 Jan 2016 14:38:42 -0600 Message-ID: <867fit8mnh.fsf@stephe-leake.org> References: <20160122075954.10103.93473@vcs.savannah.gnu.org> <56A96C3F.6050107@yandex.ru> <86oac680xn.fsf@stephe-leake.org> <56A9ECAB.60100@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454013573 1508 80.91.229.3 (28 Jan 2016 20:39:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 20:39:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 21:39:21 2016 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 1aOtLc-0001ck-N4 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 21:39:20 +0100 Original-Received: from localhost ([::1]:58498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOtLY-0003BM-II for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 15:39:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOtLL-0003BH-4X for emacs-devel@gnu.org; Thu, 28 Jan 2016 15:39:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOtLH-0007oE-3h for emacs-devel@gnu.org; Thu, 28 Jan 2016 15:39:03 -0500 Original-Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:54908) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aOtLG-0007nO-Rb for emacs-devel@gnu.org; Thu, 28 Jan 2016 15:38:59 -0500 Original-Received: (qmail 18227 invoked by uid 0); 28 Jan 2016 20:38:54 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy9.mail.unifiedlayer.com with SMTP; 28 Jan 2016 20:38:54 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id Bfeg1s01U2UdiVW01fejl3; Thu, 28 Jan 2016 20:38:52 -0700 X-Authority-Analysis: v=2.1 cv=bej4Do/B c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=7aQ_Q-yQQ-AA:10 a=vaJtXVxTAAAA:8 a=FyU0ihRoGKEXAm_HuV8A:9 Original-Received: from [76.218.37.33] (port=49203 helo=TAKVER3) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1aOtL1-0001BW-1w; Thu, 28 Jan 2016 13:38:43 -0700 In-Reply-To: <56A9ECAB.60100@yandex.ru> (Dmitry Gutov's message of "Thu, 28 Jan 2016 13:25:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.20.122 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:198953 Archived-At: Dmitry Gutov writes: > On 01/28/2016 01:15 PM, Stephen Leake wrote: > >>> The byte compiler complains that ede-minor-mode is an "unused lexical >>> variable", so I expect there may be a problem with byte-compiled code. >> >> The `let' either binds the existing global variable, or creates a new >> local one; no problems. > > IIUC, whether the variable is global or local, is being decided when a > file is loaded, or byte-compiled >not at runtime. Thus, if ede.el is loaded after > xref.el, ede-minor-mode binding there will be a local (lexical) one, > and won't affect the global variable. Yes, you are correct. I have only used it with ede loaded. -- -- Stephe