From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: delete-matching-lines should check for readonly buffers before the fact Date: 16 Jul 2002 18:17:12 +0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87y9cc5653.fsf@jidanni.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026820269 5696 127.0.0.1 (16 Jul 2002 11:51:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2002 11:51:09 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17UQrE-0001Tf-00 for ; Tue, 16 Jul 2002 13:51:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UQrF-0007DG-00; Tue, 16 Jul 2002 07:51:09 -0400 Original-Received: from chx400.switch.ch ([130.59.10.2]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UQaY-0006gF-00 for ; Tue, 16 Jul 2002 07:33:55 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 17UQaX-0003Ex-00 for gnu-emacs-bug@moderators.isc.org; Tue, 16 Jul 2002 13:33:53 +0200 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Tue, 16 Jul 2002 13:33:53 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Tue, 16 Jul 2002 13:33:52 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 61-227-47-30.hinet-ip.hinet.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 8 X-Orig-NNTP-Posting-Host: 61-227-47-30.hinet-ip.hinet.net (61.227.47.30) X-Orig-X-Trace: fu-berlin.de 1026819232 26310399 61.227.47.30 (16 [99749]) X-Orig-Path: 127.0.0.1!nobody User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2718 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2718 I have been victimized again by emacs. This time I did M-x delete-matching-lines. Ok, so then it prompts me for the regexp. OK, I give it. Next thing you know it's like "HA HA Sucker, readonly buffer!!! Knew it all along but just wanted to see how dumb you were". I looked down and indeed, I had issued the command to a readonly buffer. -- http://jidanni.org/ Taiwan(04)25854780