all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Achim D. Brucker" <brucker@spamfence.net>
Subject: Porting from XEmacs to Emacs: event-glyph-extent
Date: Tue, 13 Jul 2004 20:07:58 +0000 (UTC)	[thread overview]
Message-ID: <slrncf8g8u.df.brucker@nakagawa.inf.ethz.ch> (raw)

Hi,   
is there an howto about porting elisp-code from XEmacs to GNU Emacs?
      
At the moment I'm trying to port an (unmainted) XEmacs mode to GNU 
Emacs 21.3. With the help of lucid.el and looking into various (X)Emacs 
modes I got most of the stuff working, but now I'm getting stuck with the 
following routine:
       
(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?
       
Achim  

             reply	other threads:[~2004-07-13 20:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 20:07 Achim D. Brucker [this message]
2004-08-01 13:47 ` Porting from XEmacs to Emacs: event-glyph-extent Kai Grossjohann
     [not found] ` <mailman.2345.1091368467.1960.help-gnu-emacs@gnu.org>
2004-08-02 19:17   ` Stefan Monnier

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=slrncf8g8u.df.brucker@nakagawa.inf.ethz.ch \
    --to=brucker@spamfence.net \
    /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.