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?= <mattiase@acm.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#36139: [PATCH] Make better use of the switch op in cond forms
Date: Sun, 9 Jun 2019 10:38:25 +0200
Message-ID: <FA3CB2DA-A354-4244-B5A9-282C6DAD1F33@acm.org>
References: <68467ACF-DA49-4EBA-BA3B-7339DB22A456@acm.org>
 <395efab3-80f6-4ff0-b754-9f58dd4af695@default>
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="155333"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: 36139@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
To: Drew Adams <drew.adams@oracle.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 09 10:39:17 2019
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hZtMC-000eHZ-Dp
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2019 10:39:16 +0200
Original-Received: from localhost ([::1]:34436 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.86_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hZtMA-0006g9-Aa
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2019 04:39:14 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56891)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hZtLz-0006fr-OD
 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2019 04:39:05 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hZtLy-0007P8-Kv
 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2019 04:39:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:40682)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hZtLy-0007OY-00
 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2019 04:39:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hZtLx-0006Jy-OQ
 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2019 04:39:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= <mattiase@acm.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 09 Jun 2019 08:39:01 +0000
Resent-Message-ID: <handler.36139.B36139.156006951424260@debbugs.gnu.org>
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.156006951424260
 (code B ref 36139); Sun, 09 Jun 2019 08:39:01 +0000
Original-Received: (at 36139) by debbugs.gnu.org; 9 Jun 2019 08:38:34 +0000
Original-Received: from localhost ([127.0.0.1]:54226 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hZtLW-0006JE-Dd
 for submit@debbugs.gnu.org; Sun, 09 Jun 2019 04:38:34 -0400
Original-Received: from mail74c50.megamailservers.eu ([91.136.10.84]:56432
 helo=mail92c50.megamailservers.eu)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiase@acm.org>) id 1hZtLU-0006J3-At
 for 36139@debbugs.gnu.org; Sun, 09 Jun 2019 04:38:33 -0400
X-Authenticated-User: mattiase@bredband.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
 s=maildub; t=1560069510;
 bh=UL7nQ23a3ur5G4nDH38RmnwSaQW+vvMcKYE/Rx6YIKM=;
 h=Subject:From:In-Reply-To:Date:Cc:References:To:From;
 b=EcPaxmdp4Aa979XqnsLwh0DZitbIasrQcstgL7mrkmLKqE5+T/+dEeG7EQltWYuFD
 tqgNaAPRB7UVU65Gd//8rNpKKqSEwNKGk1rsNdu1DH7D49+VhwbnzbMExx7kOECgSI
 7mEvpz073sIbljSvxlLPzp+eOnV3O09QZtsrItbE=
Feedback-ID: mattiase@acm.or
Original-Received: from [192.168.0.4] ([188.150.171.71]) (authenticated bits=0)
 by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x598cPJB015199; 
 Sun, 9 Jun 2019 08:38:27 +0000
X-Priority: 3
In-Reply-To: <395efab3-80f6-4ff0-b754-9f58dd4af695@default>
X-Mailer: Apple Mail (2.3445.104.11)
X-CTCH-RefID: str=0001.0A0B0204.5CFCC586.0008, 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=LZQSFAXi c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117
 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19
 a=kj9zAlcOel0A:10 a=yPCof4ZbAAAA:8 a=gGedW7438y1x64hWVBkA: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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:160265
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/160265>

8 juni 2019 kl. 17.38 skrev Drew Adams <drew.adams@oracle.com>:
>=20
> How does this kind of thing work with an enclosing `cl-flet' or =
similar that redefines `memq' or whatever?  Or in a file that redefines =
`memq' or whatever using `defun' or similar?

`cl-flet' works by macro-expansion, not by lexical rebinding of the =
function value, so it should be reasonably safe.
monotonic=