unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* whitespace.el: auto-cleanup on kill prevents killing read-only buffers
@ 2008-05-02 14:35 Reuben Thomas
  2008-06-04 14:52 ` bug#360: " Reuben Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Reuben Thomas @ 2008-05-02 14:35 UTC (permalink / raw)
  To: bug-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-06  3:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 14:35 whitespace.el: auto-cleanup on kill prevents killing read-only buffers Reuben Thomas
2008-06-04 14:52 ` bug#360: " 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

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).