From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#36139: [PATCH] Make better use of the switch op in cond forms Date: Tue, 18 Jun 2019 14:46:43 +0200 Message-ID: <660B7461-C487-4BD6-B1E3-953D9367B868@acm.org> References: <68467ACF-DA49-4EBA-BA3B-7339DB22A456@acm.org> <395efab3-80f6-4ff0-b754-9f58dd4af695@default> <85d0jlbgby.fsf@gmail.com> <0D7CFFA0-FC7E-4D4E-A24C-4893776229B0@acm.org> <87wohsz7n2.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="158760"; mail-complaints-to="usenet@blaine.gmane.org" To: 36139@debbugs.gnu.org, Stefan Monnier , Noam Postavsky , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 18 14:47:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hdDWI-000fCq-Vh for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2019 14:47:27 +0200 Original-Received: from localhost ([::1]:56774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdDWH-0008MY-Pw for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2019 08:47:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35559) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdDW9-0008L6-OA for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 08:47:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdDW1-00026X-1t for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 08:47:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdDVu-0001yO-3W for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 08:47:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdDVt-0004wP-TS for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 08:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2019 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36139-submit@debbugs.gnu.org id=B36139.156086201718968 (code B ref 36139); Tue, 18 Jun 2019 12:47:01 +0000 Original-Received: (at 36139) by debbugs.gnu.org; 18 Jun 2019 12:46:57 +0000 Original-Received: from localhost ([127.0.0.1]:43910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdDVp-0004vq-Dy for submit@debbugs.gnu.org; Tue, 18 Jun 2019 08:46:57 -0400 Original-Received: from mail1430c50.megamailservers.eu ([91.136.14.30]:52564 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdDVl-0004vK-Uo for 36139@debbugs.gnu.org; Tue, 18 Jun 2019 08:46:55 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1560862007; bh=tMVC7xakDfB130ulGJyIDgHL3klihAzh6HboJOntDjI=; h=From:Subject:Date:References:To:In-Reply-To:From; b=QQ0qjNi0/ABfvYWjxSfENksoZGvL7/ntXnbAXbBAW/s/h3CEK8oV6/Tb+pnAM9j8G HdV55DcZ9YPaXCsHi6N0qVymKiWdMepBpYSjuwfjOtVXaHylLJZpPz07iSDG9CdjRF 9ltllnx1XglVVvjnzDrK11aTXzo9b3F8wx1watdQ= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.1.65] (c-e636e253.032-75-73746f71.bbcust.telenor.se [83.226.54.230]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x5ICkiwb014725; Tue, 18 Jun 2019 12:46:46 +0000 In-Reply-To: <87wohsz7n2.fsf@gmail.com> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0206.5D08DD37.0036, 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=PfPReBpd c=1 sm=1 tr=0 a=M+GU/qJco4WXjv8D6jB2IA==:117 a=M+GU/qJco4WXjv8D6jB2IA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=CQs3cQXTMkAgUmz6C2AA:9 a=CjuIK1q_8ugA:10 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: 209.51.188.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:160764 Archived-At: Anything I can do to make the changes easier to review? All tests pass, = bootstrap works, and so on; I'm using them daily. The patches could be reviewed and committed piecemeal. Patch 3 (pcase) = may be a good start since it's a small independent improvement.