unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings]
Date: Sun, 04 Mar 2007 21:56:04 -0500	[thread overview]
Message-ID: <E1HO3Mq-0002o0-7J@fencepost.gnu.org> (raw)

Would someone please debug this and ack?

------- Start of forwarded message -------
From: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: emacs-pretest-bug@gnu.org
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
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

             reply	other threads:[~2007-03-05  2:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05  2:56 Richard Stallman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-12  1:27 [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings] Richard Stallman
2007-03-12 14:00 ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1HO3Mq-0002o0-7J@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).