[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yank-media: allow users to limit image types that can be inserted
From: |
Eli Zaretskii |
Subject: |
Re: yank-media: allow users to limit image types that can be inserted |
Date: |
Tue, 24 Sep 2024 16:23:50 +0300 |
> From: Visuwesh <visuweshm@gmail.com>
> Cc: pinmacs@cas.cat, rpluim@gmail.com, emacs-devel@gnu.org
> Date: Tue, 24 Sep 2024 18:20:21 +0530
>
> I haven't encountered many "multiple types available" scenario outside
> of Firefox and LibreOffice. In most cases, yank-media just does the
> thing without interrupting me but when the uncommon case of "multiple
> types available" crops up, I would like yank-media to choose the type I
> want automatically for me. In Org, I personally would make yank-media
> choose image/png. If you ask me for technical reasons to prefer
> image/png specifically, I cannot give you a concrete answer. It might as
> well be image/jpeg for all I care. I simply do not want to be asked a
> question when I'm focusing on writing. The point of the user option is
> to keep user interaction to a minimum.
I think if PNG is supported by the running Emacs, it is always
preferable. (And we can come up with the list image formats ordered
by their preference, and use that to find the first available one.)
I do agree that in many/most cases having Emacs deduce the best format
automatically is a very useful feature to have. I also agree that it
is useful to be able to see the list of available formats and choose
from them. I just think that these two extremities is all we need,
provided that we can come up with a good algorithm for deciding the
"most appropriate format" in each case.
- Re: yank-media: allow users to limit image types that can be inserted, (continued)
- Re: yank-media: allow users to limit image types that can be inserted, Robert Pluim, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Robert Pluim, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Pedro, 2024/09/23
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted,
Eli Zaretskii <=
- Re: yank-media: allow users to limit image types that can be inserted, Visuwesh, 2024/09/24
- Re: yank-media: allow users to limit image types that can be inserted, Eli Zaretskii, 2024/09/23
- Re: yank-media: allow users to limit image types that can be inserted, Robert Pluim, 2024/09/24