Re: master d5f515e4a33 1/2: New image type canvas

Stéphane Marks <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <CAN+1HbrD1pkHFXED6dJDgdCOar7oMn++UUOYzhOaJ9sX932jiA@mail.gmail.com>
On Sat, Aug 22, 2026 at 7:08 AM Divya Ranjan Pattanaik <
[email protected]> wrote:

>
> Michael Albinus <[email protected]> writes:
>
> >
> > Likely, the tests would profit from
> >
> > (skip-unless (functionp 'canvas-refresh))
> >
> > Best regards, Michael.
> >
>
> Hello Michael, thank you for reporting this. Here's a patch, it uses
> (display-graphic-p) instead. Do we need to do anything about the canvas
> module function in emacs-module-resources/mod-test.c? Or, is it okay if
> those never get called from emacs-module-tests.el?
>

Since this is future looking...for people who want to display canvas images
in tty terminals using the Kitty Graphics Protocol
https://sw.kovidgoyal.net/kitty/graphics-protocol/, perhaps limiting to
graphical displays is not the ideal constraint?

Also see
https://lists.nongnu.org/archive/html/emacs-devel/2022-09/msg00384.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.