unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings]
@ 2007-03-05  2:56 Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-03-05  2:56 UTC (permalink / raw)
  To: emacs-devel

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 -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings]
@ 2007-03-12  1:27 Richard Stallman
  2007-03-12 14:00 ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-03-12  1:27 UTC (permalink / raw)
  To: emacs-devel

[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 -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bojohan+mail@dd.chalmers.se: Emacs doesn't interpret down-mouse events on `before' and `after' strings]
  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
  0 siblings, 0 replies; 3+ messages in thread
From: Kim F. Storm @ 2007-03-12 14:00 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1291 bytes --]

Richard Stallman <rms@gnu.org> 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ård)
> 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?
>
> - -- 
> Johan BockgŽård
>
>
> _______________________________________________
> emacs-pretest-bug mailing list
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ----------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-12 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2007-03-05  2:56 Richard Stallman

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).