From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.help Subject: Re: controlling echo during mouse-dragging Date: Thu, 24 Jun 2004 16:46:08 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87acyt2c3j.fsf@indigo.shootybangbang.com> References: <873c4m7zlq.fsf@indigo.shootybangbang.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088538365 26240 80.91.224.253 (29 Jun 2004 19:46:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:46:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:46:01 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 1BfOYL-00009j-00 for ; Tue, 29 Jun 2004 21:46:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOa1-0004Q4-9u for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:47:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: news.uni-berlin.de gs+pFo9+cBLYH/mkOJbXIQlCf9ykrnIJ8JmzPSmais0RUxmP+L X-Orig-Path: indigo.shootybangbang.com!news X-Mailer: Norman X-Attribution: jpw X-Face: R(_z-rF:grdKO.*u`n); p.i$Eiz=h^CO5eDYv"4:K@#\HN09*Ykx}}B{kF/KH}%f_o^Wp 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:19295 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19295 "David Vanderschel" writes: >> > Is there any way I can prevent that uninformative "down-mouse-2-" >> > echo from obliterating my infrequent attempts at informing the user? > >> Try binding `echo-keystrokes' to 0. > > OK, I tried that. I made echo-keystrokes buffer-local > and set it to 0. Hm. I meant `let' binding it when appropriate, but maybe that's tricky -- are you tracking the mouse yourself or binding commands to drag events, or something else ? > This does prevent the "down-mouse-1-" 'keystroke' from appearing in > the echo area. Good :) > However, my own messages are still being obliterated > (with blankness) as soon as the cursor moves off of the character it > was on when my program realized that it needed to offer new advice. > Unfortunately, that is not satisfactory, as I do not want to have to > repeat the message every time the mouse moves - just when it gets to > certain special places (which is not too often). > > So I still have an obliteration problem; and now I do > not even know what is causing it. Please post some example code, preferably pared-down to essentials, that demonstrates the problem.