From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.help Subject: Re: How to protect a buffer from being deleted by accident? Date: 06 Dec 2002 14:43:53 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039204299 29846 80.91.224.249 (6 Dec 2002 19:51:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2002 19:51:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KOVP-0007jT-00 for ; Fri, 06 Dec 2002 20:51:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KOPN-0006QP-00; Fri, 06 Dec 2002 14:45:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18KOOh-0006HY-00 for help-gnu-emacs@gnu.org; Fri, 06 Dec 2002 14:44:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18KOOC-0006BW-00 for help-gnu-emacs@gnu.org; Fri, 06 Dec 2002 14:44:27 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KOOB-0006AQ-00 for help-gnu-emacs@gnu.org; Fri, 06 Dec 2002 14:43:55 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18KOO6-0006t5-00 for ; Fri, 06 Dec 2002 20:43:50 +0100 Original-To: help-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18KOO4-0006sn-00 for ; Fri, 06 Dec 2002 20:43:48 +0100 Original-Path: not-for-mail Original-Lines: 24 Original-NNTP-Posting-Host: rrcs-nys-24-97-108-46.biz.rr.com Original-X-Trace: main.gmane.org 1039203828 15820 24.97.108.46 (6 Dec 2002 19:43:48 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Fri, 6 Dec 2002 19:43:48 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4352 Adalbert Perbandt writes: > Hi there, > > At my site we're using clearcase mode (clearcase.el) for a long time > with very few problems. Some time ago one of our users deleted the > buffer "*clearcase*" inadvertently. > > Now I'd like to provide a simple mechanism which disallows for > deletion of this buffer. I think, it would not be too complex to > implement this but I don't know any simple method to get it > done. Maybe there is a posibility to mark a specific buffer as > "undeletable" or so. > > Any hints are welcome. > > Regards, > > Adalbert Perbandt. Have you looked at protbuf.el? http://www.splode.com/~friedman/software/emacs-lisp/src/protbuf.el Jeff