From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: "reference to free variable" only during initialization Date: Sun, 19 Feb 2017 07:58:59 -0800 (PST) Message-ID: <416053e8-fcd7-45ed-a06b-407d9f23e571@default> References: <87ziiq4nll.fsf@wavexx.thregr.org> <877f5j3vto.fsf@wavexx.thregr.org> <87efyv9k8t.fsf@wavexx.thregr.org> <87a89iqs28.fsf@wavexx.thregr.org> <877f4m6z1f.fsf@wavexx.thregr.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1487519985 25975 195.159.176.226 (19 Feb 2017 15:59:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 15:59:45 +0000 (UTC) To: "Yuri D'Elia" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 19 16:59:40 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 1cfTtk-0006L5-2e for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2017 16:59:40 +0100 Original-Received: from localhost ([::1]:34174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfTtp-0006nc-IM for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2017 10:59:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfTtK-0006nX-Ps for emacs-devel@gnu.org; Sun, 19 Feb 2017 10:59:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfTtF-0001go-Vv for emacs-devel@gnu.org; Sun, 19 Feb 2017 10:59:14 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:43319) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfTtF-0001fi-OC for emacs-devel@gnu.org; Sun, 19 Feb 2017 10:59:09 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v1JFx7Rx028525 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Feb 2017 15:59:08 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v1JFx67D028449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Feb 2017 15:59:06 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v1JFx4xa001944; Sun, 19 Feb 2017 15:59:05 GMT In-Reply-To: <877f4m6z1f.fsf@wavexx.thregr.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 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:212469 Archived-At: > > `(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). >=20 > Ah! Well, this is interesting, I completely missed this usage. And after > understanding it, I'm also somehow surprised that this is not showing up > more often. Thanks to Yuri for reporting the original problem and to Noam for finding that missing boundp occurrence. (Should be OK now.)