From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: The poor state of documentation of pcase like things. Date: Sun, 3 Jan 2016 02:41:22 +0200 Message-ID: <56886E32.70305@yandex.ru> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1451781695 27079 80.91.229.3 (3 Jan 2016 00:41:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 00:41:35 +0000 (UTC) Cc: michael_heerdegen@web.de, dak@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii , Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 03 01:41:34 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aFWjl-0003Um-O6 for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 01:41:33 +0100 Original-Received: from localhost ([::1]:40170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFWjk-0006aH-NZ for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2016 19:41:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFWjh-0006a8-Cr for emacs-devel@gnu.org; Sat, 02 Jan 2016 19:41:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFWje-0000II-6x for emacs-devel@gnu.org; Sat, 02 Jan 2016 19:41:29 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFWje-0000ID-1N; Sat, 02 Jan 2016 19:41:26 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id f206so169351746wmf.0; Sat, 02 Jan 2016 16:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Fyez78fQheGqA3xwhbq98hDwCxoWeyrRbYCC76sOVpk=; b=XYeI8cTqVV/+F7Cx5SgdF0P05NZLSXSlbmeMogZ0ZqEO3SBQuB9uMmEkNPK+hsMPTm izBEl2T7UApBSw9uVbLB+tM4wgY0iFtQ0ZsLpwZKRN7dO/a2hXZAskJDIjChPnfLRxif M4+3Zf64M90G9GQS+HMou8CCiuYyBhXdn24gzTg+RpzUAAq4ziANqQchl+G4jzkF094P kwu1Qi1LNQVxPiX9XNUZv7K6x0GZXVaYlQJcjwRK0tn4adFPy3xtJcUdqw1Yz0SemM/5 xbNt5whd3S0bhbz+XQrl/x63DNXuTvR8exPqoVBbTOARPpVKsEaIVLTBOdeigDGapznD FFCw== X-Received: by 10.28.126.77 with SMTP id z74mr84324706wmc.3.1451781685500; Sat, 02 Jan 2016 16:41:25 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id w17sm37576198wmw.15.2016.01.02.16.41.23 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Jan 2016 16:41:24 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0 In-Reply-To: <83fuygcs5g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197393 Archived-At: On 01/02/2016 10:16 AM, Eli Zaretskii wrote: > Now that I know there isn't, I can convert such code to using 'cond' > whenever I feel like it. Like we do with whitespace changes. FWIW, converting that kind of pcase form to a cond, to my eyes, would look like replacing (when ...) with (if ... (progn ...))).