From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: "reference to free variable" only during initialization Date: Sun, 19 Feb 2017 08:44:31 -0500 Message-ID: References: <87ziiq4nll.fsf@wavexx.thregr.org> <877f5j3vto.fsf@wavexx.thregr.org> <87efyv9k8t.fsf@wavexx.thregr.org> <87a89iqs28.fsf@wavexx.thregr.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1487511913 25468 195.159.176.226 (19 Feb 2017 13:45:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 13:45:13 +0000 (UTC) Cc: Emacs developers To: "Yuri D'Elia" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 19 14:45:07 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfRnX-0006A0-5M for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2017 14:45:07 +0100 Original-Received: from localhost ([::1]:33786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfRnb-0001tN-9g for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2017 08:45:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfRn0-0001tG-Ax for emacs-devel@gnu.org; Sun, 19 Feb 2017 08:44:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfRmz-0002so-Bg for emacs-devel@gnu.org; Sun, 19 Feb 2017 08:44:34 -0500 Original-Received: from mail-ot0-x22c.google.com ([2607:f8b0:4003:c0f::22c]:33644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfRmz-0002sc-6y for emacs-devel@gnu.org; Sun, 19 Feb 2017 08:44:33 -0500 Original-Received: by mail-ot0-x22c.google.com with SMTP id k4so34958828otc.0 for ; Sun, 19 Feb 2017 05:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=enxLX9L85tVHh503TQKwJtZFXaHtlwmGWct5+/UiVwI=; b=FoCaNDySSaF5ih+L+F0WTCCyNYrwHjvNDLm4r5DnLWFXo8TG9rkFvWzmEY9aFUp9oE 0UNoVCZamGo0aZEfN2mBx0bDcJSBLnUTe8meVQebaoelkJq2KasDAOGAZtC4Uy2wixXJ nFOPKed7D5bNtF1IFC1EYMLvGFdiqJZsQ+FBVi16NJOPicD+kIANNrMNvRxEElae0J6W tV7aGooAohzJKBhCwWnHF3Yj248vme57UJhuTFxwB6p0QcDcNPlx2++erBn33JYioBk/ lqNuYtV+FMgZV0TSLg6Xbcqs9eSYfskroem/wYo8Y7OAM5dUkowXBrpeI85qLW1Ssc8H GR9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=enxLX9L85tVHh503TQKwJtZFXaHtlwmGWct5+/UiVwI=; b=qYM7m1fSej1RARCquBwyOEBDZaql57wKbALdmf6DWs4aZxiFr7yqrWIMLSMn/d0n1K sU6/FpBZrZi5PmOQcvO9q1tEZNETinNmZij3/dp+jLPeJ8NgaLC8uXNpMFzLala3pOYD ykpPs0N9lJ4unaz/Jmrt4hpV3ZdQAb5KVgDH+Fo0z9Kl3U2h29/k7NWtjxvIfdDSdlBy M/IR8ogeTHbi/eui5/cSiBxAW68yxlaRmGL5uXeJ9LoQjkf0wa8XklnHTA6r08gzelMx my7CslLsTpRHV9bWbiWM1wqJZlROPF9MnTF5y9lTj4Y4GhVGMagfeXUwf8coVKYeQL5S sNYg== X-Gm-Message-State: AMke39mNJxI8rSCsn2Tc9P1eETAda/+2E90TBJCtX4Z7zPI4oNqsjF1P/nzlL0pXfP6XLjqoeEIRwMer+96JXw== X-Received: by 10.157.14.85 with SMTP id n21mr10064458otd.244.1487511872192; Sun, 19 Feb 2017 05:44:32 -0800 (PST) Original-Received: by 10.157.11.21 with HTTP; Sun, 19 Feb 2017 05:44:31 -0800 (PST) In-Reply-To: <87a89iqs28.fsf@wavexx.thregr.org> X-Google-Sender-Auth: azo2RlD_l2qunAFId-QOrZnkcLU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c0f::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212466 Archived-At: On Sun, Feb 19, 2017 at 7:32 AM, Yuri D'Elia wrote: > > Understood. But then, back to the original issue: can you explain the > warning? modeline-posn doesn't seem to be doing strange things here. > At the end of the (defadvice isearch-query-replace-regexp ...) there is `(lambda () (setq modelinepos-region-acting-on ',isearchp-reg-beg)) This uses isearch-reg-beg without checking if it's boundp (the other occurences do have a boundp check first).