From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Thu, 16 Nov 2023 10:39:33 -0800 Message-ID: <25942.25061.217864.329049@retriever.mtv.corp.google.com> References: <87fs169mjj.fsf@posteo.net> <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, philipk@posteo.net, rms@gnu.org, emacs-devel@gnu.org To: dmitry@gutov.dev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 16 19:40:25 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 1r3hHt-0009BR-7I for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Nov 2023 19:40:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3hHK-0001If-1e; Thu, 16 Nov 2023 13:39:50 -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 1r3hHE-0001GP-Bo for emacs-devel@gnu.org; Thu, 16 Nov 2023 13:39:45 -0500 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3hH9-0005RA-8K for emacs-devel@gnu.org; Thu, 16 Nov 2023 13:39:40 -0500 Original-Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1cc329ce84cso10155355ad.2 for ; Thu, 16 Nov 2023 10:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1700159976; x=1700764776; darn=gnu.org; h=references:in-reply-to:subject:cc:to:content-transfer-encoding :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=TVqYc50u8C/bAq5gyc7J3PIGVn8hGWTATY8hQDfanmM=; b=RzwKHQ8Ra6cb2/wiEFLrNQUg/qnKPQUUd0j/lDlN7z5D12ic4pFAI5fRF+1vn3zfAl iLsnAEGwWZ7nZYX0WI6boBGIW5JHcP1/f9MryvYJdqnTIzQ2a0uIDeshqZ7l9M9VcSPW 7v/3NIoOdWn1+FhTCfO2SE91/eiCfCLQPhFvubUY5nu1+WX5CNBx3qDObI6dzbF6Duic temkmKySyR0DciEySxupG4uU3h0xX/PfJlGw8JvfdYbNwd6FYa8E0GIFOnqSLcwEcNgI uEymC3k1sI5QYBwyfQby/MmX1jXXWj8QVHfrTQj5pADVuqQ2cRf++v/sOYcCBzzy7Sab s9oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700159976; x=1700764776; h=references:in-reply-to:subject:cc:to:content-transfer-encoding :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TVqYc50u8C/bAq5gyc7J3PIGVn8hGWTATY8hQDfanmM=; b=m4EQLd8YARMwLX5pgYyKPILCHNEbn3Mev4EHKkic8xGY7QTwHKsiNOlgBvi1r52wtR a+d+dJjiAQTpOaLP1V6/BDlw5bDGEAy0EjBIKtlZQAn99Tr2GhoWUHkEeUu1XSaddUbW qTR/YxA1HktRSim/OhvydOLzFbBWAGxD+A6PXAOAMW+G2tYZCOhrA3hYegBlSH+wWdnS Cqx/vRDTbhLWxvEk9f/js8bH4ngTDRirz0mtFk1bcFWNgJkG7NeqYEynjJRJGkq3gb52 LPb9RlWwRYDMDmRNrO6XCId9c2PrAfSBsThDSfrsTWLxugfIW5kPjrOmOdNRTvqQqDgX ZW1w== X-Gm-Message-State: AOJu0YzTkE80p8rWoc2XtehfDufhB7SiiyzX4EImWXRrsMyRQLOBHHo2 FzTP+hp7epSj6FEgttme5gFQujKDE/4mjgcadQm5oA== X-Google-Smtp-Source: AGHT+IGj7VpDHpoGdYhi51s1alwJ/EvJCIobv0kiDbryBv3km/uXfPupGnNFMoSUOCQg12YLvqplgg== X-Received: by 2002:a17:903:1cb:b0:1cc:49e7:ee16 with SMTP id e11-20020a17090301cb00b001cc49e7ee16mr12668608plh.12.1700159976188; Thu, 16 Nov 2023 10:39:36 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([2620:15c:b5:2:147f:9674:f90a:36a4]) by smtp.gmail.com with ESMTPSA id 6-20020a170902c10600b001c8a0879805sm9545256pli.206.2023.11.16.10.39.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 10:39:35 -0800 (PST) In-Reply-To: <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=raman@google.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -197 X-Spam_score: -19.8 X-Spam_bar: ------------------- X-Spam_report: (-19.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-2.193, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:312824 Archived-At: when-let let-alist etc have worked well for me. What threw me with pcase is there are lots of special chars in that particular example whose meaning I dont know, and looking those up and understanding their use at the same time was what chased me away Dmitry Gutov writes: > On 16/11/2023 19:18, T.V Raman wrote: > > I recently tried to understand some of the completion code; -- > > specifically, completion-at-point, and immediately hit the pcase wall > > and gave up --- my lack of understanding of pcase made that code in > > Emacs Core read like line-noise. > > Is there a general pattern matching/destructuring syntax that you find > easier to read, in any language? --