GNU bug report logs -
#37950
27.0.50; File error regression
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sun, 27 Oct 2019 22:53:02 UTC
Severity: normal
Found in version 27.0.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37950 in the body.
You can then email your comments to 37950 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37950
; Package
emacs
.
(Sun, 27 Oct 2019 22:53:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 27 Oct 2019 22:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
0. emacs -Q
1. in Dired type 'v' ('dired-view-file') to view a read-protected file, e.g.
from non-root to visit a file with such permissions: -rw------- root root
2. Empty buffer is displayed (but the file size is several kilobytes)
3. The echo area displays the message:
View mode: type C-h for help, h for commands, q to quit.
4. Visiting *Messages* reveals the error message:
Note: file is write protected
obscured by the View mode message above.
But this error message is wrong anyway. In previous versions
the error message was correct:
find-file-noselect-1: File is not readable:
and it rightfully refused to visit the read-protected file.
In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2019-10-27 built on localhost
Repository revision: c6667cc6a958e06fd43fb1ee0e80753adfefa49d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Linux Mint 19
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Note: file is write protected
View mode: type C-h for help, h for commands, q to quit.
Configured using:
'configure --with-x-toolkit=gtk3 --with-xwidgets --with-xft
--with-modules --enable-checking=yes,glyphs
--enable-check-lisp-object-type 'CFLAGS=-O0 -g3 -gdwarf-4''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS PDUMPER
LCMS2 GMP
Important settings:
value of $LC_MONETARY: et_EE.UTF-8
value of $LC_NUMERIC: en_US.UTF-8
value of $LC_TIME: en_DK.utf8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Fri, 01 Nov 2019 06:40:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Juri Linkov <juri <at> linkov.net>
:
bug acknowledged by developer.
(Fri, 01 Nov 2019 06:40:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 37950-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for the bug report. That one's my fault, as it was due to this patch:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ba0605779e0e207161441c08afdfac57ed603f69
which fixed a problem elsewhere but introduced a bug. I installed the attached
patch to fix things.
[0001-Fix-insert-file-contents-file-error-regression.patch (text/x-patch, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 29 Nov 2019 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.