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: Sun, 13 Oct 2019 23:21:51 +0000 (UTC) Message-ID: <7e2e7d39-fa26-4970-b816-355165f862f1@default> 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="105129"; 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 Mon Oct 14 01:23:12 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 1iJnCg-000REv-VH for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 01:23:11 +0200 Original-Received: from localhost ([::1]:43498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJnCf-0003bv-SV for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Oct 2019 19:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJnCZ-0003bc-KZ for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 19:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJnCY-0004U5-Dk for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 19:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJnCY-0004Tz-Ag for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 19:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJnCY-0001hL-42 for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 19:23: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: Sun, 13 Oct 2019 23:23: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.15710089226446 (code B ref 24897); Sun, 13 Oct 2019 23:23:02 +0000 Original-Received: (at 24897) by debbugs.gnu.org; 13 Oct 2019 23:22:02 +0000 Original-Received: from localhost ([127.0.0.1]:37308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJnBZ-0001fg-TH for submit@debbugs.gnu.org; Sun, 13 Oct 2019 19:22:02 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJnBX-0001fN-Sm for 24897@debbugs.gnu.org; Sun, 13 Oct 2019 19:22:01 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9DNJFtY080191; Sun, 13 Oct 2019 23:21:53 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=iUFvrRT8UkA2CUuR8rvUrq0rXL7REU4ok7g54wf7Nvo=; b=WGaJQnJvhI2jBLbfpznnQgfYKezCAh7SZJr3QuUegojhNq0jdIf91tER64xhH7wWClKe n7hoV2yJCtgSA5ODgz/8ekJlJZVZZTwrCrqsnTi6A08u0ci6QUjAGkdNR1lsTVmqhgxz le6cpaNLxNnjIVMPGG9wsNW86V1CfZrefK29OsLGsUTMg8xk/HFbFmv16dfdap/VV2Ys PvnH8yBGhIaaRcHiYeEzkUjgvzF2y7XMSx8vG25lJGGHINp6P6fTB5skd33iNZseiIti VI3xhoMcIC5YGLK3riCnvF1I+MdnXnGBFKxNcAhMwY3gN7BF803+zYDGijXmGcPUlE62 UQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2vk6sq57m5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 13 Oct 2019 23:21:53 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9DNIUVh191526; Sun, 13 Oct 2019 23:21:53 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2vks05kqkx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 13 Oct 2019 23:21:53 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x9DNLp6M019551; Sun, 13 Oct 2019 23:21:52 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=9409 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=965 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910130234 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9409 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=1015 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-1910130234 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:169169 Archived-At: > Are you suggesting that we fully document how both symbolic and octal > modes work on Unix-like systems here? How they work? No. Everything about them ("fully")? No. Something about them - a simple example? Why not? I suggest something like this: Instead of "symbolic modes like `g+w'" we say "symbolic modes like `a+w' and `a-w'". `a+w' and `a-w'o are likely the most useful for users on MS Windows. And I think it helps to show both + and -. (I wouldn't mind if we even indicated that +w adds write permission and -w takes it away. But I don't push for that.) > If so, I think it's outside the > scope of this doc string. Linking to separate documentation seems > more sensible, and the new patch I suggested does that. Linking to complete doc (which is necessarily outside Emacs, as you say), is helpful, of course. It's even necessary. But the Emacs doc can provide at least a little help - something simple that even an MS Windows user can use. A simple example can go a long way. > +Note that on MS-Windows only the `w' (write) bit is meaningful: > +resetting it makes the file read-only. Changing any other bit > +has no effect on MS-Windows I'm not sure "resetting" is as clear as this can be. How about something like this? Note that on MS-Windows only the `w' (write) bit is meaningful. Adding it (`a+w') makes a file writable. Removing it (`a-w') makes a file read-only. Changing any other bit has no effect on MS-Windows. (I also think, but Eli will correct me - and this might depend on one's setup, that the use of `g',`u', and `o' is useless on MS Windows. At least in my case there's no distinction between `g', `u', `o', and `a'. But I think I recall Eli saying that it is possible on Windows for these to make a difference.) Anyway, what you have already is an improvement. Thx.