From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [found the culprit] Date: Wed, 14 Nov 2018 09:22:59 -0800 (PST) Message-ID: References: <875zx1xgiq.fsf@mat.ucm.es>> <83lg5w9956.fsf@gnu.org> <87d0r76ewm.fsf_-_@mat.ucm.es>> <87tvkjq2mh.fsf_-_@mat.ucm.es>> <834lcj8y1f.fsf@gnu.org>> <83y39v7gym.fsf@gnu.org> 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 1542216066 2802 195.159.176.226 (14 Nov 2018 17:21:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2018 17:21:06 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 14 18:21:02 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gMyqb-0000bJ-Ir for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2018 18:21:01 +0100 Original-Received: from localhost ([::1]:33479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMysi-0003dI-4w for ged-emacs-devel@m.gmane.org; Wed, 14 Nov 2018 12:23:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMysc-0003d9-E5 for emacs-devel@gnu.org; Wed, 14 Nov 2018 12:23:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMysZ-0004zX-Ai for emacs-devel@gnu.org; Wed, 14 Nov 2018 12:23:06 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:39478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMysZ-0004yp-2P for emacs-devel@gnu.org; Wed, 14 Nov 2018 12:23:03 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAEHIli8182573; Wed, 14 Nov 2018 17:23:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=EXQ1dexOWCvtu3NVCWWP5rcnMywByC4Zbaj8bqkrxDc=; b=PRxqSdcU7hIdUoVekcpCZmKgKaa2RVGFz4KSNU4AylmWsrteB7Fh1rTi92O1oaxDGBKA lZQe1My5bN5+KQ3gPTzNaBz10rCuoJ7QnCMTAIexku7K1GI3E6QBhQASvVKnI7bVFWja cdqP2JLNO4CixQaIjj8TOSevrGgKDylnnBNmzqrA6pK6KrX2PZAQiI/W3jSGkpFVshdf E9gOBEjqZKBqwQEK5ZtQ1fP5bCKIsxyoTRPYMN7PGRMs2snBG+aITHrkNu4RoQdxiyQo bzTrjmHSRPU9Y7tToKpoOUsOfRO75u3ZEzroKP0A6vnaBIptDbmwug25u3By8ZdnWp4j MA== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2nr7cs4xb9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Nov 2018 17:23:01 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAEHN0qo004022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Nov 2018 17:23:01 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wAEHN0rX022832; Wed, 14 Nov 2018 17:23:00 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4756.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9077 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=753 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811140156 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.86 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231140 Archived-At: > >> Compress or uncompress marked (or next prefix argument) files. > >> A prefix argument ARG specifies files to use instead of marked. > >> An integer means use the next ARG files (previous -ARG, if < 0). > >> `C-u': Use the current file (whether or not any are marked). > >> `C-u C-u': Use all files in Dired, except directories. > >> `C-u C-u C-u': Use all files and directories, except `.' and `..'. > >> `C-u C-u C-u C-u': Use all files and all directories. > > > > Is "C-u 0' available? >=20 > I don't think we should base our decision on what some external package > happened to choose. Especially since the above C-u usage does not > follow Emacs's use of C-u. 1. I didn't say you should base your decision on what Dired+ uses. I just mentioned what it uses, and has used for a long time. And it's a general scheme, applied to `dired-do-*' commands generally. The conflict is not a minor one, e.g., affecting just `Z'. A better idea is for vanilla Emacs to adopt that general scheme. It's a good scheme - I didn't just "happen to choose" it. And it fits with the existing vanilla behavior, both wrt numeric arg and plain C-u. The only divergence is the addition of behaviors for multiple C-u, which most users will use much less commonly. (Well, actually, I find I use multiple C-u more than I use numeric.) 2. How does the above C-u usage "not follow Emacs's use of C-u"? 3. `Z' is a `dired-do-*' command. Its prefix arg behavior should, other things being equal, follow the pattern of the other `dired-do-*' commands. However, the behavior of `Z' itself (`dired-do-compress') can be whatever you want, including treating directories specially.