emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Emacs doesn't interpret down-mouse events on `before' an


From: Richard Stallman
Subject: address@hidden: Emacs doesn't interpret down-mouse events on `before' and `after' strings]
Date: Sun, 11 Mar 2007 21:27:15 -0400

[I sent this message a week ago but did not get a response.]

Would someone please debug this and ack?

------- Start of forwarded message -------
From: address@hidden (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: address@hidden
Date: Thu, 22 Feb 2007 20:31:49 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: Emacs doesn't interpret down-mouse events on `before' and `after'
        strings
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
        version=3.0.4


   ;;;
   (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?

- -- 
Johan Bockgård


_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]