From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Marshall 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: Thu, 23 Nov 2017 16:11:55 +0000 Message-ID: <87o9nt2cvo.fsf@ctlt579.codethink.co.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511454669 22619 195.159.176.226 (23 Nov 2017 16:31:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2017 16:31:09 +0000 (UTC) To: 29412@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 23 17:31:00 2017 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 1eHuOx-0005FD-KZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 17:30:59 +0100 Original-Received: from localhost ([::1]:45111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuP5-0005lI-0y for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 11:31:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuN8-0004Fw-Ki for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:29:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHuN4-0006FJ-4s for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHuN4-0006EU-0S for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHuN3-0007Z6-Ma for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Marshall Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Nov 2017 16:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151145452629056 (code B ref -1); Thu, 23 Nov 2017 16:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2017 16:28:46 +0000 Original-Received: from localhost ([127.0.0.1]:54059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHuMo-0007Ya-Cp for submit@debbugs.gnu.org; Thu, 23 Nov 2017 11:28:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHuMm-0007YL-IH for submit@debbugs.gnu.org; Thu, 23 Nov 2017 11:28:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHuMg-0004xR-LA for submit@debbugs.gnu.org; Thu, 23 Nov 2017 11:28:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHuMg-0004xH-IX for submit@debbugs.gnu.org; Thu, 23 Nov 2017 11:28:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuMf-0003wJ-C8 for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:28:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHuMb-0004sv-RO for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:28:37 -0500 Original-Received: from imap1.codethink.co.uk ([176.9.8.82]:53114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHuMb-0004YZ-KA for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 11:28:33 -0500 Original-Received: from [167.98.27.226] (helo=ct-lt-579.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1eHu6X-0003kd-Cz for ; Thu, 23 Nov 2017 16:11:57 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:140268 Archived-At: In a shell mkdir dired-err touch dired-err/xx chmod 555 dired-err emacs -Q M-x dired dired-err C-x C-q edit the xx file name to taste C-c C-c (finish the edit) You exit the filename editing mode with an error (not surprising) but all your edits are lost. It would be more helpful if either C-x C-q gave you a warning or the finish of the edit spotted that nothing was going to work and complained or that it didn't exit the mode (though I realise that there may be cases where some edits may have worked e.g. where the dired-err subdir has been inserted in another dired session before editing the file names) In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.25) of 2017-11-14 built on ct-lt-579 Repository revision: 13248f7444630508cfc3b78a07e8d96613af11c8 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.9 (jessie) Recent messages: Saving file /home/robertmarshall/.newsrc.eld... Wrote /home/robertmarshall/.newsrc.eld Saving /home/robertmarshall/.newsrc.eld...done Directory has changed on disk; type g to update Dired Press C-c C-c when finished or C-c ESC to abort changes 1 rename actions failed--type ? for details Auto-saving... Quit Type C-x 1 to delete the help window. Scanning for dabbrevs...done [2 times] Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t gnus-desktop-notify-mode: t diff-auto-refine-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: