~ushin/ushin#70: 
Improve buffer-read-only error message

Would it be possible/desirable to change the error message that displays when user attempts to edit a read-only hyperdrive file?

Instead of an error like Buffer is read-only: #<buffer [petname:foo] bar>, the errors might be: Hyperdrive not writable or Cannot write to old version

Status
RESOLVED WONT_FIX
Submitter
~ushin
Assigned to
Submitted
2 years ago
Updated
7 months ago
Labels
0.5.0 hyperdrive.el

~ushin 2 years ago

In order to accomplish this, could we locally bind command-error-function, like here?

The *Help* buffer says "This variable may be risky if used as a file-local variable."

~ushin REPORTED WONT_FIX 7 months ago

On second thought, changing the default Buffer is read-only message would likely confuse experienced Emacs users.

Register here or Log in to comment, or comment via email.