From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: operations on path lists Date: Sat, 4 Feb 2023 17:21:45 +0000 Message-ID: References: <87y1pdkg6p.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16884"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 04 18:22:45 2023 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 1pOMFP-0004CK-TQ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 18:22:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOMEi-0004Ad-Cw; Sat, 04 Feb 2023 12:22:00 -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 1pOMEg-00048i-Dv for help-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:21:58 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOMEd-0002LZ-Io for help-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:21:58 -0500 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 314FAx5j000949; Sat, 4 Feb 2023 17:21:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=mDAL+MdBXgGgahKFvQGEJJZbHIuu51zZcOfNSqWXxFM=; b=CwT6u3E7t9qcpLoNq2f4xpONI4IHBCFI9ZYB0Y+Dt9rTRGSTpJFEG66bAhiw9QMdh4tM ub8nx8Mqr3PQxWJaP0sN9kRjEK0P9ftrtznfWVVsOOEdNG5ZLMW3hLYvOaqhIFeZaRq9 gIHmlHgxQxb0+cBm2UuifGcJccsx8xntMvYhNHGS7d6TOCDmPiyE3eI8XhKi2rYaH0fz 6kXF3yL7HcoWCy3WocQdkNZyoUnlWQAvM6/a1xVWw5BUJ9rFVBOR2N7m3KUN+1OmpQa0 q9w1/rZ3qy7qm32rIWQlb1/eOG9VvzrYN1mcikVikPd8bBOW1qsPe4Tky8iGtPWAeK3s tg== Original-Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nhf8a0jk9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 04 Feb 2023 17:21:47 +0000 Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 314HHVBo028408; Sat, 4 Feb 2023 17:21:47 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2047.outbound.protection.outlook.com [104.47.66.47]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3nhdt2fs1f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 04 Feb 2023 17:21:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mfDL2xAttK+RZL2lAE2T9KkR5Gmh1jeNEyQcG92/o2x0hclnE3mTU5UJVDwX/d3CA+nhu/Po2Y6Z602JYAyqm1ulGrsn/9ZhYwDGjcj7cVHZrM6XfYf8c0v/3JWAD8Ovz5zUk3O854bEukKVAVlcp/DXs56CyvyGE1BoDArRac+ox1szCeNTc+xrAmh70qHQsf6d6hxz8ZBnncd63F+/ymRTSXSJ72FKgKSQ2o4UEEXUUpxLe26/MPyzh0XOyvfNZbjqsYBJP+2fgos+MTfl7wJScLIaNwalTyfog98CvdEnBU/xRpV0mI+048mYNS/E6y9rGhQHFRndc1Pvtkhf7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mDAL+MdBXgGgahKFvQGEJJZbHIuu51zZcOfNSqWXxFM=; b=fDV3azV7RVF0//aNn85ECdGoiuJfRkA5SsCiSulxejTPFD8a5tzui3WqhBNbfeQxpr+oT2vYstv7EKFUFn1t8N4r916YLzbQlTi+sqoGsjK3YSWH5MvJwSiALa5UOszovHiVt52pFnswpOXpdPkD8DMvqkt2o/uk2zSpd0H+BZP086tgkm/2x4tbPNPr4BFasibzaJqxeFXD+BmxctYWfFEeIfYs9j2Hj1qpiY7AKac5kAqglt28toqdd3yTrUi/g4wNQeFY8c9QZqrHeW9f0ePTz0g72DS/pOk2FOjKiFIzI0+iaHQmgl/sCjcrwnFJleQh+zuw05raclwrpmge4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mDAL+MdBXgGgahKFvQGEJJZbHIuu51zZcOfNSqWXxFM=; b=Zv/Vc0ry8WUZV8fXGwQW9HEIi/9/TqWmxYfchNonyLQZXi3qVO6R76UIS+hP0Mba/0VlEvbMaTwm7nkLSaKTHiiaDmUqjncUXzK7fMWnqaWNq1dHS9rP5dw/Ouuf1Ct5t1jajE0g26Njn5XqSqqihjXAdXxClgMfZwWhp8aefz4= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BY5PR10MB4163.namprd10.prod.outlook.com (2603:10b6:a03:20f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.10; Sat, 4 Feb 2023 17:21:45 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3c:e53d:5276:ef29]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3c:e53d:5276:ef29%8]) with mapi id 15.20.6086.011; Sat, 4 Feb 2023 17:21:45 +0000 Thread-Topic: [External] : Re: operations on path lists Thread-Index: AQHZOKinbl8DHQOXzEemr75ZVsWVta6/CGDg In-Reply-To: <87y1pdkg6p.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|BY5PR10MB4163:EE_ x-ms-office365-filtering-correlation-id: 9a014410-095e-4e1e-40a2-08db06d44a41 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tKDjxKG3q7FWQs/AruFJ5Mugq8H8AznoHiVLIeVmufR0K6JUa93pLrDie2vhD6AM4rFDpySdHysTUPH/UhjljwgCdztBwNQdBIsRslQunK79s7WfufO+YJitmj7vL9XII07mxrsYG0webg/WlRjlD1MisvCjFAiGebepyBxzUkPPojKjSk9sTDuqbLBqeSjQXSokHy5c8qnNI3geYaxG/tsCyakgFf+TueswK72UaxTxD/BvPouSdXJpH9uAL5nv7HjlvRa0FklJc0T+ZJZihi/70i06qiGs4iKM1l+KuV183bpspMir/1R5QjF60XHFWI//NvsCsLEFJxOHW3LdYqTvjCKtfc7KXqh85GBjrc7kabY5OaMWCEGTSszyOQfhf1VODaF0bYNOfXgJBVbXgzFwvneU4lnJN+dAAUfrTAEZIHs1Qf8HwRtWORtFfg4rmbdwIL/5dZOibAcY3dC5amr6CMe+oZS2oyjcM1XOdHzQiSfF9vnRLcBi88BB87ACXIw1ZX/+3RkV8k5HWOoZzg4Q2/WvHI2NhmcOOewCasajadTVs8iOuIbpC/mB4bWKTGnyWNbj9gqeUq0PPhMXtSRc3Bne2sr5OPDISmA9Ih0qu9RFqsl7FQ+au9PcYZW6boS0lBajDt4Tqh+1qBApd7ZI8NHEyLWn1QMjMG8R2U+TvGPO2yiO6mYnbUYJspcPFYSitFCxZW1Vy9Bx+0Gthw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(376002)(396003)(39860400002)(366004)(346002)(136003)(451199018)(2906002)(38070700005)(44832011)(5660300002)(8936002)(66946007)(41300700001)(558084003)(8676002)(76116006)(66476007)(66446008)(64756008)(33656002)(86362001)(55016003)(110136005)(316002)(71200400001)(7696005)(478600001)(52536014)(6506007)(26005)(186003)(122000001)(38100700002)(9686003)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+RqrBQZh0R8UsfwV7dNLc9zsZeeh2jWRlpedkE1e0mcUbn1GH+YKSb/EgDPU?= =?us-ascii?Q?qe+cG1hLtKnYleXFoDZHzBLejoEWOk3h9UmlgPfUV20lXsPV0p3ZX4qYL5oL?= =?us-ascii?Q?FVL9a954ZzAC/8eoB1L02Y2FtPkb4hD2zhtfLHjf7LKTTGsp+ZsCjI7jBrqt?= =?us-ascii?Q?81Rw77cB1qeQLFgYFVC2/arh+tWkT6rjKonpUMr+HIM6K+H0gE0QrsNXiVQs?= =?us-ascii?Q?caxKimZFKZVBdY4LLCCYjC+P0WoTUFdRtDG5a9lJLfrVAj22GHTdXv7e1KfX?= =?us-ascii?Q?JMOOCj+t+fNkEfrZHiJvO/GHOMMx8/U1Kxj616EW+WRXsRwQu6O4u8F+MGvi?= =?us-ascii?Q?mV1NuF9g7GA2lw8kEtXichttHOsVwKIyVd9Ct0t18HRiKKXDOYQIi8YNOwTv?= =?us-ascii?Q?KiaMiTYpDtcdgyqmq2MzomVdGe/4Ab9Eyjo2QCECgQMdy1oqtTpBdl+BiuSk?= =?us-ascii?Q?gUFUp+OY+WxFGxqjXleZxRU5glOkV50QK832pIjB3KBKVaKLtx4BsVVoH2T9?= =?us-ascii?Q?bt0VqBuxSuusvav5q552qJJY8j3B92zEPEoNU1lLWIGvghbTDEGy/4KlXrf/?= =?us-ascii?Q?14C95uU46tbMWhTEbEzKsorGFa/Ur3ELs7UELCg/AyFS4xQHBQzsrWFXpcct?= =?us-ascii?Q?8b X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: gT3RKIzGaGHrZUOAM/UJNMMVVuektho1aDpml/DO+u/rgEJo0Y7HO+/dHB3oqaOeZN/wcX/RltXvNu/YKYj4eIxPgbAvUksF5WMqDJvgrLZa/Y+NwjSYP4Js5tipfV2T3MsMIxwcElwKYW/fr7RPyYQTdSZf2X09Eco0ZXFN2WNqdLA+shxFuYUd+tc0Lz5gV68cxW5Q4OdPfnOR0TS0/rlRfjeVVhBvDRBO66OKc3OjciDvynDV9CQEapWPvR/nFf0NHNxZ1vpRWZqZtiI3gFqIvx60cgasnuO++rGa4ILwZ3Y5XA5sK6BJvtZNffDydTAXy1wQOMgLspOZ4zQPnvrnfEVHsCr8oZQ3MEv1hMGp8avlQiTmeykB1G5aw6Hd0kQ0mrgvZ0ctkyXL5JS/cgw8k83OjlUCF/5kHpV1bYV7GDdTu8F/iBWK07PWETcGPPOy6ic/HNIKZKgAXHkmoN5brmmBRhQ725tWMGwwQJz7yoQyiuxrJwA6SBGEfpHG+lZu2R4Fp/sbjHLtpKJaG3wfA0RQQC+Tz7RwQv91HUTQpscMse1r7GW/yLiQd5s9g0UglnbkOkbn9S5qVMv1vs+oou2Z5fqJ4IwyljO3NDtmfbnWChWBXz1WfSl1QnpS37N3E5O+qCI4vj+BuBRMM6ZqsEXgvZHv0coUttQMeb0diEHq4PEdwmhEeYNFT8yHrDgT00Auxwx+B+3zKGN6udpK2KcrmRxsl823pj+TLtRrUf AzHFn1eeegUE4hhAd5aUCWX4mF/GuYBaByGg1HyA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a014410-095e-4e1e-40a2-08db06d44a41 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2023 17:21:45.1212 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gsjwhtqf8PZXTy2Ft0oeW51MgAGrgFcl9iBwUoK2uRmqTFwCr6VMG0aeaDLhFJ6LpKdXB1V3kQCYtp8H2y3vVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4163 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-04_08,2023-02-03_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=510 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302040155 X-Proofpoint-ORIG-GUID: E-ELi9o-lIL7llWXEemDZYbRiC0LGMbi X-Proofpoint-GUID: E-ELi9o-lIL7llWXEemDZYbRiC0LGMbi Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142600 Archived-At: > > (cond ((file-directory-p file) (expand-file-name file)) > > (t nil)) >=20 > (when (file-directory-p file) (expand-file-name file) ) (and (file-directory-p file) (expand-file-name file)) Use `when' when the return value isn't important. Helps human readers.