From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#48657: Defvar delimiter for dired-copy-filename-as-kill Date: Sun, 24 Oct 2021 07:27:19 -0700 Message-ID: References: <87v97639x9.fsf@gmail.com> <83bl8yboat.fsf@gnu.org> <83bl3e4onq.fsf@gnu.org> <831r4a4j3y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39336"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48657@debbugs.gnu.org, moralesrodrigo1100@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 16:28:48 2021 Return-path: Envelope-to: geb-bug-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 1meeUS-000A28-7X for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 16:28:48 +0200 Original-Received: from localhost ([::1]:37450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meeUR-0005by-Ag for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 10:28:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meeTj-0004T8-KZ for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 10:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meeTj-0000bu-C7 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 10:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meeTj-0000R9-94 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 10:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2021 14:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48657 X-GNU-PR-Package: emacs Original-Received: via spool by 48657-submit@debbugs.gnu.org id=B48657.16350856481571 (code B ref 48657); Sun, 24 Oct 2021 14:28:03 +0000 Original-Received: (at 48657) by debbugs.gnu.org; 24 Oct 2021 14:27:28 +0000 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 07:27:19 -0700 In-Reply-To: <831r4a4j3y.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218134 Archived-At: 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.