From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#360: marked as done (whitespace.el: auto-cleanup on kill prevents killing read-only buffers) Date: Fri, 5 Sep 2008 20:25:05 -0700 Message-ID: References: <18625.62937.543118.985492@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1220671505-7105-0" X-Trace: ger.gmane.org 1220671672 5091 80.91.229.12 (6 Sep 2008 03:27:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2008 03:27:52 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 06 05:28:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KboTc-00056P-5P for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 05:28:44 +0200 Original-Received: from localhost ([127.0.0.1]:44899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KboSc-0007KL-7v for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Sep 2008 23:27:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KboSY-0007K0-Hq for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:27:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KboSX-0007JH-LQ for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:27:37 -0400 Original-Received: from [199.232.76.173] (port=58755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KboSX-0007JE-GO for bug-gnu-emacs@gnu.org; Fri, 05 Sep 2008 23:27:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55151) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KboST-0005Mm-GQ; Fri, 05 Sep 2008 23:27:33 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m863RVid008434; Fri, 5 Sep 2008 20:27:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m863P5JV007221; Fri, 5 Sep 2008 20:25:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 360 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: moreinfo X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20218 Archived-At: This is a multi-part message in MIME format... ------------=_1220671505-7105-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 5 Sep 2008 23:15:37 -0400 with message-id <18625.62937.543118.985492@fencepost.gnu.org> and subject line Re: #360: whitespace.el: auto-cleanup on kill prevents kil= ling read-only buffers has caused the Emacs bug report #360, regarding whitespace.el: auto-cleanup on kill prevents killing read-only bu= ffers to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 360: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D360 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1220671505-7105-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Jun 2008 14:53:16 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m54Er5TD005467 for ; Wed, 4 Jun 2008 07:53:08 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3uMK-0001vx-Fr for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2008 10:53:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3uMF-0001uV-P2 for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2008 10:53:04 -0400 Received: from [199.232.76.173] (port=43617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3uMF-0001uS-MV for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2008 10:52:59 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:46730) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3uME-0005f3-GU for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2008 10:52:59 -0400 Received: from mx10.gnu.org ([199.232.76.166]:43144) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K3uKN-00037S-1l for bug-emacs@gnu.org; Wed, 04 Jun 2008 10:51:03 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K3uM3-0005dh-UZ for bug-emacs@gnu.org; Wed, 04 Jun 2008 10:52:53 -0400 Received: from pelican.sc3d.org ([216.184.201.86]:2144) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3uM2-0005Zk-TX for bug-emacs@gnu.org; Wed, 04 Jun 2008 10:52:47 -0400 DKIM-Signature: a=rsa-sha1; t=1212591088; x=1213195888; s=key1024; d=sc3d.org; c=relaxed/relaxed; q=dns; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:In-Reply-To:References; b=vSFnTJRuBgExSuZeGSMJqopNH9V3a72wrYf+Pf7Wdu5lG9pJySrCW1E5bkPsUVAPMfxfSklB2qPIGPWVuk+jDczV/SPctsMWxZRp4YON+s55Gdbn20A03EY1ZoRf67Mw/giTUDtwxDkYiPi+7ZMO8VNeOjduLdxc41PGhfVCB4c= Received: from canta.config (78-105-4-25.zone3.bethere.co.uk [78.105.4.25]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id KUD65428 for ; Wed, 04 Jun 2008 10:51:28 -0400 Date: Wed, 4 Jun 2008 15:52:19 +0100 (BST) From: Reuben Thomas X-X-Sender: rrt@canta To: bug-emacs@gnu.org Subject: Re: whitespace.el: auto-cleanup on kill prevents killing read-only buffers In-Reply-To: Message-ID: References: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) On Fri, 2 May 2008, Reuben Thomas wrote: > 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. This problem can be fixed by wrapping the body of whitespace-clean in (unless buffer-read-only). I don't know if that fix has problems, but it at least works for me. -- http://rrt.sc3d.org/ | Matthew 5:37 <-- tri-state logic considered harmful ------------=_1220671505-7105-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 360-done) by emacsbugs.donarmstrong.com; 6 Sep 2008 03:17:22 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m863HJe4005054 for <360-done@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 20:17:20 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KboGv-0006mU-JF; Fri, 05 Sep 2008 23:15:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18625.62937.543118.985492@fencepost.gnu.org> Date: Fri, 5 Sep 2008 23:15:37 -0400 From: Glenn Morris To: 360-done@emacsbugs.donarmstrong.com Subject: Re: #360: whitespace.el: auto-cleanup on kill prevents killing read-only buffers X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: |y#1|.gk2W{.[|8#Z[4AT|)0EgUxqTx?S1gw"Y^DQE$76~Cb;]E@JOb-!;px>78WlVjXo? X-Debbugs-No-Ack: yes 2008-09-05 Vinicius Jose Latorre * whitespace.el: Fix auto-cleanup on kill prevents killing read-only buffers (bug#360). ------------=_1220671505-7105-0--