unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Thuna <thuna.cing@gmail.com>, 58373@debbugs.gnu.org
Subject: bug#58373: Support image-type `jpg'
Date: Sat, 8 Oct 2022 12:36:52 +0200	[thread overview]
Message-ID: <CADwFkmmrSf_bN7g5B2auEU9zZDKmioPT3-45BMpZBzbAnPm9OQ@mail.gmail.com> (raw)
In-Reply-To: <877d1bytsd.fsf@gmail.com>

Thuna <thuna.cing@gmail.com> 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?





  reply	other threads:[~2022-10-08 10:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08  1:43 bug#58373: Support image-type `jpg' Thuna
2022-10-08 10:36 ` Stefan Kangas [this message]
2022-10-08 13:16   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmrSf_bN7g5B2auEU9zZDKmioPT3-45BMpZBzbAnPm9OQ@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=58373@debbugs.gnu.org \
    --cc=thuna.cing@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).