From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How is display of images prevented on text-only frames? Date: Fri, 30 Jan 2015 17:47:03 +0200 Message-ID: <83iofol18o.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422632842 21948 80.91.229.3 (30 Jan 2015 15:47:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2015 15:47:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 30 16:47:22 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHDmz-0007GC-Kv for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 16:47:21 +0100 Original-Received: from localhost ([::1]:37425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHDmz-0000uy-0y for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 10:47:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHDmv-0000ut-Nl for emacs-devel@gnu.org; Fri, 30 Jan 2015 10:47:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHDml-000614-6f for emacs-devel@gnu.org; Fri, 30 Jan 2015 10:47:17 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:55610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHDmk-00060l-Un for emacs-devel@gnu.org; Fri, 30 Jan 2015 10:47:07 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NIZ00600Y1X0600@mtaout29.012.net.il> for emacs-devel@gnu.org; Fri, 30 Jan 2015 17:43:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIZ000QFYCIBX60@mtaout29.012.net.il>; Fri, 30 Jan 2015 17:43:30 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182064 Archived-At: > 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.