unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: 7480@debbugs.gnu.org
Subject: bug#7480: 24.0.50 no images in Custom
Date: Thu, 25 Nov 2010 15:35:40 +0100	[thread overview]
Message-ID: <AANLkTinNtRCWDq8gJf4-=AdeQhHbdotLAJJd=TOQGpB+@mail.gmail.com> (raw)

In Custom buffers no images are shown for widgets that support it;
instead the respective text representations are shown.
`widget-image-enable' is t and the required images can be found.

I verified that `widget-image-insert' actually does get called when
appropriate and likewise calls `image-insert' .

Evaluating (insert-image (widget-image-find "right") "text") in the
scratch buffer does insert the image there. Setting
`before-change-functions' nil an evaluating the same expression in
Custom buffers also works.

In Custom buffers (text-properties-at (point)) returns

(rear-nonsticky
 (display)
 display
 (image :type xpm :file
"/usr/share/emacs/24.0.50/etc/images/custom/right.xpm" :ascent
center))

on "Show Value" as will as the manually inserted "right" image. I
don't understand in what way they differ that makes them be shown as
image resp. text.

Thanks

-- Jonas





             reply	other threads:[~2010-11-25 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 14:35 Jonas Bernoulli [this message]
2010-12-17 11:06 ` bug#7480: 24.0.50 no images in Custom Chong Yidong
2010-12-17 13:24   ` Jonas Bernoulli
2010-12-17 13:29     ` Jonas Bernoulli
2010-12-17 13:41       ` Jonas Bernoulli
2010-12-20 14:59       ` Chong Yidong
2010-12-20 15:21         ` Jonas Bernoulli
2010-12-21  2:36           ` Chong Yidong
2010-12-20 22:46         ` David De La Harpe Golden
2010-12-20 23:49           ` Lennart Borgman

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='AANLkTinNtRCWDq8gJf4-=AdeQhHbdotLAJJd=TOQGpB+@mail.gmail.com' \
    --to=jonas@bernoul.li \
    --cc=7480@debbugs.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.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).