From unknown Tue Sep 23 02:48:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47036 <47036@debbugs.gnu.org> To: bug#47036 <47036@debbugs.gnu.org> Subject: Status: 27.1; XBM file image cannot be resized with :width and :height Reply-To: bug#47036 <47036@debbugs.gnu.org> Date: Tue, 23 Sep 2025 09:48:03 +0000 retitle 47036 27.1; XBM file image cannot be resized with :width and :height reassign 47036 emacs submitter 47036 ynyaaa@gmail.com severity 47036 wishlist tag 47036 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 10 04:23:50 2021 Received: (at submit) by debbugs.gnu.org; 10 Mar 2021 09:23:50 +0000 Received: from localhost ([127.0.0.1]:48776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJv4E-0004hM-8u for submit@debbugs.gnu.org; Wed, 10 Mar 2021 04:23:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:44008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJv49-0004hB-3F for submit@debbugs.gnu.org; Wed, 10 Mar 2021 04:23:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJv48-0006D9-RF for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 04:23:40 -0500 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:41776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJv44-0003Ca-45 for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 04:23:40 -0500 Received: by mail-pj1-x102e.google.com with SMTP id nh23-20020a17090b3657b02900c0d5e235a8so7156825pjb.0 for ; Wed, 10 Mar 2021 01:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=OxdTFHgd4f08WIBjlneHZR/phGv1F5f6gexZVnmcYn4=; b=a+cYK46MEwbyQOI4VQvgeL/oUpzGr6lzh2uqgZJje1vZoDy2kfUSSxzSEXiPt/9RBk /gne+OB8YQ9LwIrN0x6j90mLNStk4F+2GhGifed0zKrFdDKmudOop2HVH8hZqGn9HmOj fN9+MI+tRvnn/XLmOzXNC8dEVP4ZeBZAqMMC2XobU5pMHj1ZpZ9vvCIJqk6MHlv7GwIa +ojSLlRqRkSY1qmFU1Ud9nFM9LnJIljbLUGz1anjLhpnpZbu3+Z1yUYxB9UqmJFwH3os US5p2652lE5OdulttjHVbySzSqYbjeV1SSnoS9g1P+uTHdEym+DFvlTl2OPqvKsq+kdq 8ddA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=OxdTFHgd4f08WIBjlneHZR/phGv1F5f6gexZVnmcYn4=; b=ET5L5XFueDQMUQmCUTYRFlti8A0N/ZzDoLq/P5lCbzvpqXJxzQYshljihT812syhfi C3620wlmLg4Hmx/7kowfnDAUJ4DL4PrDcHgEylYnacfKVHr/Ju8mysFFMcniRMFLORp9 XmkEdon7MM3vuNFNyz+Reff6RhiWowbXlpNPfubzfldY5rgYDtlRmC1bBvbQxDFg9Af9 cdMiW/9h9Jwh4iff3fOz2uBZeUTa1/w3QxbSbaXcd4Go6AYYvJVIW9kxnJbqB0eURc7f qZT++snDcs4y26UiN7OwiH1UwdanxlI0RxN8QxpEi0m3DKp0L6D/IMJCWus0bwFRPNuj OyLQ== X-Gm-Message-State: AOAM533goL1H8TJz46n++Dxr+O/gM1shICqOzIQyWeBwTU+TL0aPQHE7 c04Aq/i+JH6fXThfXPcrCOtRa0I2HIc= X-Google-Smtp-Source: ABdhPJyML3UK8ioqziL8kTl9YOLsodOrTJRXOXPhY/+DYlxs2ys3DCaIp7KkMPz6u1P4Du4tC9+Edg== X-Received: by 2002:a17:90a:a616:: with SMTP id c22mr2577589pjq.94.1615368214228; Wed, 10 Mar 2021 01:23:34 -0800 (PST) Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110]) by smtp.gmail.com with ESMTPSA id q10sm15266957pfc.190.2021.03.10.01.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 01:23:33 -0800 (PST) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 27.1; XBM file image cannot be resized with :width and :height Date: Wed, 10 Mar 2021 18:23:30 +0900 Message-ID: <86wnuf1hwt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=ynyaaa@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) Evaluating the form below, XBM image with :height property is not displayed in the first and second inserted line. (let ((img1 (find-image '((:file "gnus/gnus.xbm" :type xbm :height 100)))) (img2 (find-image '((:file "gnus/gnus.xbm" :type xbm :width 100)))) (img3 (find-image '((:file "gnus/gnus.xbm" :type xbm)))) (img4 (find-image '((:file "gnus/gnus.xpm" :type xpm :height 100 ))))) (insert "with :height\t") (insert-image img1 "ALTTEXT1") (insert "\nwith :width\t") (insert-image img2 "ALTTEXT2") (insert "\nwithout :width or :height\t") (insert-image img3 "ALTTEXT3") (insert "\nXPM with :height\t") (insert-image img4 "ALTTEXT4")) In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379) Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (gnutls network-stream nsm mailalias smtpmail auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map misearch multi-isearch pp shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib term/bobcat japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 65226 14129) (symbols 48 7565 11) (strings 32 21763 1642) (string-bytes 1 693616) (vectors 16 13478) (vector-slots 8 241604 16054) (floats 8 26 277) (intervals 56 590 0) (buffers 1000 16)) From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 10 10:10:41 2021 Received: (at 47036) by debbugs.gnu.org; 10 Mar 2021 15:10:41 +0000 Received: from localhost ([127.0.0.1]:51559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK0Tx-0003sw-94 for submit@debbugs.gnu.org; Wed, 10 Mar 2021 10:10:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK0Tw-0003sh-63 for 47036@debbugs.gnu.org; Wed, 10 Mar 2021 10:10:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lMJqDPCsjd1ljboaaKdiv/NRjN/1Bn5+Qhwgie0Pv7E=; b=nUV1IoMr9ED3suc93vCket9lFG skemmKTutCbw2idDnQo+oOtl+SEu300w7lsoSsIlZXefd9dbaoIjMAQuCl5FFQaXAa6g6IwoZ++X9 tamtaPUiI6JpRi1EkKJlghtE6RK6t5BJatvV1DK6sOIwJ4kDq/Z8ZKB2i3XsKYTwqGTw=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK0Tn-0004aU-P3; Wed, 10 Mar 2021 16:10:34 +0100 From: Lars Ingebrigtsen To: ynyaaa@gmail.com Subject: Re: bug#47036: 27.1; XBM file image cannot be resized with :width and :height References: <86wnuf1hwt.fsf@gmail.com> X-Now-Playing: Siouxsie and the Banshees's _Join Hands_: "Premature Burial" Date: Wed, 10 Mar 2021 16:10:30 +0100 In-Reply-To: <86wnuf1hwt.fsf@gmail.com> (ynyaaa@gmail.com's message of "Wed, 10 Mar 2021 18:23:30 +0900") Message-ID: <8735x3jb89.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: ynyaaa@gmail.com writes: > Evaluating the form below, XBM image with :height property is not > displayed in the first and second inserted line. > > (let ((img1 (find-image '((:file "gnus/gnus.xbm" :type xbm :height 100)))) > [...] 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: 47036 Cc: 47036@debbugs.gnu.org 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 (-) ynyaaa@gmail.com writes: > Evaluating the form below, XBM image with :height property is not > displayed in the first and second inserted line. > > (let ((img1 (find-image '((:file "gnus/gnus.xbm" :type xbm :height 100)))) > (img2 (find-image '((:file "gnus/gnus.xbm" :type xbm :width 100)))) > (img3 (find-image '((:file "gnus/gnus.xbm" :type xbm)))) > (img4 (find-image '((:file "gnus/gnus.xpm" :type xpm :height 100 ))))) > (insert "with :height\t") > (insert-image img1 "ALTTEXT1") > (insert "\nwith :width\t") > (insert-image img2 "ALTTEXT2") > (insert "\nwithout :width or :height\t") > (insert-image img3 "ALTTEXT3") > (insert "\nXPM with :height\t") > (insert-image img4 "ALTTEXT4")) I can reproduce this problem in Emacs 28, too (with Debian/bullseye). I guess Emacs should support scaling of xbm images, too, now that we have native image scaling? Or is there something in particular with the xbm code that doesn't allow that? (I haven't looked at the code yet.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 10 10:10:46 2021 Received: (at control) by debbugs.gnu.org; 10 Mar 2021 15:10:46 +0000 Received: from localhost ([127.0.0.1]:51562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK0U2-0003tH-GQ for submit@debbugs.gnu.org; Wed, 10 Mar 2021 10:10:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK0U0-0003sp-TK for control@debbugs.gnu.org; Wed, 10 Mar 2021 10:10:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aPvoHPsutVBgmwgqeUtTuk7W4hsBrePMPd387atfmZQ=; b=exR96aHN1+G64gVCQF/5vZ/lX4 3g3PQmT6CsOAL9Ly5MKOuhIazxoPT4GsUWLxsSeo+0D8H7ZG1oE8lkBtZe0oy1HaCyGeFN/NQB35x T7eXrrO8IaqnKkzCsF5oZSx8nt8VxzwwmPYsPHawEPSZRH9jAj3cZXR0YhEDUV+H8o2w=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK0Tt-0004ab-9u for control@debbugs.gnu.org; Wed, 10 Mar 2021 16:10:39 +0100 Date: Wed, 10 Mar 2021 16:10:36 +0100 Message-Id: <871rcnjb83.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47036 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: tags 47036 + confirmed 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 (-) tags 47036 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 21 19:22:08 2021 Received: (at control) by debbugs.gnu.org; 21 Oct 2021 23:22:08 +0000 Received: from localhost ([127.0.0.1]:58913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdhNw-0003k9-3K for submit@debbugs.gnu.org; Thu, 21 Oct 2021 19:22:08 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:39596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdhNu-0003jb-52 for control@debbugs.gnu.org; Thu, 21 Oct 2021 19:22:06 -0400 Received: by mail-pj1-f43.google.com with SMTP id u6-20020a17090a3fc600b001a00250584aso4334333pjm.4 for ; Thu, 21 Oct 2021 16:22:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=Ea6vkj4I41VLqIBnKJIkuHkPUxkDGW+ol5rI2kTLI0w=; b=1hLVTKfhW9yLPkfEuCH6gCiG1ixjwO197muG86VDNboY8SkokrXJHHYoVD7wVrz0n8 7U5wgRSdzZ+0XNDC9PUMA5CcXAiqmWnpDDUzhK42vl0vcp7XFp7BDCG2AHsR+JWEtcgZ 653Mcqb3iJF4QGlXSoBfgk181B3rXe5+PKvj1J+m3yTjlpeMZ4SQuKrMy/dLLbC74bG4 ZbY+SSMJZ3T9buaQlxPMCq8NTszVZ6JR13Smd3XzkfOHUWjE9X57W0PfBelcQA6uJ3zZ TNUa9ztEnvQJEajSuH/dMvZpmnKe5p0yzBS0DpF1QdjHQonnDzPmHN0VRwwmQTD8EPus Y1CQ== X-Gm-Message-State: AOAM5321BfNwfwqI09q+tvHbPbcsHxNMUOJcMvS8OexfCzgZBgQUPBjl D5qT/gD2PVA9dz1Mqs/W2T3yblNOEWgxXtywg9XKbZZK X-Google-Smtp-Source: ABdhPJx7lWgdncKUGqGzR/P3h+tpYCsS7sJnefbul4Y5214mQZI4/ExtiyZWzfeRHeHzjn4ezalapyUIO/bGDG4aNGs= X-Received: by 2002:a17:902:e74a:b0:13f:3538:fca0 with SMTP id p10-20020a170902e74a00b0013f3538fca0mr7982734plf.22.1634858520228; Thu, 21 Oct 2021 16:22:00 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 21 Oct 2021 16:21:59 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 21 Oct 2021 16:21:59 -0700 Message-ID: Subject: control message for bug #47036 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) 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: -0.5 (/) severity 47036 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 20 05:19:01 2022 Received: (at 47036) by debbugs.gnu.org; 20 Jun 2022 09:19:01 +0000 Received: from localhost ([127.0.0.1]:54311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3DYj-00045H-09 for submit@debbugs.gnu.org; Mon, 20 Jun 2022 05:19:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3DYf-00044y-J5 for 47036@debbugs.gnu.org; Mon, 20 Jun 2022 05:19:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e6vqiuFRz15rtsQZToB0AMFwHVgTcDzzQvX5lXjI/Eg=; b=gXUUW/a+fQJylGgde3kVG5ebCO iDhzSV+FPVM8iC0Ql3tc0F8G7YIyh9CfVmjO1ANUAGeEbRf1DwI6DKiIEtCyowpC9h9OR60bvHqJw FMArphoMm+8kOgCc1cqo/Rw8gCkUPWIEzxl49JN1z1Umog5nN7+bPU4AfLBqjQ6XHv9w=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3DYW-0008Cy-JR; Mon, 20 Jun 2022 11:18:51 +0200 From: Lars Ingebrigtsen To: ynyaaa@gmail.com Subject: Re: bug#47036: 27.1; XBM file image cannot be resized with :width and :height References: <86wnuf1hwt.fsf@gmail.com> Date: Mon, 20 Jun 2022 11:18:44 +0200 In-Reply-To: <86wnuf1hwt.fsf@gmail.com> (ynyaaa@gmail.com's message of "Wed, 10 Mar 2021 18:23:30 +0900") Message-ID: <871qvjpua3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: ynyaaa@gmail.com writes: > Evaluating the form below, XBM image with :height property is not > displayed in the first and second inserted line. > > (let ((img1 (find-image '((:file "gnus/gnus.xbm" :type xbm :height 100)))) > [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 47036 Cc: 47036@debbugs.gnu.org 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: -3.3 (---) ynyaaa@gmail.com writes: > Evaluating the form below, XBM image with :height property is not > displayed in the first and second inserted line. > > (let ((img1 (find-image '((:file "gnus/gnus.xbm" :type xbm :height 100)))) > (img2 (find-image '((:file "gnus/gnus.xbm" :type xbm :width 100)))) > (img3 (find-image '((:file "gnus/gnus.xbm" :type xbm)))) > (img4 (find-image '((:file "gnus/gnus.xpm" :type xpm :height 100 ))))) > (insert "with :height\t") > (insert-image img1 "ALTTEXT1") > (insert "\nwith :width\t") > (insert-image img2 "ALTTEXT2") > (insert "\nwithout :width or :height\t") > (insert-image img3 "ALTTEXT3") > (insert "\nXPM with :height\t") > (insert-image img4 "ALTTEXT4")) I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 20 05:19:04 2022 Received: (at control) by debbugs.gnu.org; 20 Jun 2022 09:19:04 +0000 Received: from localhost ([127.0.0.1]:54315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3DYm-00045v-6e for submit@debbugs.gnu.org; Mon, 20 Jun 2022 05:19:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3DYk-000458-El for control@debbugs.gnu.org; Mon, 20 Jun 2022 05:19:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1qCDLlNZ4BRzFGG1REL5JY0r6eag3RRnlrvy+0JNe2w=; b=MtEJG3NLkXzCT3MxZhKDuQso2X 8nqqxKTXHaF1e8gqLv37+s/G7VS1QKzprXjtP3yZOi4YsjAav254R9UoJ2b5Ja7iWvqdCh077KzXJ AHTbklqMtELok/RA/6bhzC8NixGCkIs9+RjWuPGY3RpYAix0j1JTO/XSjYpn4tsn51zw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3DYc-0008D6-Ib for control@debbugs.gnu.org; Mon, 20 Jun 2022 11:18:56 +0200 Date: Mon, 20 Jun 2022 11:18:53 +0200 Message-Id: <87zgi7ofpe.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47036 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 47036 29.1 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: -2.3 (--) 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: -3.3 (---) close 47036 29.1 quit From unknown Tue Sep 23 02:48:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 Jul 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator