[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting from XEmacs to Emacs: event-glyph-extent
From: |
Kai Grossjohann |
Subject: |
Re: Porting from XEmacs to Emacs: event-glyph-extent |
Date: |
Sun, 01 Aug 2004 15:47:29 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
"Achim D. Brucker" <brucker@spamfence.net> writes:
> (defun zeta-marker-activate (e)
> (interactive "e")
> (let ((m (event-glyph-extent e)) act)
> (if (and m (setq act (extent-property m 'zeta-marker-action)))
> (funcall act m)
> (mouse-set-point e))))
>
> "event-glyph-extent" seems to be problematic, at least my attempts to
> emulate this in GNU Emacs (with constructs like "overlays-at
> (event-start e)")
> failed. Is this non-trivial or do I just missing something obvious?
Perhaps it is better to use text properties? Those will move with the
text.
The code snippet looks very interesting, btw. What does the code do
that you are trying to port?
Kai
- Re: Porting from XEmacs to Emacs: event-glyph-extent,
Kai Grossjohann <=