From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29412: 27.0.50; dired-toggle-read-only should (at some point!) check that the direcory is writeable Date: Sat, 12 Dec 2020 11:26:37 -0800 (PST) Message-ID: <505c79af-0056-4f66-aca8-9559f6ef2bff@default> References: <87o9nt2cvo.fsf@ctlt579.codethink.co.uk> <87y2i35ke7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 29412@debbugs.gnu.org To: Lars Ingebrigtsen , Robert Marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 12 22:14:44 2020 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 1koCDx-0009Tg-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 22:14:41 +0100 Original-Received: from localhost ([::1]:39750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koCDw-0001ol-LH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 16:14:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koAZo-0004mM-Fs for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 14:29:12 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koAZi-0002QC-E2 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 14:29:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koAZi-0004Dp-94 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 14:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Dec 2020 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 29412-submit@debbugs.gnu.org id=B29412.160780133816218 (code B ref 29412); Sat, 12 Dec 2020 19:29:02 +0000 Original-Received: (at 29412) by debbugs.gnu.org; 12 Dec 2020 19:28:58 +0000 Original-Received: from localhost ([127.0.0.1]:46618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koAZe-0004DW-Ff for submit@debbugs.gnu.org; Sat, 12 Dec 2020 14:28:58 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:49774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koAZc-0004DI-Jb for 29412@debbugs.gnu.org; Sat, 12 Dec 2020 14:28:57 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BCJO100010547; Sat, 12 Dec 2020 19:28:44 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-2020-01-29; bh=1n8btaLv8fxRjkpL8uI5h5SeUZJdw1Nr9hmRIx6t5FU=; b=Xgc0QKkBQ5noKRMNXXIbhrNnxnDyT9JI2FPnnIpX+AggvvsxxvQcS3bNIapaUPDvMsfc 5M/oe0UoTyHm/4rtXMUXDxyjfvqLNo+vuB98aPNkWYPkr9O8ZS6DZcsIURTFW9gvdqAn koF5k4rRzw0bIIlyIXF+BgT4KryVp+7L7Jq7WP2bGvIaXEqD8ZiCHhb0UBNVuYQw/MEP RxITIyqZWPiIasKyaxGYyZJRaxuURGT/0+LAw8HsMel6NMA4RLmu9QarvqrFNf0h9D/1 aG6wrsvd4DRiLFix7rdQWre3G/rPbuD5mOjhCbW3k22gGMhtnd8IR8RqM9WBaybtnaqZ og== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 35cn9r17xp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 12 Dec 2020 19:28:44 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BCJQhOm126812; Sat, 12 Dec 2020 19:26:43 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 35cnnyyfne-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 12 Dec 2020 19:26:43 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0BCJQcN7011364; Sat, 12 Dec 2020 19:26:38 GMT In-Reply-To: <87y2i35ke7.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9833 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012120152 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9833 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 malwarescore=0 priorityscore=1501 phishscore=0 mlxscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012120151 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:195902 Archived-At: > I've now made `C-c C-q' signal an error if the directory isn't writable > in Emacs 28. I don't feel strongly about this, but I wonder whether that's the right thing to do. We do NOT do that for files, for example. The use cases, for files and directories too, I believe, are these: 1. You can make changes in the buffer for other reasons, with no intention to save. You can do that to affect information gathering, analysis, discovery, sorting, searching whatever. 2. You can make changes and THEN make the file or dir writable (inside or outside Emacs), and THEN save the changes you've already prepared. #2 can be handy in a situation where the resource is shared, or where for some other reason you want to minimize the time during which it is writable: you=20 make it writable only for the duration of saving, not for the entire time you do the editing. Unless I'm missing some counter arguments, I'd say this request and the "fix", though well-meaning, are misguided.