From xemacs-m  Tue Aug 26 15:29:12 1997
Received: from crdems.ge.com (root@crdems.GE.COM [192.35.44.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id PAA25858
	for <xemacs-beta@xemacs.org>; Tue, 26 Aug 1997 15:29:12 -0500 (CDT)
Received:  from crdns.crd.ge.com by crdems.ge.com (5.65/GE 1.77) id AA05760; Tue, 26 Aug 97 16:22:03 -0400
Received: from porsche.crd.ge.com by crdns.crd.ge.com (5.65/sendmail.ease_1.79(3/22/94))id AA27617(crdns.crd.ge.com); Tue, 26 Aug 1997 16:19:20 -0400
Received: from localhost by porsche; (5.65v3.2/1.1.8.2/28May96-1025AM)id AA16578; Tue, 26 Aug 1997 16:19:19 -0400
Sender: montanar@crd.GE.COM
Message-Id: <34033A44.41C6@crd.ge.com>
Date: Tue, 26 Aug 1997 16:19:16 -0400
From: Skip Montanaro <no-junk@crd.GE.COM>
X-Mailer: Mozilla 3.0Gold (X11; I; OSF1 V3.2 alpha)
Mime-Version: 1.0
Newsgroups: gnu.emacs.bug
Cc: xemacs-beta@xemacs.org
Subject: Re: Emacs lossage buffer clear (subr C-code included)
References: <199708232201.BAA16515@olkikukka.uta.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jari Aalto wrote:

>         In recent message to RMS I requested a new lisp function that
>         would clear the lossage buffer in order to prevent getting
>         password prompts there. I also send the same request to
>         XEmacs development team and they responded immediately
>         with the following subr.
> 
>         To have Emacs and XEmacs share the same function calls, I
>         propose that you include function with the same same.
>         The XEmacs 19.15 subs code is included below.

Yes, but further discussion on the XEmacs beta mailing list showed that
this was a sub-optimal "solution" to the problem.  Instead of letting
the keystrokes get into that buffer then clearing it (the padlock on the
open door solution as one person called it), what you really want is a
function that toggles writing bits to the recent keys vector (or perhaps
one that stops saving keystrokes and one that restarts).

-- 
Skip Montanaro
(replies to "montanaro" at the domain name "crd.ge.com")

