From unknown Fri Jun 20 07:26:37 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#58373 <58373@debbugs.gnu.org> To: bug#58373 <58373@debbugs.gnu.org> Subject: Status: Support image-type `jpg' Reply-To: bug#58373 <58373@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:26:37 +0000 retitle 58373 Support image-type `jpg' reassign 58373 emacs submitter 58373 Thuna severity 58373 normal tag 58373 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 21:43:20 2022 Received: (at submit) by debbugs.gnu.org; 8 Oct 2022 01:43:20 +0000 Received: from localhost ([127.0.0.1]:37715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogys4-0006vy-6C for submit@debbugs.gnu.org; Fri, 07 Oct 2022 21:43:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:45514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogys3-0006vr-8l for submit@debbugs.gnu.org; Fri, 07 Oct 2022 21:43:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogys3-0000Qc-3X for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 21:43:19 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:43601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogys1-0005xM-Hj for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 21:43:18 -0400 Received: by mail-ej1-x630.google.com with SMTP id d26so7564760eje.10 for ; Fri, 07 Oct 2022 18:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=PMD9+J4vnYflZgn4YpMYzF2ZX5e+Uuzn198+IGFkXpA=; b=CZPG20FyErkaxCtXrD0UYAn3dSHtcRq5CMTXfUeJVA/bWowa2Nre2kgjxZwh8t3o8x +Mao4tMK0vDtaZ1njw6O0Cb333qSbIciFfDDrv42uhgkBN6Awbtr6F2cplXzWrWEF3eO yTjy5p2PnyHvoYZxAeXPiFFJAFXPIoznDE5hRWHAAffH9da5JE9wOm+eCmjWZIzMiZ5p G7rUtRDXwBPosf0GTv+XsimxtWGWywBNVff1/WjPpBHOqug8kTrlmBItRbWH0MnyVCgc +CCI1H2ladxRGnv1X+VblnLgXrGV20dbjcIYJzNg9P7mSuekrVImruprIN//RRPhh/Dz Oi0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PMD9+J4vnYflZgn4YpMYzF2ZX5e+Uuzn198+IGFkXpA=; b=zyID65Op2tV7kNoOC2LNJZPTQCjRVz4tgto9DLBlEg5sKGZIfzzf+PreVklJ/tlmQJ kns6WmXmP2AlIMe0bKEfwp1qK2oQetgqWVvvfb9OzI3fVJXQ91nohDTG4FAGlgKOBnn8 8tQG5jL+n1UzGYiVRGHuJusjr/umNX5oXx4nL18AfszOFOSEE8PmP03MRCCMRgDBepyO VZmPuyvEuE4SuP8/QlgC1WRkle2YN/kUkMubId/oqjnCx2KfOSNxjyvWRVxYoNhKdc9+ 49viseM7cYTdyPq+vtFqwfaEhSyT4QpYpwIcDB/GEeu0kNFpux2iHpR6bhrFhRjM+T9S DQKw== X-Gm-Message-State: ACrzQf2lptRrwtwEUZkHlnSBbOYKS8bLojsEmCBUeQXgSV308fljmWmP stLQP0/LA4Umfv0A2tvSrs3IH1RwIuQ= X-Google-Smtp-Source: AMsMyM6IoxbxsNQqWcoG2CxQT28VVpHiqVF6CekfRPtNbT1Px5NEhzh3H8sXcDxj3UavjWKN3M9xIA== X-Received: by 2002:a17:907:a0e:b0:780:72bb:5ce4 with SMTP id bb14-20020a1709070a0e00b0078072bb5ce4mr6371652ejc.234.1665193395541; Fri, 07 Oct 2022 18:43:15 -0700 (PDT) Received: from thuna ([90.147.71.32]) by smtp.gmail.com with ESMTPSA id k9-20020a17090632c900b00773f3ccd989sm1983293ejk.68.2022.10.07.18.43.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 18:43:15 -0700 (PDT) From: Thuna To: bug-gnu-emacs@gnu.org Subject: Support image-type `jpg' Date: Sat, 08 Oct 2022 03:43:14 +0200 Message-ID: <877d1bytsd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=thuna.cing@gmail.com; helo=mail-ej1-x630.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 (--) Currently, `jpg' is not in image-types, despite `jpeg' being in it. Similarly, image descriptors of the form `(image :type jpg...)' do not display properly, while those of the form `(image :type jpeg...)' do. Changing the type from jpg to jpeg (for a jpg image) does display the image, so it's not like Emacs is incapable of doing it; I imagine this should be a trivial fix. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 08 06:37:00 2022 Received: (at 58373) by debbugs.gnu.org; 8 Oct 2022 10:37:00 +0000 Received: from localhost ([127.0.0.1]:38373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh7CW-0004OW-BA for submit@debbugs.gnu.org; Sat, 08 Oct 2022 06:37:00 -0400 Received: from mail-oo1-f48.google.com ([209.85.161.48]:40605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh7CU-0004OJ-Qi for 58373@debbugs.gnu.org; Sat, 08 Oct 2022 06:36:59 -0400 Received: by mail-oo1-f48.google.com with SMTP id z126-20020a4a4984000000b0048055849236so1530800ooa.7 for <58373@debbugs.gnu.org>; Sat, 08 Oct 2022 03:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=s/F8sib7ctS68uTrI4wibix/izm3VW1Rwbq676EmOHI=; b=nenRTdO1DxGift2Fk0h5GkMHXw7r87t8aeGDjYe9XYh+TjkaZnkIoJkNyB8DR0URnE JRvoeeQi04gIGRyAQfHi2gTJy7ApfxqJ+Wmiy5NVR8GZb1s0jHvExg26s1B9BGtuuqmA uQsDv0lE/5dHT8v6sG+9wialM0sabCF6KdoyMXdieTR/Hq0rwLFWhGbPnCoIAP2G6V06 qzFN+TfKhmaGCHt4I3qkZcbWXe6R2XySyGyYkBA7ggbjdKh+UpPhWF7uN6cJR3dsShkV sjXDG49RXSA5MJHQATabnKZwimYRmE8If7zj70NTSk7LJ42X25vMv5n/Fxwmcn+dlk5c 5Q7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s/F8sib7ctS68uTrI4wibix/izm3VW1Rwbq676EmOHI=; b=rXqjn+jSsvQA8dF0EQv3bDp2ySovtgqGVkhYIAgTOSGBdupAVB7EacWoJ5gbB8aZi9 f0REmEHfU61xSyI/jx7Bu7NtO7opNhBqaY404T7i9Ivc41LfqSzmGbvyKm2J9vhuQPxm cIiOPOE9v4Cn/6z3Yb9f2iqJQWx1UwIIboYh5DAN+V03J5WFq9jBhlQWtc51jKYkUnIH tpD7jkg7B1RBYWRkDnFnUVqKmDAQtbpAqIbrT2I/YMeMMMhr2fJ3SHzovr6/LeJ+e2+2 SscBYEP7my8Jqpepsw7seKp12+nY4wx4phltiQQXk4kMiryHodbfhnkmmQ1Ae8sLzBPE m3Wg== X-Gm-Message-State: ACrzQf2b5UPCH6FBQH4/ZOlH5iTBEC2aLryPE5/RMo0926H058vq4PPI NlAJ+4H5RTNOOuZj/Cqv8aP8hu8j+lcO65Kw7aU= X-Google-Smtp-Source: AMsMyM50Dq7Obfz6nfbdeahyOtmk8Ft4RAgNULYtVrH4j4tV92p6GWc6p8bIfTuUm7LRXrpxkqp85xHdwSGSm/or4wU= X-Received: by 2002:a4a:4bc5:0:b0:47d:9d6f:928b with SMTP id q188-20020a4a4bc5000000b0047d9d6f928bmr3446339ooa.34.1665225413161; Sat, 08 Oct 2022 03:36:53 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 8 Oct 2022 12:36:52 +0200 From: Stefan Kangas In-Reply-To: <877d1bytsd.fsf@gmail.com> References: <877d1bytsd.fsf@gmail.com> X-Hashcash: 1:20:221008:thuna.cing@gmail.com::tJPTnWWsjBct06Bd:0+P4 MIME-Version: 1.0 Date: Sat, 8 Oct 2022 12:36:52 +0200 Message-ID: Subject: Re: bug#58373: Support image-type `jpg' To: Thuna , 58373@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58373 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 (-) Thuna writes: > Currently, `jpg' is not in image-types, despite `jpeg' being in it. > Similarly, image descriptors of the form `(image :type jpg...)' do not > display properly, while those of the form `(image :type jpeg...)' do. The image type is really "JPEG" (and the MIME type "image/jpeg"), while ".jpg" just happens to be a commonly used file extension for that file format. So what we have now is already correct, strictly speaking. All the same, perhaps it would be convenient to allow "jpg" as an alias for "jpeg". Would that risk introducing some backwards-incompatibility with some package out there though? From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 08 09:16:48 2022 Received: (at 58373) by debbugs.gnu.org; 8 Oct 2022 13:16:48 +0000 Received: from localhost ([127.0.0.1]:38614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9h9-0002B7-ON for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:16:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9gz-0002AU-QP for 58373@debbugs.gnu.org; Sat, 08 Oct 2022 09:16:44 -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:Date:References: In-Reply-To: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=wLlUexumcjtinU/MMfTrNxeok6V9DGVgxieII9NZG3Y=; b=m0oNd472idq9tAHNqrSSUCNmeo pGe8OOtgQZhwA0viMeg2KkfYT6L7tKs0ufKAwR671wqCdwXhPApNSSjaOiIT5Ik+8h78KJl1A5V1/ ejKUMoysmQetImI/zjZncR+CAG1EC9TcR3zGOHhqde21rsM8mti/63vjQpXTeTYchaco=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9gr-00007G-TW; Sat, 08 Oct 2022 15:16:32 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#58373: Support image-type `jpg' In-Reply-To: (Stefan Kangas's message of "Sat, 8 Oct 2022 12:36:52 +0200") References: <877d1bytsd.fsf@gmail.com> X-Now-Playing: Joni Mitchell's _Ladies of the Canyon_: "Woodstock" Date: Sat, 08 Oct 2022 15:16:29 +0200 Message-ID: <871qritpzm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: Stefan Kangas writes: > The image type is really "JPEG" (and the MIME type "image/jpeg"), while > ".jpg" just happens to be a commonly used file extension for that file > format. So what we have now is already correct, str [...] 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: 58373 Cc: 58373@debbugs.gnu.org, Thuna 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 (---) Stefan Kangas writes: > The image type is really "JPEG" (and the MIME type "image/jpeg"), while > ".jpg" just happens to be a commonly used file extension for that file > format. So what we have now is already correct, strictly speaking. > > All the same, perhaps it would be convenient to allow "jpg" as an alias > for "jpeg". Would that risk introducing some backwards-incompatibility > with some package out there though? It probably won't, but I don't think it would be a good idea to introduce an alias here. It's less confusing to just have a simple single mapping from type to backend. So I don't think we should do anything here, and I'm therefore closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 08 09:16:44 2022 Received: (at control) by debbugs.gnu.org; 8 Oct 2022 13:16:44 +0000 Received: from localhost ([127.0.0.1]:38612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9h6-0002An-Du for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:16:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9h4-0002AZ-7B for control@debbugs.gnu.org; Sat, 08 Oct 2022 09:16:42 -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=FGZWWJMq4PltRWzBwEY2luCoqFGfd40C4a5sT82Xj2o=; b=sfjwXGDD6hJU4t7PtQ/cUy22GI wfRFDJ2+qVOEQjMUGm8vulukANjM3k3e610LXaxRAT18dkBZ0604V9N8JqrVGsffF964P9HY+COZZ mImp3M77eSV1SIugGdlCML7F1RjNaTWE0bulecCrSOQqCcK/6InuvO7OhF59UzCbaSXI=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9gw-00007P-IG for control@debbugs.gnu.org; Sat, 08 Oct 2022 15:16:36 +0200 Date: Sat, 08 Oct 2022 15:16:34 +0200 Message-Id: <87zge6sbf1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58373 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 58373 notabug close 58373 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 (---) tags 58373 notabug close 58373 quit From unknown Fri Jun 20 07:26:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Nov 2022 12:24:08 +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