From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings] Date: Mon, 12 Mar 2007 15:00:35 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173708052 4077 80.91.229.12 (12 Mar 2007 14:00:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2007 14:00:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 12 15:00:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQl4q-0003jM-Jq for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2007 15:00:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQl5S-0006I5-4l for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2007 09:01:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQl4g-00067q-HZ for emacs-devel@gnu.org; Mon, 12 Mar 2007 10:00:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQl4e-000666-NC for emacs-devel@gnu.org; Mon, 12 Mar 2007 10:00:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQl4d-00065i-Ub for emacs-devel@gnu.org; Mon, 12 Mar 2007 09:00:28 -0500 Original-Received: from pfepc.post.tele.dk ([195.41.46.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HQl3t-0003Xz-0F; Mon, 12 Mar 2007 09:59:41 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id CE3878A0036; Mon, 12 Mar 2007 14:59:38 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Sun\, 11 Mar 2007 21\:27\:15 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67787 Archived-At: Richard Stallman writes: > [I sent this message a week ago but did not get a response.] > > Would someone please debug this and ack? I have installed a fix. > > From: bojohan+mail@dd.chalmers.se (Johan Bockg=C3=A5rd) > Subject: Emacs doesn't interpret down-mouse events on `before' and `after= ' strings > To: emacs-pretest-bug@gnu.org > Date: Thu, 22 Feb 2007 20:31:49 +0100 > > > ;;; > (setq ov (make-overlay 1 3)) > (setq map (make-sparse-keymap)) > (define-key map [down-mouse-1] 'A) > (define-key map [mouse-1] 'B) > (setq str (propertize "XXX" 'keymap map)) > (overlay-put ov 'before-string str) > (global-set-key [down-mouse-1] 'C) > (global-set-key [mouse-1] 'D) > > M-x eval-buffer > > Clicking outside the overlay beeps twice and displays: > > Symbol's function definition is void: C > Symbol's function definition is void: D > > Clicking on the overlay beeps once and displays: > > Symbol's function definition is void: B > > What happened to the down-mouse event? > > - --=20 > Johan Bockg=8E=E5rd > > > _______________________________________________ > emacs-pretest-bug mailing list > emacs-pretest-bug@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug > ----------