From unknown Sun Jun 15 01:05:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48657 <48657@debbugs.gnu.org> To: bug#48657 <48657@debbugs.gnu.org> Subject: Status: Defvar delimiter for dired-copy-filename-as-kill Reply-To: bug#48657 <48657@debbugs.gnu.org> Date: Sun, 15 Jun 2025 08:05:04 +0000 retitle 48657 Defvar delimiter for dired-copy-filename-as-kill reassign 48657 emacs submitter 48657 Rodrigo Morales severity 48657 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 15:20:36 2021 Received: (at submit) by debbugs.gnu.org; 25 May 2021 19:20:36 +0000 Received: from localhost ([127.0.0.1]:46849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcbU-0003Ut-4H for submit@debbugs.gnu.org; Tue, 25 May 2021 15:20:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:41678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcYs-0003Q5-L8 for submit@debbugs.gnu.org; Tue, 25 May 2021 15:17:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llcYs-00023S-Ge for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 15:17:54 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:39868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llcYq-0006XG-U2 for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 15:17:54 -0400 Received: by mail-qk1-x731.google.com with SMTP id j184so9508164qkd.6 for ; Tue, 25 May 2021 12:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Kb5uwK8yv20Bd2h+O5rDxSKLc6q6T6aEqomnxtjopcI=; b=CMz0KkFtNMp1EkmqLXZjcAlsl3WZm6Z1yI6KpWLooDpRDSpyBfnNiDrlaYxnmXJUAJ wj03h49dkwxeEfOdSnVnaJhgCMSnD6c8WCpObyRPOcCyVpl6ANxzdTenL8LLMiWrKu6l eCHWsDOQ3X+OGokaOrNnpz2EHf6kP9TbzUcAlDhkrNmzYuZE1mjlmqmlkGjy3K8PqH7x lBBQ1oE/p/tdffo8jXLA+1L0cGVy7+fqWW7jGBqFLZ6MU+RWJYuWwEg9XyjG9MjoGfgD JViOJ7e7uabyOSvLEAiIcKQ9mfsEdfCySyzu30PXkhGhddN7iOYkf3MjoozuM+wrpBWz wwsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Kb5uwK8yv20Bd2h+O5rDxSKLc6q6T6aEqomnxtjopcI=; b=nr50Tvg8e42zo97QgledFjQ0zTmDiSPjSvKev1t49AQ8/isstDS+AvTeCqkGve3eNB 7ILPU7QQLVXsrN/jK95QJ0yGt0kWJxIfwrUtjverh2RvJvqTOOjr8fNYswrkoar/gO+l pEkIQppl8JoJzQpoZNQCEvUuf0dJJTICS0G+l13UTtcmsQrpwbr4alpq8s6i53J0gmW8 fJ5CY51VeJWxhf2fwq59Kaks91rA1/u2a/Kjj8hCivVBtvCbFnc1kzGVv1ED1Fwf+Dnd Up9VBeT/a4zgyhFT5eStEfMQ9zMEnzC6P7/10J7n0ioXwtPmIvi9fsLeERHyopB+wNPa rEeA== X-Gm-Message-State: AOAM533ljKn7QzafQX+O8a/D44ALBZxxNxpQY7vlEl/nV4V60DGfKrmf Z7jMEG8sRftrOF/GbviYXCdU5/TuubBMWA== X-Google-Smtp-Source: ABdhPJywZJOmWYIrEbIBdOwCbtJIXWdJj/hfpCNzRjcpztYt3GIIjo94aXNEIOB6yJcWxkonIfcKfA== X-Received: by 2002:a37:a683:: with SMTP id p125mr35600291qke.332.1621970271033; Tue, 25 May 2021 12:17:51 -0700 (PDT) Received: from r1 ([190.239.232.58]) by smtp.gmail.com with ESMTPSA id m4sm73001qtg.21.2021.05.25.12.17.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 12:17:50 -0700 (PDT) From: Rodrigo Morales To: bug-gnu-emacs@gnu.org Subject: Defvar delimiter for dired-copy-filename-as-kill Date: Tue, 25 May 2021 14:12:02 -0500 Message-ID: <87v97639x9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 May 2021 15:20:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) I regularly use "dired-copy-filename-as-kill" (by default, it is mapped to " w") for inserting filenames to the kill ring when being in a dired buffer. I'm having the following issue when interacting with filenames that contain spaces: Because the space is used as the delimiter for the copied filenames, it is difficult (nearly impossible) to know the beginning and end of the copied filenames. I looked at the source code of the function and found that the space character is hardcoded as the delimiter (see below). #+BEGIN_SRC emacs-lisp (defun dired-copy-filename-as-kill (&optional arg) ... (mapconcat #'identity (if arg (cond ((zerop (prefix-numeric-value arg)) (dired-get-marked-files)) ((consp arg) (dired-get-marked-files t)) (t (dired-get-marked-files 'no-dir (prefix-numeric-value arg)))) (dired-get-marked-files 'no-dir)) " ") ;; <---- [[[ Here's the hardcoded delimiter ]]] ...) #+END_SRC I thought that it would be useful to have a defvar that allows specifying the delimiter for copied filenames through the mentioned function. Perhaps, its name could be "dired-copy-filename-delimiter". P.S. This is my first time interacting with this mailing list; forgive me if I did something wrong. From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 15:34:28 2021 Received: (at 48657) by debbugs.gnu.org; 25 May 2021 19:34:28 +0000 Received: from localhost ([127.0.0.1]:46899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcot-00065s-US for submit@debbugs.gnu.org; Tue, 25 May 2021 15:34:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcos-00065f-6g for 48657@debbugs.gnu.org; Tue, 25 May 2021 15:34:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60554) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llcom-0000Hs-Up; Tue, 25 May 2021 15:34:20 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3244 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llcom-000740-FQ; Tue, 25 May 2021 15:34:20 -0400 Date: Tue, 25 May 2021 22:34:18 +0300 Message-Id: <83bl8yboat.fsf@gnu.org> From: Eli Zaretskii To: Rodrigo Morales In-Reply-To: <87v97639x9.fsf@gmail.com> (message from Rodrigo Morales on Tue, 25 May 2021 14:12:02 -0500) Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill References: <87v97639x9.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Rodrigo Morales > Date: Tue, 25 May 2021 14:12:02 -0500 > > (defun dired-copy-filename-as-kill (&optional arg) > ... > (mapconcat #'identity > (if arg > (cond ((zerop (prefix-numeric-value arg)) > (dired-get-marked-files)) > ((consp arg) > (dired-get-marked-files t)) > (t > (dired-get-marked-files > 'no-dir (prefix-numeric-value arg)))) > (dired-get-marked-files 'no-dir)) > " ") ;; <---- [[[ Here's the hardcoded delimiter ]]] > ...) > #+END_SRC > > I thought that it would be useful to have a defvar that allows > specifying the delimiter for copied filenames through the mentioned > function. Perhaps, its name could be "dired-copy-filename-delimiter". The only sane value for a reliable delimiter is the null byte, so maybe it doesn't make much sense to customize it. From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 15:44:20 2021 Received: (at 48657) by debbugs.gnu.org; 25 May 2021 19:44:20 +0000 Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcyR-0006Lp-UG for submit@debbugs.gnu.org; Tue, 25 May 2021 15:44:20 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:53196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llcyP-0006Lh-Hg for 48657@debbugs.gnu.org; Tue, 25 May 2021 15:44:18 -0400 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14PJgMAn001590; Tue, 25 May 2021 19:44:16 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-2020-01-29; bh=XikFd1SvRAkECUNpSsYqPpTTGsP0TA1HaxKIrY451tQ=; b=JeFZfnhsTFCNPlIQRmJ0bFUCnf7NsCpqeozr6guO7SUKzlY/si0RxYz0ixHorL8yTumi c3A+7tiUSQUO7IQBZ2AZ/+0DHJYpw9uPH8OxKHa9+R2q5uAXqjejiFndW1cGVREjIMuN t/71BheRUE+p6JADF0RSr5cE4sBozTQbZvRPW+jK93aYRIC2Lwqv2tCwuWimmzMKN+Bf A0W96zd192yVn+i2gWgTWuT2oPJe5rxTpbSKAw7YQ3IWbLfcanezp4iPsJ74pIP0MgAk YX0xSqz4JbEWEo6IC5r2w3bbKSDaH4u5FQPeo70lHTVZuw2uoD8i66seanm3uwzwAtty cQ== Received: from oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 38r267rry3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 May 2021 19:44:16 +0000 Received: from aserp3020.oracle.com (aserp3020.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 14PJht8k110112; Tue, 25 May 2021 19:44:15 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2173.outbound.protection.outlook.com [104.47.55.173]) by aserp3020.oracle.com with ESMTP id 38rehaw4ge-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 May 2021 19:44:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ivwJ486eyGc3VD9oeOEKZj1ViwbJpzQSgoMd51gqzEhcuVkNetmvKjuGf6RSexVjuEFMhxragM2DGRBAgOTkp65BjcRhWgbhVu7X2OTGQGy7qoGP69PMEpUT6+zfT5PmehvoLgYsHcFhbdcPrufQIXunbowYAEgHN+f2HYkBoVmYO2zJMhf2EyKSQ1bXMaVLhxIdS3pOide4tvxi8c/OoLGeDhFgcrh3WZAKliuo7vgWH2xoUWosa3FhZcDApa150vSawL2EL60FzUGrn0qAcIqK/2k04DihEVkGR4zMOYUNxncrIeSAh0wJv0iXHRKCCi3G9l+KrlopgjwvP0nrbw== 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-SenderADCheck; bh=XikFd1SvRAkECUNpSsYqPpTTGsP0TA1HaxKIrY451tQ=; b=Q/ENf2tTIrRWyi7q3EekbdUmA5a0THElHdptQ0TebVorKjNxg5EYavX58A+JvWsaJwtnxJjUwtQ50tiy50Xmw9VsCujsx/+kmj7eVNYUs0EMMfDLwWtmZJFbVTsPqCVqvkgzHLCVMcScUoIz85IA0JKAwh/5Clkw4MnGqIyG2BpekqSfdeWVpkwpiw3cdfBeSeRs+D8Ub45mDqmPr3fGvoaGgoK/UAX6YRANI2/q3x9eBirC1OLzDLrvOqP23+hesVnnFys3/d8zOE1pYlEvGoH1ZiTsyxglw/3NPLRO0pvImf8IFde1XilCQp/CvLT18QBSV77r3oXlMCTzsUyS1g== 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=XikFd1SvRAkECUNpSsYqPpTTGsP0TA1HaxKIrY451tQ=; b=Pt5ENQsumRSi7Omrk38oelcmF6X2Obo6s4TOfeoCGD65AQnOe6U4n+hMkXBuoTijxFw9x7EUC5Bn566/Vi4Ptl4i9wr2J1FmdcoGHRdUJVv5BsN7FUxaEgQayE4CtJjciP8vnrVPRnEOPruU5RHiNfmVR/GzZGLft47F6z5SWkY= Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4570.namprd10.prod.outlook.com (2603:10b6:806:11e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23; Tue, 25 May 2021 19:44:13 +0000 Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4150.027; Tue, 25 May 2021 19:44:13 +0000 From: Drew Adams To: Rodrigo Morales , "48657@debbugs.gnu.org" <48657@debbugs.gnu.org> Subject: RE: [External] : bug#48657: Defvar delimiter for dired-copy-filename-as-kill Thread-Topic: [External] : bug#48657: Defvar delimiter for dired-copy-filename-as-kill Thread-Index: AQHXUZ5W5Au0M3Klg0qKiskkEbdvJQ== Date: Tue, 25 May 2021 19:44:13 +0000 Message-ID: References: <87v97639x9.fsf@gmail.com> In-Reply-To: <87v97639x9.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9983d649-3144-4740-03fd-08d91fb57974 x-ms-traffictypediagnostic: SA2PR10MB4570: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tN14lFrGkggehakv0ePFt9XSnC8tcCeh5juPQpX/ElzAWuSB9NP5iCPcoGd66xAxERxvuXPbK7LqP6N9div3nRxZDzrdvD/KTuRGf0hrl+xJ2bHiSPRyr0yHbRcZMmEVEOihH0gY1TkB9hmvq7ue6UZbYubzOVLIl1T++nOeqBa0NliKbGUXMCXlMsWWT1WD65wUXEuY4DITosZZTTV+1QMjUhAW7i2Z4C1GyKDnnUTOcci8bTW2drGX+QFn5/uT6RCmRPcxIzs7i4D8GVLhFgo8Rv028lO9apll+W1SRvtUHxmsN9jSqmwtf9HMIzATGpIvUgVZAZEEk0RXxzMhlhP6NWDjtbVhZ+JvWfslz/mkf0L9cXe69Jz/cdddQS8mA86YOf1cqtV2X9uM8w18lI+jgqUfq4HlQYVJUSOsy8TCdjwIpc6oSIxYo9KlVx+x78qqjbL4mkOjR1v0L2HDrWT1hwQQLJDEQ9Yva1L/I8VdNuMB7Cdv6NTiSeRPzASItDupifa0VGs0xlFhZXgoGGj3akzKHih1G+ajzSFu0T9X+VX+taY23AWNfCpKMgP4jgrv6w5aLbf65UtGVxvQu1mFV51gm1Nt64WfM2CrqOw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(136003)(396003)(376002)(366004)(39850400004)(71200400001)(122000001)(83380400001)(38100700002)(55016002)(44832011)(33656002)(186003)(52536014)(7696005)(6506007)(8676002)(26005)(76116006)(8936002)(66556008)(66946007)(64756008)(86362001)(110136005)(478600001)(5660300002)(66446008)(66476007)(316002)(9686003)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?FwBhcc8Md5lR1ualUSmbXkSo0LiU06ftHk9CH6Rn4NDwpoVBmpNyvVE0bGW1?= =?us-ascii?Q?LwpG4GogfPTcbYVA7pOHhIpq4JQccoCGFdqZ9pjyBqBoAUkvwCDOJSEEBMhG?= =?us-ascii?Q?4kByudZJEsE5pza29Y4Lm1nvzHezqO70FyeQjLQeKQXO+fDIeuWqZO5CASCE?= =?us-ascii?Q?Y1QIEKJI7nFHTNPNL/NuYH9cP6NA8ieJgJbsrVOYCipt/meiWCnxVCMBkgzX?= =?us-ascii?Q?x0weNbuJ+n7n+lO+4fjik4qjV7br0o++xVJWIldVzDtzsWYZ6ky2iB+iDjMu?= =?us-ascii?Q?LdO8XhK0g5r2cBHNraxvKdWZfsT2P+Sj4CGN3sP19VLsyvRDazyk6f+dx5yB?= =?us-ascii?Q?pxT8ch44ALSdZ+D45gqclCQPlh1LQpXCe7mEw+D1HpA9eqA5FGo5xvdnZtXf?= =?us-ascii?Q?tNK2OyIzHFLmTu0o1nLIzTQElxRyNxYBpaYQzq7Y9TdoB707cbwzd7Lt2Ahw?= =?us-ascii?Q?rSYB1eK7UWjFF+QM5KSHQQDvYY7VbUrVqr7G4Kp/wmzOdDkym/1+McnZXR4a?= =?us-ascii?Q?OCNKFD11j1ska2OafF6Hy5Z+9u83V+eAjQBCJl6yKddW+V6gWqXiPFpVglot?= =?us-ascii?Q?gy1AW2TgyJf82Rlks/YpCFoemSwY57m0oNlmjxxYhfqA6/hZTB/k1L05nmUu?= =?us-ascii?Q?/AUEiChexXmV/sZVMJfSDjro2yamZSa5HhATunkzr7dyXTy7XLtJlN3gYCgF?= =?us-ascii?Q?Se33nw6YmLJ5RUOAx2dSfIKMytAK8BJOQfwqTaWFqwdht481ghcFha63+zaG?= =?us-ascii?Q?JfF4oGntZOYwJC2+TdsU6vDor2ifyD6GU67MWBzlnVg0kyRlPHOxafOpgrPk?= =?us-ascii?Q?L2Ckmxh81Lo4XL2M4r8TAW/9Pl0ujJsiafqyPTYg3umSjg3l7AJRaKyLw7A/?= =?us-ascii?Q?sC7Fquzmr9yjWIyMWvSNfGCQsi651+M342Im30EIdS+n2ISoIIZZnHdaEgJp?= =?us-ascii?Q?hGutZZbRUBRXSvFLspA/HsXtEEmvEahBzwxuPOkXZ2uSTmDZQQamelO32jbK?= =?us-ascii?Q?6A4hSMY8lOt4Dw45OzQU9C8jfyKQL2HueBBxa2X8agG9JNqGo+vgE5nDlWZd?= =?us-ascii?Q?XCLz++oXmjAzxOvI/A9pzMFHRrFoJKKng6tObal3RADcX289vPG83ueN9Ci3?= =?us-ascii?Q?qyfU27ZLNubyU/92fVRTw1LLvlFk1I8LumhWxPkkLEoyHMwU6RAttL8+pfU3?= =?us-ascii?Q?Wjbj1HWEV/742pz/4gEZVQiGlIw7fDKeSjQw8JBID73oOlVdiUKQAZso6r0X?= =?us-ascii?Q?MKnXfZqBqQ7lQN63D5NfD2/HA3+OH7jEyiVF5locq/bdqR1SmznK2z4le2nk?= =?us-ascii?Q?b7VP8gtT+JyMtRCb6ywdpvnb?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9983d649-3144-4740-03fd-08d91fb57974 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2021 19:44:13.5977 (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: vytptOqv4smgqGyIKBMOnrye+Cg5dBLNOFDhXMDo7ldOkqnoXzg9JdC/JpHokZRjO1RZjIOg0Z44r7TgvIqPKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4570 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9995 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 adultscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105250120 X-Proofpoint-ORIG-GUID: eUs6igPpEb8jaFPk7232CindShfjoQb4 X-Proofpoint-GUID: eUs6igPpEb8jaFPk7232CindShfjoQb4 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48657 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Because the space is used as the delimiter for the > copied filenames, it is difficult (nearly impossible) to know the > beginning and end of the copied filenames. >=20 > I looked at the source code of the function and found that the space > character is hardcoded as the delimiter (see below).... >=20 > I thought that it would be useful to have a defvar that allows > specifying the delimiter for copied filenames through the mentioned > function. Perhaps, its name could be "dired-copy-filename-delimiter". Yes. This was reported by a Dired+ user a while back. Dired+ fixed it this way, FWIW: Added two defvars, and updated the command to use one as the separator and the other to hold the text that's copied to the kill ring. The second defvar is there so you can obtain the text even after the kill ring is modified. For example, command `diredp-yank-files' uses the value of that var, not whatever is currently at the head of the kill ring. And `diredp-move-files-named-in-kill-ring' uses it to move files to the current dir. (`dired-yank-files' yanks files to a directory. It looks first for files via `interprogram-paste-function', then it looks in that defvar.) ___ (defvar diredp-last-copied-filenames () "String list of file names last copied to the `kill-ring'. Copying is done by `dired-copy-filename-as-kill' and related commands.") (defvar diredp-filename-separator (copy-sequence "\000") ; "^@" ;; Should contain only chars that are invalid in a file name. "String used to separate file names in a `kill-ring' entry.") From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 24 03:11:38 2021 Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 07:11:38 +0000 Received: from localhost ([127.0.0.1]:37776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meXfO-0004l2-B8 for submit@debbugs.gnu.org; Sun, 24 Oct 2021 03:11:38 -0400 Received: from mail-pj1-f49.google.com ([209.85.216.49]:41829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meXfK-0004kZ-E4 for 48657@debbugs.gnu.org; Sun, 24 Oct 2021 03:11:36 -0400 Received: by mail-pj1-f49.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so6054843pjb.0 for <48657@debbugs.gnu.org>; Sun, 24 Oct 2021 00:11:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=o5rf4VTiHzsUUXQN16NoJWdHNb373DLNu2mhQBcg0H0=; b=ghVXBZ71gn1MmlnBpGx631PLbPHOetvArnjjgVeXq2EFwjQODPy1p/V4yFOY2EnRTa dfwMglIHw50RxW0mKDFJyQPkF+LQ9KIaYXu+4A4WHex5ySqM1hiZoa+YNn9faq3k1J+p iGA6r5yLdRSfOCKw6tFc4OYsA/SWy5ZPcMYMmeRpNxdALew2YvMqpzHoa2BBWwePP4s+ lrTAE8pSnN4B0V+ot9NJ2IACgk1cHJF5+71xyddnse9A27p3+YGjbrxQgACUYIUnzpUb rZ01fSH17RvrAbtmLaOPbUTeBYqpFlWqpNPh/eAzJuzSCLFdaJ1r+MDGyAFSw02CvImV GUNw== X-Gm-Message-State: AOAM533MQlBw9vBO1ywT9uoZgrDOzkGQpB+2etZUnXzSlNDYujbVCcgw dHl8p7uHFYFTFft+P3fHazzE+l02Ez3Q+RFVAcE= X-Google-Smtp-Source: ABdhPJwZMIm5js6HU72DyGZdj1SgKyi3mXit11n02vc/hP3wzIvJ5FGOLEFnPiX/B0UKjrIdzHrDP4BUAb42glfYUnE= X-Received: by 2002:a17:90b:3b86:: with SMTP id pc6mr9309802pjb.143.1635059488845; Sun, 24 Oct 2021 00:11:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 00:11:28 -0700 From: Stefan Kangas In-Reply-To: <83bl8yboat.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 May 2021 22:34:18 +0300") References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 24 Oct 2021 00:11:28 -0700 Message-ID: Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, Rodrigo Morales X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: >> From: Rodrigo Morales >> Date: Tue, 25 May 2021 14:12:02 -0500 >> >> (defun dired-copy-filename-as-kill (&optional arg) >> ... >> (mapconcat #'identity >> (if arg >> (cond ((zerop (prefix-numeric-value arg)) >> (dired-get-marked-files)) >> ((consp arg) >> (dired-get-marked-files t)) >> (t >> (dired-get-marked-files >> 'no-dir (prefix-numeric-value arg)))) >> (dired-get-marked-files 'no-dir)) >> " ") ;; <---- [[[ Here's the hardcoded delimiter ]]] >> ...) >> #+END_SRC >> >> I thought that it would be useful to have a defvar that allows >> specifying the delimiter for copied filenames through the mentioned >> function. Perhaps, its name could be "dired-copy-filename-delimiter". > > The only sane value for a reliable delimiter is the null byte, so > maybe it doesn't make much sense to customize it. That's true, but on the other hand replacing space with the null byte as the hard-coded delimiter for dired-copy-filename-as-kill seems a bit... clunky. Even if space sometimes fails, it is not a control character, which is why I assume that it was chosen. I've personally never had a problem with using space here, but you obviously will eventually run into problems. So I think something should be done. I was thinking for a while about allowing a user to set the delimiter with a prefix command, but then I realized that users might be using this function *a lot* (I do sometimes) and that UI would quickly get old. So perhaps we should just provide the asked for defvar? From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 24 08:02:03 2021 Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 12:02:03 +0000 Received: from localhost ([127.0.0.1]:38034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecCR-0006Z8-7w for submit@debbugs.gnu.org; Sun, 24 Oct 2021 08:02:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecCP-0006YY-Ay for 48657@debbugs.gnu.org; Sun, 24 Oct 2021 08:02:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60562) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mecCJ-0007sU-SU; Sun, 24 Oct 2021 08:01:55 -0400 Received: from [87.69.77.57] (port=1289 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mecCJ-0004s0-FY; Sun, 24 Oct 2021 08:01:55 -0400 Date: Sun, 24 Oct 2021 15:01:45 +0300 Message-Id: <83bl3e4onq.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Sun, 24 Oct 2021 00:11:28 -0700) Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, moralesrodrigo1100@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Sun, 24 Oct 2021 00:11:28 -0700 > Cc: Rodrigo Morales , 48657@debbugs.gnu.org > > >> I thought that it would be useful to have a defvar that allows > >> specifying the delimiter for copied filenames through the mentioned > >> function. Perhaps, its name could be "dired-copy-filename-delimiter". > > > > The only sane value for a reliable delimiter is the null byte, so > > maybe it doesn't make much sense to customize it. > > That's true, but on the other hand replacing space with the null byte as > the hard-coded delimiter for dired-copy-filename-as-kill seems a > bit... clunky. I don't see why. A number of GNU programs use the null byte as a reliable delimiter in similar situations (Grep, xargs, etc.), so why shouldn't we do the same? > I've personally never had a problem with using space here, but you > obviously will eventually run into problems. So I think something > should be done. Why using a space when we know it will sometimes fail? The null byte will never fail, and Emacs is perfectly capable of handling strings with embedded null bytes. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 24 08:27:59 2021 Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 12:27:59 +0000 Received: from localhost ([127.0.0.1]:38083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecbX-0007Bq-5I for submit@debbugs.gnu.org; Sun, 24 Oct 2021 08:27:59 -0400 Received: from mail-pj1-f48.google.com ([209.85.216.48]:54031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mecbU-0007Bd-WF for 48657@debbugs.gnu.org; Sun, 24 Oct 2021 08:27:57 -0400 Received: by mail-pj1-f48.google.com with SMTP id fv3so172202pjb.3 for <48657@debbugs.gnu.org>; Sun, 24 Oct 2021 05:27:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=dyYoetF/eejlQbpMqoFPeI6j3ZDOR7ooHYgtS7CCan4=; b=HgGLrBL5oE7v+CdaT7uR4RDeopG2WVLQ2et4rf5tqSl/oFXIUr5QMJD5afvCTeUUY3 9RhfdGdsHTDzzFqScjZBwAu31o9ZxXXA+UHFkl3Fg6/aY4O6k8iON3a3P8DBaAY2Comf w62GMPNHXwO5KbNe2b+2r8ycyXSL/TiQ8km+TBg8U3q1VF4SsCaFQuwygFwCb9lEHbsk bDGUBXH5exn8uVpJ/OHxxF5vnpMmS9BpOB0GC+a49pW3rDbtHIGFCAQVvuhDZ3RZELDz Rz/ov9HmFdFBR00atBvYSgC2qP1sPi4sAgVLZWP6D9J/10dSx67C9Z5m9xGq7PFYm9m1 mVKQ== X-Gm-Message-State: AOAM530aXIxqtGFMgmfu0Glzzq5RUzNd4cavstC7DrJKnF965OBRU6s2 s72TJh9yKAqgAmOnU/nPLeEuae8wfG53IuZvnPgCGG/O X-Google-Smtp-Source: ABdhPJx/sri7EsRD6Usq6wU7QH8qh/h7seaSBgbNJ+xbndrR1GqyW3n4fF7kT43G1uaCBttcVTyXPOsYns9hPKLDuxU= X-Received: by 2002:a17:90b:17d2:: with SMTP id me18mr27906076pjb.132.1635078471372; Sun, 24 Oct 2021 05:27:51 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 05:27:51 -0700 From: Stefan Kangas In-Reply-To: <83bl3e4onq.fsf@gnu.org> References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 24 Oct 2021 05:27:51 -0700 Message-ID: Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, moralesrodrigo1100@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: > I don't see why. A number of GNU programs use the null byte as a > reliable delimiter in similar situations (Grep, xargs, etc.), so why > shouldn't we do the same? They usually only do so with a special command line argument (e.g. xargs). > Why using a space when we know it will sometimes fail? The null byte > will never fail, and Emacs is perfectly capable of handling strings > with embedded null bytes. This is a user facing command, so I think users might run into some issues with it. For example, it might just be perceived as ugly. In the "normal" case, when you deal with file names without spaces in them, it also just seems more natural to use spaces. Perhaps we could just detect if any of filenames have spaces in them and use null byte delimiters if they do? From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 24 10:02:07 2021 Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 14:02:07 +0000 Received: from localhost ([127.0.0.1]:40439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mee4d-0008FJ-Bh for submit@debbugs.gnu.org; Sun, 24 Oct 2021 10:02:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mee4b-0008Eo-4J for 48657@debbugs.gnu.org; Sun, 24 Oct 2021 10:02:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35766) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mee4V-0003hJ-KL; Sun, 24 Oct 2021 10:01:59 -0400 Received: from [87.69.77.57] (port=4780 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mee4I-0000hx-Gc; Sun, 24 Oct 2021 10:01:59 -0400 Date: Sun, 24 Oct 2021 17:01:37 +0300 Message-Id: <831r4a4j3y.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Sun, 24 Oct 2021 05:27:51 -0700) Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, moralesrodrigo1100@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Sun, 24 Oct 2021 05:27:51 -0700 > Cc: moralesrodrigo1100@gmail.com, 48657@debbugs.gnu.org > > Perhaps we could just detect if any of filenames have spaces in them > and use null byte delimiters if they do? Or quote those that do? From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 24 10:27:28 2021 Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 14:27:28 +0000 Received: from localhost ([127.0.0.1]:40487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meeT9-0000PH-Uh for submit@debbugs.gnu.org; Sun, 24 Oct 2021 10:27:28 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:35440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meeT8-0000P5-0h for 48657@debbugs.gnu.org; Sun, 24 Oct 2021 10:27:26 -0400 Received: by mail-pj1-f41.google.com with SMTP id n11-20020a17090a2bcb00b001a1e7a0a6a6so5674576pje.0 for <48657@debbugs.gnu.org>; Sun, 24 Oct 2021 07:27:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=5GuEVXMCh/Jft4APTygn5U1Dpx0bBOqWtlvmCKdGDQE=; b=n5tLA31MQTfPWB0R/omHPCS/t3rBFidDtoO3X9Akp1T9tR5hmLEYFG3HWd9JaueNE5 tZytlb/UMoKog2ow7Adu4rX3aDxH18+4FceM4d2sY+2avVAeto8bADtFt9CsG6TU55Lj Q+uD15rDWlarNzNDxvu/8Mub0/6x21YbxiamQRiCqYlmT6wmik85+QVACBmaqFxVfFVs XikO5z88DUYAALwOhlEBEB1uKPiLgYkIvnTfVrKyKhcd3aBHeMZqjjmMOSQs1tNQODmy 2tKq2R9i5Iu3/9pPuLMGf1VLRllmP9uJ2SO7ouandYVIwg4rtf0jj0EuQL7I4GExdcGG dQuw== X-Gm-Message-State: AOAM530e5ITh3dOFlne2YgRca0upmmQJ07GJvROx1V0uBNkP1LdCFRnQ 5bQ2iraMOcQ06q+AZtjylLgst5QI2giGMrdogaI= X-Google-Smtp-Source: ABdhPJwruRoSgKKzwcCE8+mNawaADyHlOGKfNNozeX3apfpvIxlO8BfG/FlExyMe7jDcRthZ6KjpvOpI9hD7DeAbO1I= X-Received: by 2002:a17:902:b691:b029:12d:2b6:d116 with SMTP id c17-20020a170902b691b029012d02b6d116mr10691009pls.71.1635085640166; Sun, 24 Oct 2021 07:27:20 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 07:27:19 -0700 From: Stefan Kangas In-Reply-To: <831r4a4j3y.fsf@gnu.org> References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> <831r4a4j3y.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 24 Oct 2021 07:27:19 -0700 Message-ID: Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, moralesrodrigo1100@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: >> Perhaps we could just detect if any of filenames have spaces in them >> and use null byte delimiters if they do? > > Or quote those that do? Sure, that's another alternative. We would need to decide which type of quoting though, and I guess that will depend on what the user wants this for. For example, the quoting rules will be subtly different if the user wants this for a shell script or for Emacs Lisp. It seems non-trivial to me. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 06:37:58 2022 Received: (at 48657) by debbugs.gnu.org; 15 Jul 2022 10:37:59 +0000 Received: from localhost ([127.0.0.1]:39584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIhq-0000Ij-Jv for submit@debbugs.gnu.org; Fri, 15 Jul 2022 06:37:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIhp-0000IF-Cj for 48657@debbugs.gnu.org; Fri, 15 Jul 2022 06:37:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=aaN/TOcrmSJOID7EL+V+CsqZNu1k8SpWFtrihfBk4Ts=; b=T2HdzbrAWtnE5i7UpJQAz1OjDY /B4o1/onCcFNi52dLNLRwW94YHbjAxaTIcW1+0x8mAbcx6h8dO+rP7vu5n11/kWaNUQkk5U/KOS+Q 7BChX6vRJpIooDTMgOkJpeuG6Yqgm6Q+2tuGAqK0KWCUtx04Bc93D+82A5oEqGYEHpG8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCIhf-0005hA-2e; Fri, 15 Jul 2022 12:37:49 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#48657: Defvar delimiter for dired-copy-filename-as-kill In-Reply-To: (Stefan Kangas's message of "Sun, 24 Oct 2021 07:27:19 -0700") References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> <831r4a4j3y.fsf@gnu.org> X-Now-Playing: Autechre's _Plus_: "ecol4" Date: Fri, 15 Jul 2022 12:37:46 +0200 Message-ID: <87cze6mzk5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Sure, that's another alternative. We would need to decide which type of > quoting though, and I guess that will depend on what the user wants this > for. For example, the quoting rules will be subtl [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48657 Cc: 48657@debbugs.gnu.org, Eli Zaretskii , moralesrodrigo1100@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > Sure, that's another alternative. We would need to decide which type of > quoting though, and I guess that will depend on what the user wants this > for. For example, the quoting rules will be subtly different if the > user wants this for a shell script or for Emacs Lisp. It seems > non-trivial to me. I think the best we can get at here is something DWIM-ish -- presumably the most useful thing here is to do some quoting of files containing spaces, so I've done that in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 06:38:03 2022 Received: (at control) by debbugs.gnu.org; 15 Jul 2022 10:38:03 +0000 Received: from localhost ([127.0.0.1]:39592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIhu-0000Jd-Tm for submit@debbugs.gnu.org; Fri, 15 Jul 2022 06:38:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIhr-0000IM-QW for control@debbugs.gnu.org; Fri, 15 Jul 2022 06:38:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lMG/B5gfbjfcOD+mOMw/1B1dfRCi7geCawyzq+MBA9Q=; b=vDxU9QxVXAzGbyllSriR0uPRx5 Sxr8I2elkmcIDuBG1s16NfaKx8mvXb+W+LGVak81jG+3pYoDCJY6piGzweL0QYymSN6QXa6dCETmR oYEqxWgZf8FdDmRCpPjWcjkK3LcPklB6IpbW9M5aTBRKLEAHVBhQvo3N5hWb5FYpsOoQ=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCIhj-0005hL-TY for control@debbugs.gnu.org; Fri, 15 Jul 2022 12:37:53 +0200 Date: Fri, 15 Jul 2022 12:37:51 +0200 Message-Id: <87bktqmzk0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48657 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48657 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48657 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 10:17:15 2022 Received: (at 48657) by debbugs.gnu.org; 15 Jul 2022 14:17:15 +0000 Received: from localhost ([127.0.0.1]:41903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCM7w-0002pW-Aw for submit@debbugs.gnu.org; Fri, 15 Jul 2022 10:17:15 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:52614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCM7o-0002ow-99 for 48657@debbugs.gnu.org; Fri, 15 Jul 2022 10:17:07 -0400 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26FEDT4R027311; Fri, 15 Jul 2022 14:16:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=/IiB3ooTC1Or5iHoqcvw6Vy9qeQm/s9mbOzOzPPu1ik=; b=zQP7a6V0rLHXdyW91aDaji3IN3ajjboUE9uIPWpfFQ1YBqJUACi51iAyX98IinReSdPh 5pO2yEq4Sz2fW2/ohFErgWx5oAoPP556W61zQ2Qxlx7vt+7rh7busNo3dKvEeVTvfpOR XghMB8Csjyo4qLYbWti7B7deJHo9uVSOgL8ezcb/0Tpbe2JwQzjyOtbHRqgB+peg2ZoC z0wt4B7jTNilm7EcDKIxLRe7HJy8/MhIAnw7SiWcqZQrvsAdBXn8S5Ldwha2XLn2qlNk w/VMLHj09ULiWEOb0s/t1fKp9HhrPJfH4/ktXY0TleiezPh0ZZeW0W5P3JpBnaWIv/tB Sw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3h71rg7ugh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Jul 2022 14:16:58 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 26FEAlCX040867; Fri, 15 Jul 2022 14:16:56 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3h7046twpy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Jul 2022 14:16:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EHnVVUqeGJ7Qfy8Exg3OL1XLbrNMDX+JfbfIRT70sW0rCXjxo+TZE0eyg70RFb8RPQT4QmP1+dP4nJGHAKb5IeTWIUyIZxETrYxWB6E3SawLNEqVnU/N2N07uIeir1fPefPEMJr0cL2K5GgcLyQ2T6+oINPMyS5d/wdtnx7H/OWwUOclvxgpUcebQDpqYeZw195zuDqoO88jwevmCdxk3FZUJF5b9XKfiiueTAPnXZJjV/SvlTcF5ddXiGUw92TfGPivyQJUIHgteOWpkoc6PSEdC4FjuVOyccGy9abHf+2LXAK3JLlHflqyW2UY6cJ+WwkP/C/SiDxlYdRUX7Hj3A== 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=/IiB3ooTC1Or5iHoqcvw6Vy9qeQm/s9mbOzOzPPu1ik=; b=PGbyiZpNXfqRqoAc9XF5JLxvsFYWq9zuVDQQ7/FySMQdCPa+t9xyNl3cRKUxFD2D9/4Nk6BWIea9/odWs7fW/gP3Zo0leMVpWHWLGpVLNX7epBzWS4In+FizE1f7mdi4WMWiuZFOzGmTRgRRW/Ug0sLUcJHg4JnAwmz5sYNKHOpasYbiRHndnQDVG2ptDOFvCRCja8GqDR0zBnXK2QlT4/IHbhUi4pnX+OGdjqgLFAUM5VxCwokCGQBOXy0FzT90u38Z4BSLxJvhF4MthcHNNxbSiZd+tMeBI97Pr/agLB7o6da04IJJYSdCaLzr8PTANJTg7s1VwEoi/MoflwZPkw== 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=/IiB3ooTC1Or5iHoqcvw6Vy9qeQm/s9mbOzOzPPu1ik=; b=L3QcI+39staazS308zZFEj3rRXpdGZeKlckruLzaPiYZ0vL7072npdR4nDeIIiqPYH0XZ0c3+zb4GVj8GqQUQwCt3calefaMa4rFrAF7WOyAKmUtGZ5qToVfnARXIunogaRpUf4nliuHffufUDy1SbidYYEdrAhAbYCHAoLcZQ4= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB3545.namprd10.prod.outlook.com (2603:10b6:5:17f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Fri, 15 Jul 2022 14:16:54 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb%8]) with mapi id 15.20.5438.013; Fri, 15 Jul 2022 14:16:53 +0000 From: Drew Adams To: Lars Ingebrigtsen , Stefan Kangas Subject: RE: [External] : bug#48657: Defvar delimiter for dired-copy-filename-as-kill Thread-Topic: [External] : bug#48657: Defvar delimiter for dired-copy-filename-as-kill Thread-Index: AQHYmDb6glJPtKilGk+oeMh1mlo2aq1/ediA Date: Fri, 15 Jul 2022 14:16:53 +0000 Message-ID: References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> <831r4a4j3y.fsf@gnu.org> <87cze6mzk5.fsf@gnus.org> In-Reply-To: <87cze6mzk5.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 20b8e39f-399a-4677-beb4-08da666caaf6 x-ms-traffictypediagnostic: DM6PR10MB3545:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fBlBbd0g7GC5deYACHuaHisGQbFjVv7D185ajeAawZ5IbTzqaQ2/J/481RohNgTTC76Dv9c2spGFukPpmN17tDkR1uyhOc5hPBy4tKaHcNsjbcAL87kCpTA01lArI4wzN/k8XsbqMQkFtZ+3eUeVA51GDsvFyPKwbflf48EdyLMKbzIydYZKYsrlUp+MURsj7VfgdC/1Iaa5Lc+jJYVtg39vIzTQKpkmLIkLW82O70Z9IQl4BoF2QI/vTalczPPRKhsmXf3aqTjnwb9GODVs41b8hv7GxAWrS0w7xDoOHaf7sKwXyEZFGMOAQ8aK1b361sPx2PT2ha8mXNX7VbEr8ChjPlJ/WsUSXAipT2OdmUr/rUQO3F2x50pDcW6G0bYkLFCy7PkXWBqmbubf8MLWN/UQahtLwIVcpXrbHijKs6vQF1Z9VGsJ/9nla30RQ6CUtLQayJP+ws6TyaoJwONKSxlW5aYNUFpA4O6dKFeFU6zpAU8khCaMWWOBOmrJUuabZNIyvCT7SM3romPVfqHs3eooeyZHM/UYdeU1SFSlhIP9qvKvfcSOJ+w0nVXSfrGDKVvTCTPPajdxFgOttjf2oXyqsPJK5483ZdrADX1al6Klzg3qcHyxYtd7BXtAdeGxcXr1Z9/dLkPsh7Rra4l9xx4Qvzyxpb8deJMwNJupTkRJnBRNl0jlgMi98w6vUjvA7Rbefp3C1U+JFeMxpU98HUU2FPRHBLbhmz1KoTXWlatpU1DStTJPHgNHe/LvWKcCt2c2JRLcB0SbSQHH1zqbkdj0ZayQ9hbYyLl6RxczOKWzfKFZrnXM9YmxAdwqnbNbxhgd/M8Br2w/ghF2kX72Wd5dC8LTGKHWmWjS05cTuGJ+K4OW4uNrvsR8PO7AD+7U 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:(13230016)(39860400002)(346002)(376002)(396003)(366004)(136003)(558084003)(8676002)(66476007)(8936002)(5660300002)(44832011)(4326008)(2906002)(52536014)(55016003)(66446008)(86362001)(110136005)(64756008)(316002)(76116006)(66946007)(33656002)(66556008)(186003)(71200400001)(6506007)(26005)(7696005)(54906003)(9686003)(41300700001)(38070700005)(38100700002)(122000001)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Mt8/JU2eJYXF+q+gMGhvr8mYGW5zu8uVcdytOcNaim0442FrH8MHqaWV/gcb?= =?us-ascii?Q?6ij1XNwrdQLNmE3ixrPTvJCKm3uu1IPmlp9HXyysPvzPWsDgHhjAdiyzPYt+?= =?us-ascii?Q?PNelyYp5SC26Lpk8vnTYf8C8l8KFhLllZdBARR4T7RK+nx3l1wtJB8rNxcm5?= =?us-ascii?Q?KN5eXz8+PiCvmVBFBH3RT95jbqQOSC42qmzfu2GE5Vpd4sCa9wsojTV7RdrB?= =?us-ascii?Q?wptI9hFqTIupl+uzhU8LC2uxDM5d205kzwDEkEh/jw2GQaYXQSFfEuti6nAV?= =?us-ascii?Q?+nc9tPpSC11nb7Jr6ZPoyOnrYl2CRM8+BTEVawuNMegFtvKgq9PQyhjcYGJB?= =?us-ascii?Q?VF0WCGuKvnKz8eynp/bf+/z734CI+55ioWHqsMZ+ZZX8HksX9Ik5z0gyeJG9?= =?us-ascii?Q?2vr2FDu98zE+8qTXVtagz3Lje76cRgnc3wUHMpcN4UcSJmPOKstHE/BM0Smu?= =?us-ascii?Q?loVFGFGOTs7K/LF3H6+x8T8UgP440Jz8zq8HF852Q9lGPBaDSP/+Y0SNBY+S?= =?us-ascii?Q?GD1rTJNUUhxHK8rMScw3PegxbE50dlxjYfo1rQ6JRRMTbW4ryDx+ea55GASX?= =?us-ascii?Q?QfL9cglPUNtsMab0UZw42dbE7p8XCAN+UM+RZRmpK5/fgPLry49f9pGtXrlu?= =?us-ascii?Q?MTdaJxccMWbr62einCOhA/yD0WtGl7fMwNBn3A6Lwqy6HhyfSWPGGWZDqDwi?= =?us-ascii?Q?Tu0we6F+T+n1tHaQYrMIsCzMbPldYP+hePoa0OG38KmOUQ+fATFGi9EmIkCO?= =?us-ascii?Q?cOJfDHI3PEgCEU517MpB6HOYwi3F2/624CnPj6ik5boFL/PgZc1tRUP1CflS?= =?us-ascii?Q?flDZ86ObAjKO1OyiLt6pvXsR4ysMLiJx5wtnr7S21lfO9LHYfde6gMpiN99R?= =?us-ascii?Q?Q6aybfo25ti1w3HR/cBUjTKKACj1GjAu4c2aoVR8IYJReU4YejyDj7wUMuJd?= =?us-ascii?Q?EcBAozHbPsIzqmrn5qfLtRjhhq8Oo4ZmdZDcwHO9yrI9/hNIu4i4f4nzfwum?= =?us-ascii?Q?GuGrLZOgMIivkVWLh0Dnt7ljl7ftAj1HY47jZvtNPjLwbSC8yE5lC8KqZOr/?= =?us-ascii?Q?kbsZU5z7tt01aaGFUQg19+nbjFHr4P1gJLDt8ST7RAw/mFI2h6zSQErP93rq?= =?us-ascii?Q?f4C3QXzEUsqYrr/ng7M5O/VByF7AP9NfyU1mPFWN/bjnPffrZGk+wpzB7fO6?= =?us-ascii?Q?+lPIStloSmBFvds7CUmM4k/Qb7BGbGy9l9u45qM+7R21KkNgnAmiYxnrtKm6?= =?us-ascii?Q?IjNxxQ+QHlB9U/LTjNWEehXuWBntwLmb/or855YR0RQNoXY0TBpmLtpR7GUO?= =?us-ascii?Q?RF4BOYadWnMWoUbXS/7M/CnTdt9+5regZMBrjprKFhB/ppIy0H65qkjFOLvH?= =?us-ascii?Q?O5CZZuOPyURSrIycmZ74yj/SZJKAyO3T7a4KRL+AklEsIUsIwbplCwVv/uFs?= =?us-ascii?Q?LP4an/awYYq2X7MetKLOOmjgYfVltSLld3usBIpbqQpJz02S0CUKAOG503Bf?= =?us-ascii?Q?U0ulIhtPIRm7Qc7OqTROyT/vmnlWz9zm6OOyG7iFrKdqcFbNoA4qTqg47PNI?= =?us-ascii?Q?CagobcJhttZXsZiB56ne2w8m7+u4wcSQG5ATVwXV?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 20b8e39f-399a-4677-beb4-08da666caaf6 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jul 2022 14:16:53.6832 (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: yccFeNPq44C9r9Ez9XsekJUUtOEjgHcWa7AqzjtK2jzFj2BE93e4BM8vRjxmZ2MNBy/D++vaHrvKLqIN8IHWig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3545 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-07-15_05:2022-07-14, 2022-07-15 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 mlxlogscore=782 suspectscore=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207150063 X-Proofpoint-GUID: avADJNDnlA_yZTj9Wp18kr2L5jO8f8Gb X-Proofpoint-ORIG-GUID: avADJNDnlA_yZTj9Wp18kr2L5jO8f8Gb X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48657 Cc: "48657@debbugs.gnu.org" <48657@debbugs.gnu.org>, Eli Zaretskii , "moralesrodrigo1100@gmail.com" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I think the best we can get at here is something DWIM-ish -- presumably > the most useful thing here is to do some quoting of files containing > spaces, so I've done that in Emacs 29. FWIW, I think the right thing to do is give users easy control over this (e.g., as I suggested). From unknown Sun Jun 15 01:05:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Aug 2022 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator