From xemacs-m  Mon Jul 14 14:57:52 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA06781
	for <xemacs-beta@xemacs.org>; Mon, 14 Jul 1997 14:57:49 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.6/8.8.6) id VAA08188;
	Mon, 14 Jul 1997 21:57:43 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: pending-delete customization [PATCH]
References: <bci67ud5tse.fsf@corp.Sun.COM> <kig4t9xctxy.fsf@jagor.srce.hr> <bci20515sey.fsf@corp.Sun.COM>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 14 Jul 1997 21:57:42 +0200
In-Reply-To: Gary.Foster@Corp.Sun.COM's message of "14 Jul 1997 12:45:41 -0700"
Message-ID: <kigu3hxbe4p.fsf@jagor.srce.hr>
Lines: 33
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta13) - "Brussels"

Gary.Foster@Corp.Sun.COM (Gary D. Foster) writes:

> Maybe a group is unnecessary, but I don't see the purpose in
> hardcoding the modeline string to anything.

Well, I have seen programs that go too far with the options.  I think
we should simply choose a nice modeline string, and stick to it.

But then again, you may be right.  How about this patch, instead?

--- lisp/packages/pending-del.el.orig	Mon Jul 14 21:29:29 1997
+++ lisp/packages/pending-del.el	Mon Jul 14 21:57:03 1997
@@ -40,7 +40,12 @@
   "Non-nil when Pending Delete mode is enabled.
 In Pending Delete mode, typed text replaces the selected region.")
 
-(add-minor-mode 'pending-delete-mode " PenDel")
+(defcustom pending-delete-modeline-string " PenDel"
+  "*String to display in the modeline when Filladapt mode is active.
+Set this to nil if you don't want a modeline indicator for Filladapt."
+  :type 'string)
+
+(add-minor-mode 'pending-delete-mode pending-delete-modeline-string)
 
 
 (defun pending-delete-active-region (&optional killp)


-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Unspeakable horrors from outer space paralyze the living and
resurrect the dead!

