From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Does pcase need progn in if condition Date: Fri, 21 May 2021 11:25:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2927"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 21 11:26:32 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lk1QO-0000fr-4L for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 May 2021 11:26:32 +0200 Original-Received: from localhost ([::1]:33756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk1QN-0005tc-2B for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 May 2021 05:26:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk1Pn-0005tQ-UV for help-gnu-emacs@gnu.org; Fri, 21 May 2021 05:25:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:41079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk1Pm-0007dW-25 for help-gnu-emacs@gnu.org; Fri, 21 May 2021 05:25:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621589150; bh=KD4Y+vvxG6shim7H83Dd0G2/11l//AZYjW796VW12kU=; h=X-UI-Sender-Class:From:To:Subject:Date; b=SPMQvh1G9VaUf5j/KBP9Efm7N+by/FG7UgoVCF6/tHnlsYHFvAGv40EHbF/3MsCYf UuDkSPh5zZZ+ZIuCZnTYeN6XR9gIt8FgCT79Z+Bp3xFhwRkYH/PYXv2Vc320/BnMQA aWuduRJwcuvIjliEHplMFQV3AX7b4E+QztU97k0g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Fri, 21 May 2021 11:25:50 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ZkAwvubVxe4MBIPThUooSWotopAsrXf1RcUzDh0qdj+UTn878tzYAb2IPRpOfAz/VGm7j Ez8y1F5mLnsmIB5iZhhjgO6Bg1NSCnZSZ+0vwIvvZlIt6l/vTmjDoWpmRn3OgxjnwXfJ9QG3BKEV qY3VrvRK8M5g9rhnE7RVsQgvEDMUgmz8Oa6HdKm09SLcFakI/psAgGKYK0Ixca55kn40sE/kgTWd F9Vo2G+XAEEJt6jJUuCB3dHxQo8pGG5P2CZA3NdiP4Q/XGldJoJReaO249YNFq0SslA5XXQPAwdK Bg= X-UI-Out-Filterresults: notjunk:1;V03:K0:SFiaB245VVk=:OpQbvIZAoQK9o+1vdkH1jK BybdlkieBJMaymhzFFVSCm1izHmYNtBPmdH441B97DhuJuOwnSIWC0dC6/oJZfLpf8E2yDj6Z Pejpoq6TwtlUEKFItNlMxuOPlKiVm0FMUwTYuYismj2LR63BVS7AVARWDKhFY2NrwiM29Ipl7 cxJ7mrnhLr2tFU7eSFvbpDrv0npTz+mV4a9VCXTdY0+B9HY38641c8kW//JJjd4UQjCdfG9XR gIb5MXnK94fQmBBGRRXHjYzevvt0P2EUhzFvbYWoUMqlV/L1mgCV7E/darPjYh2ny/0dQBESL D6QyXD5qp/Q1QNj0Bbss3mms3F5br+ayf2fYOAeo5J7nfckrkU2HO3ZNIuBST2oj1vTtwWE/r Sk4ARkg9q86R91keT0gyRpQzAscbvN6aM/8ZGi22a6TIhqOsTVHG33ZgRxSHWQW/9id9LAVS3 lYi8JXAeX9k/Gij0bqC6Ahl9lk2D+eeRVOifgX8x/PUBoydN9sqZ/740+t1cLovl3/0etM/Fu GM4POrJS5j/683TSQ+naSHmi/fmYxWWoL3oOLkSNPTDxc7hJU/rFNp2bHSiWZzBAEEpNrnthO c3WnYe9vfzBlAJgcQfAJ12azMspXP78PPv4bPLmvTh43sMywl2oWAiaNE5mcGlIAtR+aPFfMg k6sg1M9oG9ovhAfWuG4fBzTw72wWm7SrTLHbip5PiyxhkWwC7/XfC8LHk1pRnlYKNAMbmRZCx nFL4BqtAtBbX9WyUi85jxvAbEXexDCENfBL9eGDPGpqWnVwWdTvAM1u8DkmpFbOk+lAj5xAN Received-SPF: pass client-ip=212.227.15.18; envelope-from=pietru@caramail.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129992 Archived-At: Does "pcase" need progn in an "if" condition =2D------- (if condition (pcase n (0 (save-excursion (insert s))) ((or 1 2 3 4 5) (delete-region (point) b) (save-excursion (insert s))) (_ (delete-region (point) b))) ))