From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: pcase and minus-sign Date: Mon, 5 Dec 2016 10:11:21 +0100 Message-ID: References: <87r35tb0se.fsf@fastmail.fm> <87poldax6l.fsf@fastmail.fm> <87oa0xas0j.fsf@fastmail.fm> <1a633aa5-75e4-f18f-ef97-7adb10589e79@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1480928825 27558 195.159.176.226 (5 Dec 2016 09:07:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2016 09:07:05 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 05 10:07:00 2016 Return-path: Envelope-to: geh-help-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 1cDpEh-0006Gg-LT for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 10:06:59 +0100 Original-Received: from localhost ([::1]:38513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDpEk-0007R0-1K for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 04:07:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDpAG-0004bZ-3a for help-gnu-emacs@gnu.org; Mon, 05 Dec 2016 04:02:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDpAD-0007fK-2d for help-gnu-emacs@gnu.org; Mon, 05 Dec 2016 04:02:24 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.75]:61555) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDpAC-0007eK-PB for help-gnu-emacs@gnu.org; Mon, 05 Dec 2016 04:02:20 -0500 Original-Received: from [192.168.178.35] ([95.119.229.206]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MK2AX-1cCRaC0bQb-001PBn; Mon, 05 Dec 2016 10:02:13 +0100 In-Reply-To: X-Provags-ID: V03:K0:YTQqOwNmPoSGGVUSmOkI39EtL3qzqXATbHkgBK+G/VnQZeTTfx1 6zLqfctXzr6HSSQ2DhMdHgSWL2CfaqpIT/rWbySIjxEOT19LNAe0j7h36T/ObhsqX4XtH6j uUlJUbLVj1FxYG5VMfSlUFWmqGSpty9KIbK02RqOsqdCN+fe9kpPVH2NCvWaGOsXQlCHwuH HN/NwC6TZ2IFEv7w0DDKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:4ql7pOQjGt0=:lEt91RxcP4k+7032AR6l+J NbC0BPNH2v7GXMwpc+FrbZy4eys6IQrtaLNXSIERir5XM2lveGTEsT8sblYRYf23ZyjvhYQEh U2K0NFDUzFD8cazzJJqMUAqoY6qT1tH8n3K7KJWKTmzlPNT4GR9CfXVRDKvONQp/9+AVI3d5C TLEjNbh9jeC/7cfO6XPwgdyrHyEPgSw1IAfKhfOGL0dAquMyWtn8Y1zGzs8FQPovsbbTwJHUp YYMgFDv0l1pIJMxL1SpAZQJAnJTZUIEZpLkrM0s9erSYDyxn23kotFv2l0SVEtSUAAJ3DdEsI 5zYv87AYguD0G0qCWyMYyk7VlWZnwO1xp5UlRCFtJHvK0pUMGVctl1xpqrrMGlD2AszhJIQs+ bhmYZSe9R7R6fG1KKdHUwHNYNKcLrbbtu+Muz+EPMSedR2BK/+CKYgUx7nNXU+9DCnaiPO1s9 AGT3WtFCokn65GwWxKVPD6L37IRfO/Usc9Su2d/gNpIEKFlHZXwUmqdZdZ4xxlVs6DMDU8RFL QqillaFV4CnM8xbCyxy50kQeKift39xM2om1DhHDxT1649lnCPb8C3rpo7r6fil00nZC71s76 bH7AQIOg3Lf6HVvqYjwn+SgrHt4EixxjOVEvvkJCVdtFftGKSbIs/dVUIcIqKCgJUT9VIWFsb mX5y6sKGbHeM0ZaPzXMLX3Sg+UrSNXUe+Aec68SzAIiwTjwt4t2y5E1N8xsVX6f0sVhPyrcD1 jZGE9slOS657iZqN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.75 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111869 Archived-At: On 03.12.2016 16:43, Stefan Monnier wrote: >> Must confess some hardship of understanding. If an expression may evaluate >> to a certain value or not, that depends resp. may depend on the state at >> run-time. > No: whether it *will* evaluate to that value depends on the state at > run-time. But whether it *can* evaluate to it doesn't. > > > Stefan At any case permits a much nicer implementation of complement-char than done via plain cond, thanks. (defun general-close--return-complement-char-maybe (erg) "For example return \"}\" for \"{\" but keep \"\\\"\". " (pcase erg (34 ?\") (?' ?') (?\( ?\)) (?\) ?\() (?\] ?\[) (?\[ ?\]) (?} ?{) (?{ ?})))