From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22018: 25.0.50; REGRESSION wrt `isearch-new-word' Date: Thu, 26 Nov 2015 15:44:08 -0800 (PST) Message-ID: <774616e6-3d7e-4aa5-b120-812f1c24e0e4@default> References: <70438b05-f1ac-4087-b803-685e5c71db41@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448581532 1818 80.91.229.3 (26 Nov 2015 23:45:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 23:45:32 +0000 (UTC) Cc: 22018@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 27 00:45:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1a26Dx-0002ft-Td for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2015 00:45:14 +0100 Original-Received: from localhost ([::1]:53587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26E0-0001ec-1G for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 18:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26Dv-0001eV-Ky for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 18:45:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a26Dm-0004AS-UL for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 18:45:11 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26Dm-0004AM-Qw for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 18:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a26Dm-0001jN-DQ for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 18:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 23:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22018-submit@debbugs.gnu.org id=B22018.14485814536578 (code B ref 22018); Thu, 26 Nov 2015 23:45:02 +0000 Original-Received: (at 22018) by debbugs.gnu.org; 26 Nov 2015 23:44:13 +0000 Original-Received: from localhost ([127.0.0.1]:54749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a26Cz-0001i1-Hd for submit@debbugs.gnu.org; Thu, 26 Nov 2015 18:44:13 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36403) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a26Cy-0001hu-5n for 22018@debbugs.gnu.org; Thu, 26 Nov 2015 18:44:12 -0500 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tAQNiAGP005675 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 26 Nov 2015 23:44:10 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id tAQNiAwZ019540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 26 Nov 2015 23:44:10 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id tAQNi96O017488; Thu, 26 Nov 2015 23:44:10 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109315 Archived-At: > > You essentially did a global replace of `isearch-word' and > > `isearch-new-word' with `isearch-regexp-function' and > > `isearch-new-regexp-function'. > > > > You provided a `define-obsolete-variable-alias' for `isearch-word', > > which is a global variable.=C2=A0 But you did nothing to accommodate > > `isearch-new-word'. >=20 > So adding an alias for isearch-new-word should (in principle) > fix the issue? I'm not sure that would be the right fix. I suggested doing this inside the `let': (setq ... isearch-regexp-function (if (boundp 'isearch-new-word) isearch-new-word isearch-new-regexp-function) ...) This variable, unlike `isearch-word', exists only locally, bound by `let'. An alias (e.g., `defvaralias') would make it a global variable, no? That was why I made the above suggestion - to avoid creating a global variable for this. But feel free to fix it however you think is best.