From: Reuben Thomas <rrt@sc3d.org>
To: bug-emacs@gnu.org
Subject: whitespace.el: auto-cleanup on kill prevents killing read-only buffers
Date: Fri, 2 May 2008 15:35:26 +0100 (BST) [thread overview]
Message-ID: <alpine.DEB.1.00.0805021532540.10349@canta> (raw)
I have whitespace-global-mode on and have it set to auto-cleanup on kill.
This stops read-only buffers from being killed, as auto-cleanup tries to
clean them up, gets an error, and aborts the kill.
The old whitespace mode used to check to see if it was being called in a
read-only buffer, and didn't try to clean up under those circumstances.
I'm using Emacs 23.0.60.1, but as far as I can tell the problem still exists
in CVS head.
--
http://rrt.sc3d.org/ | Floc: an egregiously good aperitif
next reply other threads:[~2008-05-02 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 14:35 Reuben Thomas [this message]
2008-06-04 14:52 ` bug#360: whitespace.el: auto-cleanup on kill prevents killing read-only buffers Reuben Thomas
2008-06-05 4:26 ` Stefan Monnier
2008-09-06 3:25 ` bug#360: marked as done (whitespace.el: auto-cleanup on kill prevents killing read-only buffers) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0805021532540.10349@canta \
--to=rrt@sc3d.org \
--cc=bug-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).