From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.bugs Subject: bug#24071: [PATCH] Refactor regex character class parsing in [:name:] Date: Tue, 02 Aug 2016 19:54:33 +0200 Organization: http://mina86.com/ Message-ID: References: <1469487245-11126-1-git-send-email-mina86@mina86.com> <83h9b3m83l.fsf@gnu.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 1470160525 16440 195.159.176.226 (2 Aug 2016 17:55:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2016 17:55:25 +0000 (UTC) User-Agent: Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu) Cc: 24071@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 19:55:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bUduS-0003p8-7N for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2016 19:55:20 +0200 Original-Received: from localhost ([::1]:58117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUduO-0007sU-QY for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2016 13:55:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUduE-0007pl-Mx for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 13:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUduA-0002nu-MN for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 13:55:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUduA-0002nJ-JF for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUduA-0007kW-5I for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 13:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Aug 2016 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24071 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24071-submit@debbugs.gnu.org id=B24071.147016048429758 (code B ref 24071); Tue, 02 Aug 2016 17:55:02 +0000 Original-Received: (at 24071) by debbugs.gnu.org; 2 Aug 2016 17:54:44 +0000 Original-Received: from localhost ([127.0.0.1]:53843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUdts-0007ju-J2 for submit@debbugs.gnu.org; Tue, 02 Aug 2016 13:54:44 -0400 Original-Received: from mail-wm0-f51.google.com ([74.125.82.51]:35178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUdtq-0007jh-K6 for 24071@debbugs.gnu.org; Tue, 02 Aug 2016 13:54:42 -0400 Original-Received: by mail-wm0-f51.google.com with SMTP id f65so418690070wmi.0 for <24071@debbugs.gnu.org>; Tue, 02 Aug 2016 10:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references :user-agent:face:date:message-id:mime-version :content-transfer-encoding; bh=9nfzflBpsSE6S6mQd0SoO3ePIh+QoAIps3+WX60x6vI=; b=oWRpiL0e6s4LK09a5bo2KxeEH1tYQzKFdNCR4k0Ajneysv6CPN9XS/TuNYCtlwxef3 DbqSNpUJVgUfGqI+mTTcD5qqnmffOOrxbjqFAqPXCWsEilOwnmrf0rbV2QSdQ8Mu7+Zn AVFU6UgJJnlnpMRf+07x7GCRtxQP4iIGnKE7BsPiRYuFD+zuKhoL45IOerSRFfJ95/PH sn/FS4pJjzOi9cOssI+MRszw6CKxSvedECqIGx+7uYt7PHa5Rk79W0WtNmIwuphTCH9W mf+m/ta7s7uenUKgklipCV3qWvziUM1fkT8wjz9v9KOyDYf8Z+d0c3nEpvfKqy0IFjrk ElKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to :organization:references:user-agent:face:date:message-id :mime-version:content-transfer-encoding; bh=9nfzflBpsSE6S6mQd0SoO3ePIh+QoAIps3+WX60x6vI=; b=YMsEfLMZpUYRYEmyOP7zFoHiGTJ5uyrYoFQWFr+ZGlIca1N3XOuKddzLb7OUQRpdL4 JVSUEW+co5yTFVt9x4pqAsCJaNwtXYHzu0xCTEhcn/dng9gz5GHHVhE+qIwSYIp0CpD1 VYLCizF85tT9T/QsOLqYe/LM8iqYSZBf0G2p0br50K/jXE2PCmMC8l5eppeKejSge1gY 1krxFvBnBY/3AEYiTzPjlNF+ewEzF8igpdXXEHDJsTEAs2zHTe+/EDCIcpFC6rIakooc h8MGHyXvV+uvZUf6lY9YaCLQaqEs3JC08HDpRXnumF25vBWtnDjekjo6Lw8GfPi1FrRn WsHQ== X-Gm-Message-State: AEkoouv3oQ/4ky3OyCF7DiPmD4+pSBTG3iWO5rX7Im6ILp1EsXmp6cRG9AKIS5CozzXc2b1I X-Received: by 10.28.214.130 with SMTP id n124mr60200255wmg.37.1470160476732; Tue, 02 Aug 2016 10:54:36 -0700 (PDT) Original-Received: from mpn-glaptop ([2620:0:105f:301:5e0:8629:cc48:7615]) by smtp.gmail.com with ESMTPSA id n6sm3726167wjj.5.2016.08.02.10.54.34 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 02 Aug 2016 10:54:34 -0700 (PDT) In-Reply-To: <83h9b3m83l.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACP0lEQVQ4T23Sv2vbQBQHcBk1xE6WyALX107VUEgmn6+ouUwpEQQ6uRjttkWP4CkBg2M0BQLBdPFZYPsyFYo7qEtKDQ7on+t7+nF2Ux8ahD587717OmNYrOvycHsZ+o2r051wHTHysAvGb8ygvgu4QWT0sCmkgZCIEnlV2X8BtyraazFGDuxhmKSQJMlwHQ7v5MHSNxmz78rfElwAa3ieVD9e+hBhjaPDDG6NgFo2f4wBMNIo5YmRtF0RyDgFjJjlMIWbnuM4x9MMfABGTlN4qgIQB4A1DEyA1BHWtfeWNUMwiVJKoqh97KrkOO+qzgluVYLvFCUKAX73nONeBr7BGMdM6Sg0kuep03VywLaIzRiVr+GAzKlpQIsAFnWAG2e6DT5WmWDiudZMIc6hYrMOmeMQK9WX0B+/RfjzL9DI7Y9/Iayn29Ci0r2i4f9gMimMSZLCDMalgQGU5hnUtqAN0OGvEmO1Wnl0C0wWSCEHnuHBqmygxdxA8oWXwbipoc1EoNR9DqOpBpOJrnr0criQab9ZT4LL+wI+K7GBQH30CrhUruilgP9DRTrhVWZCiAyILP+wiuLeCKGTD6r/nc8LOJcAwR6IBTUs+7CASw3QFZ0MdA2PI3zNziH4ZKVhXCRMBjeZ1DWMekKwDCASwExy+NQ86TaykaDAFHO4aP48y4 fIcDM5yOG8GcTLbOyp8A8azjJI93JFd1EA6yN8sSxMQJWoABqniRZVykYgRXErzrdqExAoUrRb0xfRp8p2A/4XmfilTtkDZ4cAAAAASUVORK5CYII= X-Face: -TR8(rDTHy/(xl?SfWd1|3:TTgDIatE^t'vop%*gVg[kn$t{EpK(P"VQ=~T2#ysNmJKN$"yTRLB4YQs$4{[.]Fc1)*O]3+XO^oXM>Q#b^ix, O)Zbn)q[y06$`e3?C)`CwR9y5riE=fv^X@x$y?D:XO6L&x4f-}}I4=VRNwiA^t1-ZrVK^07.Pi/57c_du'& X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-Hashcash: 1:20:160802:eliz@gnu.org::HJyESDQA08qltaTP:00000031T X-Hashcash: 1:20:160802:24071@debbugs.gnu.org::YtD4CHnCtSdtQorY:00000000000000000000000000000000000000001UGB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:121790 Archived-At: On Tue, Aug 02 2016, Eli Zaretskii wrote: >> From: Michal Nazarewicz >> Date: Tue, 02 Aug 2016 18:06:04 +0200 >>=20 >> Pushed. > > Thanks. I get the following warning when compiling regex.c: > > regex.c:516:0: warning: macro "STREQ" is not used [-Wunused-macros] > #define STREQ(s1, s2) ((strcmp (s1, s2) =3D=3D 0)) > ^ > > When compiling the test suite, I get this warning: > > Compiling src/regex-tests.el > > In toplevel form: > src/regex-tests.el:416:1:Warning: Unused lexical variable `newline' Both fixed. Thanks. --=20 Best regards =E3=83=9F=E3=83=8F=E3=82=A6 =E2=80=9C=F0=9D=93=B6=F0=9D=93=B2=F0=9D=93=B7= =F0=9D=93=AA86=E2=80=9D =E3=83=8A=E3=82=B6=E3=83=AC=E3=83=B4=E3=82=A4=E3=83= =84 =C2=ABIf at first you don=E2=80=99t succeed, give up skydiving=C2=BB