GNU bug report logs - #6133
image-size in -nw terminal gives error "Window system frame should be used"

Previous Next

Package: emacs;

Reported by: "Gary ." <help-gnu-emacs <at> garydjones.name>

Date: Fri, 7 May 2010 15:08:02 UTC

Severity: normal

Tags: confirmed

Found in version 25.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 6133 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: npostavs <at> users.sourceforge.net
Cc: "Gary ." <help-gnu-emacs <at> garydjones.name>, 6133 <at> debbugs.gnu.org
Subject: Re: bug#6133: Bug: create-image on console emacs
Date: Thu, 26 Sep 2019 20:06:12 +0200
npostavs <at> users.sourceforge.net writes:

>> Below is a copy of a post* to the help-gnu-emacs mailing list about a
>> strange behaviour I found in GNU Emacs 23.1.1. It was suggested on the
>> mailing list that I submit a bug report, so here it is :-)
>>
>> FWIW, this occurs on the Cygwin build(s)** specifically, but I suspect
>> on other builds as well. I don't know how else I can help, but please
>> feel free to contact me on this address if I can.
>>
>> *  http://lists.gnu.org/archive/html/help-gnu-emacs/2010-05/msg00632.html
>
> As explained in that thread, the problem is image-size, not
> create-image.
>
>     (image-size 
>      (create-image
>       (expand-file-name
>        "etc/images/icons/hicolor/128x128/apps/emacs.png"
>        source-directory)))

I don't think this is a bug, though?  You have to check for
display-graphic-p before doing image-size (and some other image-related
things).

So I'm closing this bug report; if anybody disagrees, feel free to
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.