From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24184: 25.0.94; dired-copy-filename-as-kill does not quote or properly separate file names Date: Mon, 16 Apr 2018 15:35:56 -0700 (PDT) Message-ID: References: <87a7u45ahp.fsf@mouse.gnus.org> <874lka51h4.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1523918112 10342 195.159.176.226 (16 Apr 2018 22:35:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2018 22:35:12 +0000 (UTC) Cc: Gereon Kaiping , 24184@debbugs.gnu.org To: Juri Linkov , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 00:35:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8CiJ-0002Z2-4T for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 00:35:07 +0200 Original-Received: from localhost ([::1]:49041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8CkP-0005Ff-OL for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Apr 2018 18:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8CkE-0005FG-3j for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 18:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8CkB-0000c8-0o for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 18:37:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48526) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8CkA-0000aM-Sr for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 18:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8CkA-0000kH-Gs for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Apr 2018 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24184 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24184-submit@debbugs.gnu.org id=B24184.15239181662776 (code B ref 24184); Mon, 16 Apr 2018 22:37:02 +0000 Original-Received: (at 24184) by debbugs.gnu.org; 16 Apr 2018 22:36:06 +0000 Original-Received: from localhost ([127.0.0.1]:56418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8CjG-0000ii-KR for submit@debbugs.gnu.org; Mon, 16 Apr 2018 18:36:06 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:41922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8CjF-0000iE-6V for 24184@debbugs.gnu.org; Mon, 16 Apr 2018 18:36:05 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3GMPwik050557; Mon, 16 Apr 2018 22:35:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=cFVpbg33aELXH/DcrQXh7eiVncsw23W2kXVAfIQAsH8=; b=AjGoOOEbL1RhpcDbt/AmunE7JxN/aY3B+W5tpa+5HanHH5xXWA6AiEZCoX2neyQz0qby HOvum1DZQABEgYrUyuct9nbzrvT1A6J9YRjbGwqc97pL4i1IoOHeP2L2838pHlXplDP5 U8XSBmUZixp3W6x10/LF2lx/8SM5Krk7qBm6COTLzNTwGaMrR63b06ltqpVMKBci67U0 5bfOC5lAI+vYFB5AmK/Ej8iKRiKUvBP4z34dCNZEPp+4qhjq2CVL+Ai04+CBVOMKiQ/w ANW/dr0k2txJIliME0QshfaZetPX0s/cZ7uGVz13uXdD6N470/NqLm8AiADBWzdNU91P VA== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2hbam579bq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Apr 2018 22:35:59 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w3GMZwYX026357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Apr 2018 22:35:58 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w3GMZvEF025848; Mon, 16 Apr 2018 22:35:58 GMT In-Reply-To: <874lka51h4.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8865 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=903 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804160189 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145468 Archived-At: > I think filenames should be quoted only when really necessary. IOW, > only if (not (equal (shell-quote-argument "this file") "this file")) > but not when (equal (shell-quote-argument "this-file") "this-file"). Even stronger than that. There is no reason to suppose that everyone wants to yank the text only in contexts where it should be double-quoted. On the contrary. People have been usefully yanking it and using it without quotes for decades. This is a useful, longstanding Emacs feature. If someone wants a different copy or paste or both behavior then s?he can define a new command and bind a key to it. If someone thinks that Emacs itself needs such a command and key then s?he can propose it. But there is zero reason to co-opt this fine feature by replacing it by something else.