From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24897: 24.5; doc for `M' in Dired Date: Fri, 11 Oct 2019 08:42:21 -0700 (PDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28241"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 24897@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 11 17:50:47 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIxBm-00079C-3x for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2019 17:50:46 +0200 Original-Received: from localhost ([::1]:52478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIxBk-0007UJ-ST for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2019 11:50:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59917) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIx4K-0002UI-84 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 11:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIx4I-0002qw-T1 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 11:43:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIx4I-0002qi-PP for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIx4I-0000I7-J3 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 11:43: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: Fri, 11 Oct 2019 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24897-submit@debbugs.gnu.org id=B24897.15708085521053 (code B ref 24897); Fri, 11 Oct 2019 15:43:02 +0000 Original-Received: (at 24897) by debbugs.gnu.org; 11 Oct 2019 15:42:32 +0000 Original-Received: from localhost ([127.0.0.1]:60178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIx3o-0000Gv-EN for submit@debbugs.gnu.org; Fri, 11 Oct 2019 11:42:32 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:45540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIx3m-0000Gc-Js for 24897@debbugs.gnu.org; Fri, 11 Oct 2019 11:42:31 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9BFNfxi096791; Fri, 11 Oct 2019 15:42:24 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-2019-08-05; bh=dWFUvRkf7fIfdjoZ4DbC0skLLd/bUjESTy+7bKtbJr0=; b=floLR+nLy2/lqc8m5LlrtEATprfgONnTGkr/udm+0R4nXJTQvJzmMm75H6S9CJR+xM+T TuUHuS712blPI8NUg0FV/y+OH1kdLunwvJIkWKFgQSAY4jDsG909mL3bHglje2kfjvX9 hPdnAX95HFFxTL/X4ZTCepAhCVABAEI9ulCjDdk5So9tth5BEIpVe2TajUqPod7CG6/a eT46NSsNZvAl6tRKSxDfgjON+kWSxAXwdmWDl6XfAzlM0JeJBs1fwXxgNiED5AY5RX6p +rtTu+K6at+nmvvx5CKvTMr+RGPdgcx0jbcR5ZwQO+ptfVGCnQj0lbCEWVymk9BWqbOd uw== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 2vejkv2jkq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Oct 2019 15:42:24 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9BFOCiV071431; Fri, 11 Oct 2019 15:42:24 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 2vjrycdugg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Oct 2019 15:42:24 +0000 Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9BFgMMK007081; Fri, 11 Oct 2019 15:42:22 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9406 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910110143 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9406 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910110143 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: 209.51.188.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:168996 Archived-At: > > I don't suggest that we "explain the w bit", for Windows users. > > > > My suggestion is to: > > > > 1. State that `chmod' does not apply, in general, to MS Windows. > > (If you want to say why - no such bits etc., fine, but that's > > not really needed, IMO.) > > 2. State that you can use `chmod' to make a file writable or > > read-only. And say how to do so. >=20 > How about the attached patch? Thanks for looking at this enhancement request. But, sorry, that's not it at all. 1. It's definitely not the case that "This command is generally not relevant on MS-Windows." `M' _is_ relevant for MS Windows. I use it all the time - every day. What's the case is that on Windows you can't distinguish the different parts of the permissions string: you can only change them for all users at once. But you can certainly change, for all users, from read-only to writable, etc. Admittedly, the text from me that you quote above can give the impression that `M' is not relevant for MS Windows. But reading all of the report makes clear that it is very relevant. For example: It is reasonable for a user on Windows to use `M' to make files read-only or writable. 2. The main point of the request is to ask that the doc for `M' say something about the permissions, that it _not_ just point to a `man' page (which typically won't be available for MS Windows users anyway). It's good for the doc to _also_ mention the `chmod' command and its `man' page, but this bug report asks that the `M' doc itself provide at least a minimum of help about this - the possible user inputs and their effects. The doc currently says, e.g., "Symbolic modes like `g+w' are allowed." But that means nothing by itself. This is the point of the bug report - what it says at the outset: [The user might] not know the UNIX command `chmod', and might not know about file and directory permissions. S?he might not even have what it takes locally to use `M-x man', to find out. And the doc for `M' - both the doc string and the Emacs manual, does not really explain `chmod' or what kind of input a user can type to the prompt from `M'. I think it would be helpful, for at least some users, to add some more explanation. In particular, it could explain about u, g, o, and a, and about the permissions fields rwx and their values.