all messages for Emacs-related lists mirrored at yhetil.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, 11 Mar 2007 21:27:15 -0400	[thread overview]
Message-ID: <E1HQZJj-0006cO-P0@fencepost.gnu.org> (raw)

[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: 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-12  1:27 UTC|newest]

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

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

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

  git send-email \
    --in-reply-to=E1HQZJj-0006cO-P0@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.