From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Thu, 16 Nov 2023 10:26:41 -0800 Message-ID: <64993a12-3773-f98d-0a83-2fbf0ba96efa@gmail.com> References: <871qcpn3ep.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8657"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" , Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 16 19:27:22 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r3h5G-00025o-Dt for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Nov 2023 19:27:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3h4g-0001qZ-RS; Thu, 16 Nov 2023 13:26:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3h4d-0001or-Mw for emacs-devel@gnu.org; Thu, 16 Nov 2023 13:26:43 -0500 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3h4c-0000Nk-8G for emacs-devel@gnu.org; Thu, 16 Nov 2023 13:26:43 -0500 Original-Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6c398717726so1024584b3a.2 for ; Thu, 16 Nov 2023 10:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700159201; x=1700764001; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=2ust2EJcyhRK6+Zm5HR7HXfsLX2HnpaVU9FM4WGVtlo=; b=KCpQAoW5M5AOEhIczY3DuE0IJzyZetQUL0ggVsMyMP+JPgGnkuJbSSN95hS6/PaGgV GKCDLnHe7PoN3qmAT/70SIKy1IGQukJjQ0pj4kCJI+qrI2o87i76Y/aGC9AZeKmd0Avq fWNUlPYLYbS05fysjrV5FdycPuvPrrwteI8zJxiqF6KZh3xcVZd3P12syyww+sAw3DrK UeuqrINblCEfX497ycBAx4tq7fihpGLFHLb1TXCFojTQK3dsi0yW6YEMpNdM7uDOtLjj ea+7rUz/oZq5mnOiADrKBvcLDvOR40V9PtVtT8A31JL4YiqsjbLY8AmBxFusKDZKbGlJ zqLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700159201; x=1700764001; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2ust2EJcyhRK6+Zm5HR7HXfsLX2HnpaVU9FM4WGVtlo=; b=F/LSrlC2m7kETmgbmr70DWIjZy8jzNiDENfaTS4rvFKmoqmvE0eNZaNr9ftzIaM9T9 hxVvipgxCDTed0tvZQDT+Us4axMQMjIYnr15iY6hcdwC4AYhQQYDi/sLd4bJomO7lTtP vm4FAEapy0If9mgh0lZp3tKRMgPQFN1x4CTEFi97egBbwnKutmY8DV/Ri6pHmq7qMaTu dInJ92ZZuaVknq7k+Y5ZwihaqG4ig5J/OmMrzwig5plHUn7yIvy3OMWVIeN+7eDvOp2R ufu6v5F786MsHaezYFr4LqJ063ZwGZuaJwtWXy6N+AJzNngg2z7eNYRntwLjhHG6nqQc W8ZQ== X-Gm-Message-State: AOJu0YxhEFnjciAxKm4VlnXthKYo9TTal++Q+KFUkqSOg8aYdR8uG/Ay a/G14lCQuNPpUGHcZak13FQ= X-Google-Smtp-Source: AGHT+IG7y4FWCYsdN9F+8kJSqGtz13NTHHBkDijZlwr0gdcftlVP6qD3dkwTehn4Piqu/9xJ7vnvfw== X-Received: by 2002:a05:6a20:9143:b0:187:f343:ab3d with SMTP id x3-20020a056a20914300b00187f343ab3dmr730581pzc.55.1700159200640; Thu, 16 Nov 2023 10:26:40 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id a2-20020a170902ee8200b001c737950e4dsm9610050pld.2.2023.11.16.10.26.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 10:26:40 -0800 (PST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312823 Archived-At: On 11/16/2023 9:31 AM, T.V Raman wrote: > See my other response re pcase and its use in emacs core; specifically > completion-at-point. A good compromize might be for the pcase fan who > wrote that code to explain its use just before the function with some > comments; that would actually help someone looking at the code to > understand it, and perhaps even turn a pcase sceptic into a pcase fan. Just a thought... would you find a pcase shortdoc with lots of examples to be useful? I find I learn best from examples, and I think some well-annotated pcase examples could help demystify the syntax in an easier-to-digest way compared to the full manual. (The manual has a few examples already, but I think there's room for a lot more examples.)