From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov 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 13:25:47 +0300 Message-ID: <56A9ECAB.60100@yandex.ru> References: <20160122075954.10103.93473@vcs.savannah.gnu.org> <56A96C3F.6050107@yandex.ru> <86oac680xn.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1453976779 4800 80.91.229.3 (28 Jan 2016 10:26:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 10:26:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 11:26:13 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 1aOjmG-0003HR-TO for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 11:26:13 +0100 Original-Received: from localhost ([::1]:55129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjmG-0002uA-Av for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 05:26:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjly-0002QG-Iw for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:25:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOjlt-00054i-EW for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:25:54 -0500 Original-Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:34492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOjlt-00054V-4n for emacs-devel@gnu.org; Thu, 28 Jan 2016 05:25:49 -0500 Original-Received: by mail-lf0-x232.google.com with SMTP id 17so23882906lfz.1 for ; Thu, 28 Jan 2016 02:25:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=FqYtygHcH6Cz2jYJPqDcuGjnPWdessiSCm+LTEHoWao=; b=AZ1El9zbbIifqBJ/WWDRF49alFesTPpd+JjH4EFLFRvpQPw4uxyWnfryYXCXF1shOD wOIIfIGjafYAQ49vYXzDWsLmMO4YuGi8j0ag7hF0HBG568H5/4yw2+4oOyrx8mpdc+rn gFJ8ToW3ltERVtjK4oPJJm/9mPmwuG3IIrI+JxSwZDPXW2S8u6dG3o/XihRfsd+YopMv JxYw9sUcnrTCwS1NNcHUhJpwV6WCwzUvszfXBwZlTNWr3fr8FeGXl5X28t7fkexvCSa3 w2OpPwOtnpMFM4fJOsFBL159XztXcujdIVQEV7MJmFm8DNacwA6YB4+Bz/SyuP1AjXmY +mkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=FqYtygHcH6Cz2jYJPqDcuGjnPWdessiSCm+LTEHoWao=; b=Kb7xW2yBkLy0NHiqvmByh/8sgk2umhaM3GfhIB4iJdPrUgj8wkOaHzjNt0T29oxbOU s/8UMM1N90KDqB1hJpqly0ZHoBrK2cJdJXksS9l+RcjMeu0hCVqF35bdPBg4H/0uH/tV G9Bz+dfHo9nnTCumwuE7C3C7N6QE9BLo1Qy4ikOMLL4gi7cTfxj8mHrcWCSCRNrgJMP3 Mu6vi4Qn5pzHodzDEff+2sOI+JEGSx/P7IPvCUjlV6EWg5+pVu3UT6ZTOnkP2ikKT7QY pEDy0PjcrLI9Kj4Wrz13cGUB7fv5Meqz9DhECp9MkLjdq+wCNFonevIqk+8Ha2Aj+WdI kSOQ== X-Gm-Message-State: AG10YOTTXMgkAzE/VKyqAv0Ip7oyYT1HvR5EN/IPa45Cgmje7L1slahmXNQ6D0ru4fYUCg== X-Received: by 10.25.156.198 with SMTP id f189mr861579lfe.70.1453976748390; Thu, 28 Jan 2016 02:25:48 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id ot1sm1340037lbb.26.2016.01.28.02.25.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 02:25:47 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <86oac680xn.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::232 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:198941 Archived-At: 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, 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.