From unknown Mon Jun 23 04:13:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6133: Bug: create-image on console emacs Resent-From: "Gary ." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2010 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6133@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127324487829278 (code B ref -1); Fri, 07 May 2010 15:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 May 2010 15:07:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAP9h-0007c8-O0 for submit@debbugs.gnu.org; Fri, 07 May 2010 11:07:58 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OANbC-0006rM-Q6 for submit@debbugs.gnu.org; Fri, 07 May 2010 09:28:15 -0400 Received: from lists.gnu.org ([199.232.76.165]:57635) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OANbA-0004ii-Do for submit@debbugs.gnu.org; Fri, 07 May 2010 09:28:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OANb9-00042s-HN for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 09:28:11 -0400 Received: from [140.186.70.92] (port=58236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OANay-0003pM-7T for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 09:28:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAK31-0006PO-30 for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 05:40:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38535) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAK30-0006PD-Uw for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 05:40:43 -0400 Received: by wyb40 with SMTP id 40so328106wyb.0 for ; Fri, 07 May 2010 02:40:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.87.68 with SMTP id x46mr3869155wee.145.1273225241087; Fri, 07 May 2010 02:40:41 -0700 (PDT) Received: by 10.216.15.225 with HTTP; Fri, 7 May 2010 02:40:41 -0700 (PDT) Date: Fri, 7 May 2010 11:40:41 +0200 Message-ID: From: "Gary ." Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Fri, 07 May 2010 11:07:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) 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 ** both the -x11 and -nox binaries ---------- Forwarded message ---------- From: Gary Date: Thu, May 6, 2010 at 9:56 PM Can anyone explain to me why If I use emacs in the console and call create-image I get a message like "Non-X frame used" (whether I use an X11 binary or non-X)? I don't get this at all. The reason I ask is that I am trying to use the code from http://xahlee.org/emacs/emacs_html.html (*waves*) and as I said to Xah Lee off-list, while it may well be necessary to (for example) get an image's dimensions in order to display an image, the reverse is not true. Other console tools are able to do it fine, for example ImageMagick can tell me the dimensions from the command line: $ identify work/web1/Bilder/aussen.jpg work/web1/Bilder/aussen.jpg JPEG 874x583 874x583+0+0 DirectClass 8-bit 58.75kb X doesn't need to get involved until such time things actually (try to) get displayed. From unknown Mon Jun 23 04:13:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6133: Bug: create-image on console emacs Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jul 2017 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Gary ." Cc: 6133@debbugs.gnu.org Received: via spool by 6133-submit@debbugs.gnu.org id=B6133.14996373068905 (code B ref 6133); Sun, 09 Jul 2017 21:56:02 +0000 Received: (at 6133) by debbugs.gnu.org; 9 Jul 2017 21:55:06 +0000 Received: from localhost ([127.0.0.1]:59236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUKAU-0002JY-03 for submit@debbugs.gnu.org; Sun, 09 Jul 2017 17:55:06 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:35514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUKAQ-0002Ir-Ht; Sun, 09 Jul 2017 17:55:04 -0400 Received: by mail-it0-f42.google.com with SMTP id v202so18266999itb.0; Sun, 09 Jul 2017 14:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QlQ+Z1A4EQ0scSoX+edrFgTVks79qGsmL6HpQcbRRBo=; b=D0C2I1/5KeII0rbzCEZB7BhsfXMGhOI9dDlIZfQ18yyFPFgXILtkyX6oFnMYwNuYU9 2yCeP55aL23ZXZMIHtI19rI5Mq1AKoeL0XIIki4WwwguFzNhOqZxsE9oLmat5Fy9NUMM GAH2hqdQyE2rjjF4RMgfLu9NdaW1PUm88W3t3ypwtF48AoFivjQ3eeWqIFZRp26bLc9Y RTqVfPU62560nvbXyev1je8cm3kgTrobMV2c+JPEjCwn3rNkvV/HRvfABq8pWrgacDMW T0EYHrdRjglVE0ypIKH3xdJElRAsfHFj4WoaKYCBSyX48TsxSSi9Gj17XAcjXW3AUTcH TZiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=QlQ+Z1A4EQ0scSoX+edrFgTVks79qGsmL6HpQcbRRBo=; b=ORebnsLGIB9NzQ1xorl+DUhKfdmG+Y1VAIIdwJxRycUCNJRfUSZmCtvggPJxR1jDa9 AD9c2jkTWeC2m52CNFeS84Q/NL/Noa/JNtJiO/EiZ7T1yc31lpoT7bexggFDGOGHRAHH TdydlkLvMC1PXZPTUwNmdz1cjZno/GMNXrR6ynqdL8snBHSZuXZ4p5og4UjWNjhr6g+F DNPpER02RF6J/Oxlj5W0JW+k+4Yp003ErzfMCw0rfxhHQOqfF8WWwqSRraaRlso4UU8I kHi+50nibQUoZs+lfmGd8tAXLomKUQe+xOSajrg9WdU0WUxhwtavA1rPRvfxLiSekIOc Oy5A== X-Gm-Message-State: AIVw112XXes0Tt2lypstmjlI57mqoLXglZOFhGHeubPdZKI4UeCxDETp xPyiFPDT3t5rkU35 X-Received: by 10.107.202.66 with SMTP id a63mr663553iog.54.1499637296718; Sun, 09 Jul 2017 14:54:56 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id s135sm4463401ita.2.2017.07.09.14.54.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Jul 2017 14:54:56 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Sun, 09 Jul 2017 17:56:28 -0400 In-Reply-To: (Gary .'s message of "Fri, 7 May 2010 11:40:41 +0200") Message-ID: <87van1ff5f.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) retitle 6133 image-size in -nw terminal gives error "Window system frame should be used" tags 6133 + confirmed found 6133 25.2 quit "Gary ." 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))) From unknown Mon Jun 23 04:13:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6133: Bug: create-image on console emacs Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2019 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: npostavs@users.sourceforge.net Cc: "Gary ." , 6133@debbugs.gnu.org Received: via spool by 6133-submit@debbugs.gnu.org id=B6133.156952118116483 (code B ref 6133); Thu, 26 Sep 2019 18:07:02 +0000 Received: (at 6133) by debbugs.gnu.org; 26 Sep 2019 18:06:21 +0000 Received: from localhost ([127.0.0.1]:44754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDY9l-0004Hn-0x for submit@debbugs.gnu.org; Thu, 26 Sep 2019 14:06:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDY9g-0004HZ-3q for 6133@debbugs.gnu.org; Thu, 26 Sep 2019 14:06:19 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDY9c-00067F-Ri; Thu, 26 Sep 2019 20:06:15 +0200 From: Lars Ingebrigtsen References: <87van1ff5f.fsf@users.sourceforge.net> Date: Thu, 26 Sep 2019 20:06:12 +0200 In-Reply-To: <87van1ff5f.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sun, 09 Jul 2017 17:56:28 -0400") Message-ID: <87y2ybj5kb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: npostavs@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 i [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) npostavs@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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 14:06:25 2019 Received: (at control) by debbugs.gnu.org; 26 Sep 2019 18:06:25 +0000 Received: from localhost ([127.0.0.1]:44757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDY9p-0004I6-CI for submit@debbugs.gnu.org; Thu, 26 Sep 2019 14:06:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDY9n-0004Hw-FJ for control@debbugs.gnu.org; Thu, 26 Sep 2019 14:06:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDY9k-00067N-QM for control@debbugs.gnu.org; Thu, 26 Sep 2019 20:06:22 +0200 Date: Thu, 26 Sep 2019 20:06:20 +0200 Message-Id: <87wodvj5k3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6133 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 6133 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 6133 quit