From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.tangents Subject: Re: The poor state of documentation of pcase like things. Date: Sun, 03 Jan 2016 17:26:52 +0200 Message-ID: <83oad2adkz.fsf@gnu.org> References: <20151216202605.GA3752@acm.fritz.box> <87io3m60bq.fsf@web.de> <877fk1nnk0.fsf@web.de> <8760zlue3j.fsf@gmail.com> <87vb7kajgv.fsf@web.de> <83y4c9ag06.fsf@gnu.org> <87bn95m9eg.fsf@fencepost.gnu.org> <5686CDFB.2010105@dancol.org> <83fuygcs5g.fsf@gnu.org> <56886E32.70305@yandex.ru> <83si2f9ve4.fsf@gnu.org> <56889EC3.3040108@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451834830 3878 80.91.229.3 (3 Jan 2016 15:27:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 15:27:10 +0000 (UTC) Cc: michael_heerdegen@web.de, emacs-tangents@gnu.org, dancol@dancol.org, dak@gnu.org To: Dmitry Gutov Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Sun Jan 03 16:27:05 2016 Return-path: Envelope-to: get-emacs-tangents@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFkYf-0002s6-Uq for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 16:27:02 +0100 Original-Received: from localhost ([::1]:41892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFkYf-0004FS-0U for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 10:27:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFkYc-0004CY-FG for emacs-tangents@gnu.org; Sun, 03 Jan 2016 10:26:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFkYY-0000kU-0Q for emacs-tangents@gnu.org; Sun, 03 Jan 2016 10:26:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFkYX-0000kQ-UM; Sun, 03 Jan 2016 10:26:53 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2439 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aFkYV-0001x2-7R; Sun, 03 Jan 2016 10:26:52 -0500 In-reply-to: <56889EC3.3040108@yandex.ru> (message from Dmitry Gutov on Sun, 3 Jan 2016 06:08:35 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tangents:69 Archived-At: > Cc: dancol@dancol.org, michael_heerdegen@web.de, dak@gnu.org, > emacs-tangents@gnu.org > From: Dmitry Gutov > Date: Sun, 3 Jan 2016 06:08:35 +0200 > > On 01/03/2016 05:47 AM, Eli Zaretskii wrote: > > > The syntax of 'when' is nowhere as complex as that of 'pcase'. > > Obviously. > > But the given example uses a simple, small subset of pcase syntax. If > you don't want to use even that, it seems to indicate that you're going > to avoid the more complex uses of it even more so. And thus, never use > pcase at all. > > Which doesn't seem like a good choice, from my perspective. But that's not my choice. My choice is to use 'pcase' where it's really needed.