GNU bug report logs - #68731
26.1; Disabling view-mode sometimes unexpectedly retains read-only mode

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Fri, 26 Jan 2024 10:37:01 UTC

Severity: normal

Found in version 26.1

To reply to this bug, email your comments to 68731 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#68731; Package emacs. (Fri, 26 Jan 2024 10:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <triska <at> metalevel.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jan 2024 10:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1;
 Disabling view-mode sometimes unexpectedly retains read-only mode
Date: Fri, 26 Jan 2024 11:35:41 +0100
To reproduce this issue, please launch Emacs with:

    $ emacs -Q

And then do:

    M-x view-mode RET
    C-u M-x view-mode RET
    M-x view-mode RET

After this, the echo area reads:

    View mode disabled in current buffer

When I then press SPC, I unexpectedly get:

    Buffer is read-only: #<buffer *scratch*>

The expectation is that since view mode is disabled, the buffer can be
edited again and is not readonly.

Thank you and all the best,
Markus


In GNU Emacs 26.1 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2019-04-09 built on mt-laptop
Windowing system distributor 'The X.Org Foundation', version 11.0.12201003
System Description:	Ubuntu 22.10

Configured using:
 'configure --with-tiff=no'

Configured features:
XPM JPEG GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 THREADS




This bug report was last modified 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.