From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Vanderschel" Newsgroups: gmane.emacs.help Subject: elisp, mouse-tracking: gracefully NOT handling events Date: Tue, 08 Jun 2004 19:38:14 GMT Organization: Road Runner High Speed Online http://www.rr.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1088534871 15136 80.91.224.253 (29 Jun 2004 18:47:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 18:47:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 20:47:44 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNdw-0002TZ-00 for ; Tue, 29 Jun 2004 20:47:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNfb-0004qX-Ti for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 14:49:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!cyclone.bc.net!sjc1.usenetserver.com!news.usenetserver.com!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!fe2.texas.rr.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Original-NNTP-Posting-Host: 66.68.174.193 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: fe2.texas.rr.com 1086723494 66.68.174.193 (Tue, 08 Jun 2004 14:38:14 CDT) Original-NNTP-Posting-Date: Tue, 08 Jun 2004 14:38:14 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:123695 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19063 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19063 I have a program in which I am using track-mouse. It turns out that mouse events are not the only events you can get in a track-mouse loop. My program is not prepared to handle all of them. (I don't know how many other potential event types there are in this context, but I am sure that I do not want to learn how to properly treat all of them.) In the face of an event my program does not understand, it can and does abort its current operation with no difficulty. (Indeed, that is a normal sort of occurrence for other reasons as well.) However, it may be that such an unrecognized event could occur, the event is significant, and failure to deal with it could be harmful to the 'system'. It seems to me that I need a system function to call when I don't know what to do with an event. The idea is, "Take this event. I did not know what to do with it, so please do with it whatever you would have done with it had I not been in a track-mouse loop." Is there such a function? (Failing that, it seems like there ought to be a way to tell the system which types of events you are prepared to handle in a track-mouse loop so you won't get events you don't understand.) Regards, David V.