emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: "Christian Nybø" <chr@nybo.no>
Cc: emacs-orgmode@gnu.org
Subject: Re: (org-overlay-put <extent> 'display <string>) does not do much in XEmacs
Date: Tue, 31 Oct 2006 19:10:24 +0100	[thread overview]
Message-ID: <0bbe6165147b11380e99c5624e11a9b2@science.uva.nl> (raw)
In-Reply-To: <loom.20061031T133728-441@post.gmane.org>

Yes, this part is not yet XEmacs compatible, thank you for the analysis.

On Oct 31, 2006, at 14:00, Christian Nybø wrote:

> I run org-clock-display, but the aggregated times aren't shown.
>
> I believe that in XEmacs, the function org-overlay-put does not do
> what the author expects it to when called with the prop argument set
> to 'display.  To Emacs, a prop set to 'display has a particular
> meaning, but to the XEmacs function set-extent-property it is just
> another symbol.
>
> What is a call to org-overlay-put with prop set to 'display and value
> set to a string supposed to do?

The text in the buffer under the overlay is hidden and the text is 
displayed
instead.  The following is roughly equivalent:

   GNU Emacs:

     (overlay-put ov 'display "some text")

   XEmacs:

     (set-extent-property ov 'invisible t)
     (set-extent-property ov 'end-glyph (make-glyph "some text"))

Will be fixed in 4.53.

- Carsten


>
> I'm running XEmacs 21.5  (beta27) "fiddleheads" [Lucid] 
> (i686-pc-linux, Mule) and
> Org-mode version 4.52
>
>
>
> thanks,
>
> Christian
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2006-10-31 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 13:00 (org-overlay-put <extent> 'display <string>) does not do much in XEmacs Christian Nybø
2006-10-31 18:10 ` Carsten Dominik [this message]
2006-10-31 20:42   ` Christian Nybø

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.orgmode.org/

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

  git send-email \
    --in-reply-to=0bbe6165147b11380e99c5624e11a9b2@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=chr@nybo.no \
    --cc=emacs-orgmode@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/org-mode.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).