From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: zonk *log-edit-files* for RCS (or when there is only one file) Date: Tue, 09 Feb 2021 15:46:36 -0500 Message-ID: <874kil55qr.fsf@gnuvola.org> References: <87r1lp5foh.fsf@gnuvola.org> <871rdpkv1p.fsf@zoho.eu> <87k0rh5e20.fsf@gnuvola.org> <87mtwdjepy.fsf@zoho.eu> <87eehp5cqf.fsf@gnuvola.org> <87blctjdxh.fsf@zoho.eu> <87a6sd5ae2.fsf@gnuvola.org> <87tuqlhvaw.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 21:54:09 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 1l9a1R-0009iu-NG for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 21:54:09 +0100 Original-Received: from localhost ([::1]:38898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9a1Q-0003wd-Ph for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 15:54:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZuQ-0006nh-DX for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:46:59 -0500 Original-Received: from delivery.mailspamprotection.com ([146.66.121.68]:38941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZuO-0000Ej-2J for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:46:53 -0500 Original-Received: from 241.110.209.35.bc.googleusercontent.com ([35.209.110.241] helo=giow1035.siteground.us) by se24.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1l9ZuJ-000COH-Bl for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:46:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnuvola.org ; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V4DqsDLRQBpWFkwdq2LhMByZ6mYXyn2tPKy8iAIU8mI=; b=izT7gXwwW6Rb0x5s/+bW5lBw4o redN/ZFqhXAJW2n01dGxPIwuNojnmdFdi+a0Z0Rg6zOi680e9P7Ss5LhB8hPKPVsAnuqeOIc3Xopa 8glnWw/uC+m+7r2JJb8OEpZnVeGmZhr0pes+Km2NbDLY97J/PlB5Kfu7WUdVJYBNIOAs=; Original-Received: from [50.89.166.226] (port=52728 helo=miasma) by giow1035.siteground.us with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90.1) (envelope-from ) id 1l9Zu9-0000L1-Na for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 22:46:37 +0200 In-Reply-To: <87tuqlhvaw.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Tue, 09 Feb 2021 20:53:43 +0100") X-Originating-IP: 35.209.110.241 X-SpamExperts-Domain: giow1035.siteground.us X-SpamExperts-Username: 35.209.110.241 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.209.110.241@giow1035.siteground.us X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.20) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WzybDOIkeHsTfjbRNPjKHPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5ztkw0Sp1bKbDyWds9ioHWR9V7VV/MfM8W1KAr4lekKT4JL M0i5ZAms0EHrvcCaVIN9r9KMotJZAIvqRgXiUTChzIXV52OyeiH3YVVX92r9x6alwDCnxukAFH0a kDmPvhLeHxScwI7Z7DCeP9cGtayvj4tANry8HDRI8Ro4ghK3flsOd0QJrGYbUb6G5rsuMGuMyGnD IpSchlco6RIDoNg/c+4l84gBClgS15jvOaQcD2hfj9whi8KpGkNMaaLS9DIcqbdy+7WYS7ujrPXH qhox0HpT3S2SFmqVvJUoDpLg17fDQD9rTYKpWUjzugBu3bSZMNCdTf3VhQ5Kwn7v2Ln9pLzJ+tKH 5sEcYC081STUFBUdFqkFA+YKkUlydLh5cSaHt73jJKU44zPi+Pzpc9G5DMXe7HNAN2+ce9dIwwYz hLSJjzN5e8VFlEjmqR4rzvUXKu1VbgppFJRGoXLED7mHbbgVl4iunqFoEGZzSy+km6VHO6XhXqN3 g0DWG4Tioc84Kpmg5+UpQ2PZprb+nvdWlgS6K9aAlnrXFI3hveFdl1xtBpJ+PFPoWjUkXmXVcRBu DC8SQu3DbQJtlKF6MGtd+0ELtswMwwo4ujcdryI9EF9e17V7WvBKRDPihsQRMgWKum9sC/+QkKLq f7xDcOa+1P3k2kPy9wmDetZJiaD6+Tx0GuEAJqQ00Zpp957SE4wCVh4ANifEKBwT68iJgrzNd5Xd G63CgJuXpt48NSiQMYLUAj1reKtuJ X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Received-SPF: pass client-ip=146.66.121.68; envelope-from=ttn@gnuvola.org; helo=delivery.mailspamprotection.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, RCVD_IN_DNSWL_NONE=-0.0001, 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:127743 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Emanuel Berg via Users list for the GNU Emacs text editor () Tue, 09 Feb 2021 20:53:43 +0100 On the contrary, that's so cool! I had to think and think and think before I realized it is 0 or 1 file -> don't do it, but 2 or more files -> do it. Only ... isn't `unless' and `null' =3D `when'? (unless (null (cdr '())) 1) ; nil (unless (null (cdr '(1))) 1) ; nil (unless (null (cdr '(1 2))) 1) ; 1 (when (cdr '()) 1) ; nil (when (cdr '(1)) 1) ; nil (when (cdr '(1 2)) 1) ; 1 Well, there you go -- more elegant by one funcall. Congrats! (I think i wrote it that way to make it clear to me since i see/type/think =E2=80=98(null (cdr ...))=E2=80=99 more or less idiomaticall= y. If i use =E2=80=98when=E2=80=99, i would have to add a comment to myself. Normally, i'm not against comments, but this time, meh... :-D) =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) ; (2021) Software Libero (pcase (context query) ; =3D Dissenso Etico (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iG4EARECAC4WIQR0jqDoHLinSJv6bORnAyIkTIB1AgUCYCL0rhAcdHRuQGdudXZv bGEub3JnAAoJEGcDIiRMgHUC45wAoMpMkrEOhMWbZiPUbfjtv8svbLDBAJ4xMDJk 723sU/rarJoIuayrHUFUcw== =aiRb -----END PGP SIGNATURE----- --=-=-=--