From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel McClanahan Newsgroups: gmane.emacs.bugs Subject: bug#21493: 25.0.50; fix invalid regex in lisp--el-match-keyword introduced in master Date: Wed, 16 Sep 2015 01:02:05 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1442383397 9402 80.91.229.3 (16 Sep 2015 06:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2015 06:03:17 +0000 (UTC) To: 21493@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 16 08:03:09 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 1Zc5oC-0002Wo-77 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 08:03:08 +0200 Original-Received: from localhost ([::1]:47605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5oB-0002je-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 02:03:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5o7-0002jN-36 for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:03:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zc5o6-0002wa-6H for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:03:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5o6-0002wW-28 for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zc5o5-0007YZ-RR for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel McClanahan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Sep 2015 06:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144238335729013 (code B ref -1); Wed, 16 Sep 2015 06:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Sep 2015 06:02:37 +0000 Original-Received: from localhost ([127.0.0.1]:33859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zc5ng-0007Xt-NR for submit@debbugs.gnu.org; Wed, 16 Sep 2015 02:02:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51851) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zc5nf-0007Xl-3M for submit@debbugs.gnu.org; Wed, 16 Sep 2015 02:02:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zc5ne-0002km-7d for submit@debbugs.gnu.org; Wed, 16 Sep 2015 02:02:34 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5ne-0002kY-5L for submit@debbugs.gnu.org; Wed, 16 Sep 2015 02:02:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5nd-0002im-Ai for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:02:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zc5nX-0002im-I7 for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:02:33 -0400 Original-Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:36447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc5nX-0002hq-AP for bug-gnu-emacs@gnu.org; Wed, 16 Sep 2015 02:02:27 -0400 Original-Received: by ioii196 with SMTP id i196so221660019ioi.3 for ; Tue, 15 Sep 2015 23:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=MFGgz49p2CM7H5zCPOq3oW06QXsO6msw04te1rlTNmc=; b=xjUMloCLOT/31hy5TJiiKzXv7WUoQD4nsCcy+yuv9IxRGLJh9mn/DaLqRbwj7DIj9c 7vxOgNAMqUI+G/HCgPFe/yKtZsc72rZMcBeEVx0bJ2VZZbsd3vL7A7jwnl3ktDW3uijf P8I8D1rzGwWvOoi7GYn3OkU9YEaWamcgQHXDV8yo+00w0spji95E+I9m/PQYp2PCdt/X NmIm7pYN6r+jbSj7VXbRw7TKAeSDU4O5wBkZ2rliBe5eqsLkMagwIqkQOtV9GI0sB5EM 9et6BkZ6B1C7WjVpqX+Of/R0NcQ7HlAP9JQsabpFNgvI7+MwgL6X/i1Z2hknlDhQvlL4 hoxg== X-Received: by 10.107.12.146 with SMTP id 18mr37568158iom.78.1442383345302; Tue, 15 Sep 2015 23:02:25 -0700 (PDT) Original-Received: by 10.107.136.228 with HTTP; Tue, 15 Sep 2015 23:02:05 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:106622 Archived-At: In commit 6d98299e761f18f171e042391138f4f5f5762de7, the form lisp-mode-symbol-regexp was introduced, but it was added incorrectly in one place. The form added, (eval-when-compile "(\\(" lisp-mode-symbol-regexp "\\)\\_>") is invalid, returning just "\\)\\_>". The fix is simple, and the diff is given below. Sorry if this message comes across garbled; I have selected the option to turn off html in gmail, but I don't know if it works. Also sorry if the fix is already committed, I just pulled and the fix has not been made yet. --Danny McClanahan diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 56c2966..fed91b3 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -224,7 +224,8 @@ ;; FIXME: Move to elisp-mode.el. (catch 'found (while (re-search-forward - (eval-when-compile "(\\(" lisp-mode-symbol-regexp "\\)\\_>") + (eval-when-compile + (concat "(\\(" lisp-mode-symbol-regexp "\\)\\_>")) limit t) (let ((sym (intern-soft (match-string 1)))) (when (or (special-form-p sym)