all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: How is display of images prevented on text-only frames?
Date: Fri, 30 Jan 2015 17:47:03 +0200	[thread overview]
Message-ID: <83iofol18o.fsf@gnu.org> (raw)
In-Reply-To: <m37fw4xp0g.fsf@exodia.verona.se>

> From: joakim@verona.se
> Date: Fri, 30 Jan 2015 16:32:47 +0100
> 
> I cant seem to figure it out.

They are ignored in handle_single_display_spec, if the frame is not a
GUI frame.  See the code around line 5125 in xdisp.c (on master).

> void
> produce_glyphs (struct it *it)
> {
>   /* If a hook is installed, let it do the work.  */
> 
>   /* Nothing but characters are supported on terminal frames.  */
>   eassert (it->what == IT_CHARACTER
> 	   || it->what == IT_COMPOSITION
> 	   || it->what == IT_STRETCH
> 	   || it->what == IT_GLYPHLESS);
> 
> ... with a xwidget, and then the assert gets upset.
> 
> Images doesnt seem to wind up here though.

Indeed, since they are no produced at all in that case.



      reply	other threads:[~2015-01-30 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30 15:32 How is display of images prevented on text-only frames? joakim
2015-01-30 15:47 ` Eli Zaretskii [this message]

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=83iofol18o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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.