From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: regexp linting run in Emacs tree Date: Sun, 4 Aug 2019 19:49:48 +0200 Message-ID: <3B0BC169-9F40-456F-B249-0ABB43558EEA@acm.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_2678FD8B-3A34-42F8-AB76-66521CF37A9A" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12828"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 04 20:10:43 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1huKxv-0003FK-8H for ged-emacs-devel@m.gmane.org; Sun, 04 Aug 2019 20:10:43 +0200 Original-Received: from localhost ([::1]:49100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huKxu-0008Ja-B2 for ged-emacs-devel@m.gmane.org; Sun, 04 Aug 2019 14:10:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43025) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huKxW-0008JG-BO for emacs-devel@gnu.org; Sun, 04 Aug 2019 14:10:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huKxV-0003t8-Dj for emacs-devel@gnu.org; Sun, 04 Aug 2019 14:10:18 -0400 Original-Received: from mail1421c50.megamailservers.eu ([91.136.14.21]:38300 helo=mail102c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huKxU-0003bA-UB for emacs-devel@gnu.org; Sun, 04 Aug 2019 14:10:17 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1564940991; bh=xNl9EOyCdse6JkxwTb7rAmlTKl8CRRJilYjciBAMhpU=; h=From:Subject:Date:To:From; b=qAry0f6Ea2WgOxxyuVgdgm8YIMcmYvOwbqoHXXwnKQwS+NtgzhWeAz3yZ/tGiQdyS D6GRrSDQ8JOYXDuGx/X3dQI2c97B0MXNp7SHHpHYgo+Vo1DLd1xlUBUaGvnReeIeSf EkkqLNthva0gjD4DYs8UzNFsI5EMEfCcvBsfBLDU= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.1.64] (c-e636e253.032-75-73746f71.bbcust.telenor.se [83.226.54.230]) (authenticated bits=0) by mail102c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x74HnnA6012524 for ; Sun, 4 Aug 2019 17:49:50 +0000 X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020F.5D471ABF.0004, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=IrUwjo3g c=1 sm=1 tr=0 a=M+GU/qJco4WXjv8D6jB2IA==:117 a=M+GU/qJco4WXjv8D6jB2IA==:17 a=eF3-FaPALhaIsie1a00A:9 a=CjuIK1q_8ugA:10 a=EDSDjMWYMv4y9PcclaMA:9 a=ITdVHhY7-e0A:10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 91.136.14.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239166 Archived-At: --Apple-Mail=_2678FD8B-3A34-42F8-AB76-66521CF37A9A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yet another scan of regexp mistakes in elisp files in the Emacs source = tree, using relint 1.9. Minor improvements to the regexp detection in relint has expanded the = scope. There may be a few false positives. --Apple-Mail=_2678FD8B-3A34-42F8-AB76-66521CF37A9A Content-Disposition: attachment; filename=relint.log Content-Type: application/octet-stream; x-unix-mode=0644; name="relint.log" Content-Transfer-Encoding: quoted-printable ;;=20-*-=20compilation=20-*-=0Alisp/calendar/diary-lib.el:112:42:=20In=20= diary-glob-file-regexp-prefix:=20Escaped=20non-special=20character=20`#'=20= (pos=201)=0A=20=20"^\\#"=0A=20=20=20.^=0Alisp/cedet/inversion.el:118:25:=20= In=20call=20to=20string-match:=20Repetition=20of=20expression=20matching=20= an=20empty=20string=20(pos=2036)=0A=20=20= "^\\([0-9]+\\)\\.\\([0-9]+\\)\\.?\\([0-9]*\\)?\\s-*\\.?alpha\\([0-9]+\\)?$= "=0A=20=20=20............................................^=0A= lisp/org/ob-haskell.el:180:33:=20In=20call=20to=20re-search-forward:=20= Repetition=20of=20expression=20matching=20an=20empty=20string=20(pos=20= 40)=0A=20=20"^\\([=20\t]*\\)#\\+begin_src[=20= \t]haskell*\\(.*\\)?[\r\n]\\([^\000]*?\\)[\r\n][=20\t]*#\\+end_src.*"=0A=20= =20=20...............................................^=0A= lisp/org/org-capture.el:1688:37:=20In=20call=20to=20re-search-forward:=20= Duplicated=20`a-z'=20inside=20character=20alternative=20(pos=209)=0A=20=20= "%\\(:[-a-za-z]+\\|<\\([^>\n]+\\)>\\|[aAcfFikKlntTuUx]\\)"=0A=20=20=20= ..........^=0Alisp/progmodes/cc-mode.el:1400:26:=20In=20call=20to=20= re-search-forward:=20Branch=20matches=20subset=20of=20a=20previous=20= branch=20(pos=2012)=0A=20=20"\\(\\\\\\(.\\|\n\\|\r\\)\\|[^\\\n\r]\\)*"=0A= =20=20=20...................^=0Alisp/progmodes/cc-mode.el:1508:33:=20In=20= call=20to=20re-search-forward:=20Branch=20matches=20subset=20of=20a=20= previous=20branch=20(pos=2012)=0A=20=20= "\\(\\\\\\(.\\|\n\\|\r\\)\\|[^\\\n\r]\\)*"=0A=20=20=20= ...................^=0Alisp/progmodes/fortran.el:1823:36:=20In=20call=20= to=20skip-chars-backward:=20Duplicated=20character=20`=20'=20(pos=202)=0A= =20=20"=20\t=20"=0A=20=20=20...^=0Alisp/progmodes/fortran.el:1824:65:=20= In=20call=20to=20skip-chars-forward:=20Duplicated=20character=20`=20'=20= (pos=202)=0A=20=20"=20\t=20"=0A=20=20=20...^=0A= lisp/progmodes/gdb-mi.el:2718:33:=20In=20call=20to=20re-search-forward:=20= Literal=20`-'=20not=20first=20or=20last=20in=20character=20alternative=20= (pos=2012)=0A=20=20"\\([[:alnum:]-_]+\\)=3D"=0A=20=20=20.............^=0A= lisp/isearch.el:2191:23:=20In=20call=20to=20string-match-p:=20Error:=20= Unknown=20syntax=20code=20=E2=80=98@=E2=80=99:=20= "\\`\\(?:\\s-\\|\\s.\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s/\\|\\s$\\|\\s'\\|= \\s<\\|\\s>\\|\\s@\\|\\s!\\|\\s|\\)+\\'"=0Alisp/isearch.el:2193:30:=20In=20= call=20to=20string-match-p:=20Error:=20Unknown=20syntax=20code=20= =E2=80=98@=E2=80=99:=20= "\\`\\(?:\\s-\\|\\s.\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s/\\|\\s$\\|\\s'\\|= \\s<\\|\\s>\\|\\s@\\|\\s!\\|\\s|\\)+"=0Alisp/isearch.el:2195:56:=20In=20= call=20to=20split-string:=20Error:=20Unknown=20syntax=20code=20=E2=80=98@=E2= =80=99:=20= "\\(?:\\s-\\|\\s.\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s/\\|\\s$\\|\\s'\\|\\s= <\\|\\s>\\|\\s@\\|\\s!\\|\\s|\\)+"=0Alisp/isearch.el:2196:30:=20In=20= call=20to=20string-match-p:=20Error:=20Unknown=20syntax=20code=20= =E2=80=98@=E2=80=99:=20= "\\(?:\\s-\\|\\s.\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s/\\|\\s$\\|\\s'\\|\\s= <\\|\\s>\\|\\s@\\|\\s!\\|\\s|\\)+\\'"=0A= --Apple-Mail=_2678FD8B-3A34-42F8-AB76-66521CF37A9A--