* Potential bug in Image mode on Emacs 29 PGTK on Wayland
@ 2024-03-07 22:45 Soham Gumaste
2024-03-08 7:14 ` Eli Zaretskii
[not found] ` <86zfv95gmc.fsf@p200300d62703c0a951e4723b08cd110e.dip0.t-ipconnect.de>
0 siblings, 2 replies; 7+ messages in thread
From: Soham Gumaste @ 2024-03-07 22:45 UTC (permalink / raw)
To: emacs-devel
Hello,
I think I have come across a potential bug -- On emacs 29 PGTK, .ppm
files dont render `image-toggle-display` is called. I was just
experimenting with different versions of emacs, and the non-pgtk build
for emacs29 does NOT have this issue.
Steps to repro:
0. Use emacs 29 PGTK on a Wayland desktop environment
1. C-x C-f a file that is of the .ppm format (Portable Pixmap Format)
2. C-c C-c to view the image
3. Nothing happens.
I can, however, "fix" this "bug" by setting
`inhibit-eval-elisp-during-redisplay` to `t`, but that also breaks a
bunch of other stuff. Please let me know how I can document this
further, or if it is an issue on my end.
My configs are as follows:
Emacs config: https://github.com/SohamG/dotfiles/blob/main/.emacs.d/configuration.org
Emacs package: `emacs29-pgtk` as found in NixPkgs 23.11
Please include me as To: and/or Cc: as I consume this mailing list via
the digests option of mailman.
Thanks
--
Soham Gumaste
sohamg2@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
2024-03-07 22:45 Potential bug in Image mode on Emacs 29 PGTK on Wayland Soham Gumaste
@ 2024-03-08 7:14 ` Eli Zaretskii
2024-03-08 16:39 ` Soham Gumaste
[not found] ` <86zfv95gmc.fsf@p200300d62703c0a951e4723b08cd110e.dip0.t-ipconnect.de>
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-03-08 7:14 UTC (permalink / raw)
To: Soham Gumaste; +Cc: emacs-devel
> From: Soham Gumaste <sohamg2@gmail.com>
> Date: Thu, 7 Mar 2024 16:45:32 -0600
>
> I think I have come across a potential bug -- On emacs 29 PGTK, .ppm
> files dont render `image-toggle-display` is called. I was just
> experimenting with different versions of emacs, and the non-pgtk build
> for emacs29 does NOT have this issue.
>
> Steps to repro:
> 0. Use emacs 29 PGTK on a Wayland desktop environment
> 1. C-x C-f a file that is of the .ppm format (Portable Pixmap Format)
> 2. C-c C-c to view the image
> 3. Nothing happens.
>
> I can, however, "fix" this "bug" by setting
> `inhibit-eval-elisp-during-redisplay` to `t`, but that also breaks a
> bunch of other stuff. Please let me know how I can document this
> further, or if it is an issue on my end.
>
> My configs are as follows:
> Emacs config: https://github.com/SohamG/dotfiles/blob/main/.emacs.d/configuration.org
> Emacs package: `emacs29-pgtk` as found in NixPkgs 23.11
Why is your config important here? doesn't the problem happen in
"emacs -Q"?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
2024-03-08 7:14 ` Eli Zaretskii
@ 2024-03-08 16:39 ` Soham Gumaste
2024-03-08 16:53 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Soham Gumaste @ 2024-03-08 16:39 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
> Why is your config important here? doesn't the problem happen in
> "emacs -Q"?
Hey, thanks for the reply. I'm sorry I forgot to mention in the
original email that this does NOT happen with `emacs -Q`. That is to
say everything works as expected in `emacs -Q`. I have gone through my
config, and ran the debugger on `image-toggle-display-image` and I
can't find anything particular in my config that could be related.
--
Soham Gumaste
sohamg2@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
2024-03-08 16:39 ` Soham Gumaste
@ 2024-03-08 16:53 ` Eli Zaretskii
2024-03-08 17:07 ` Soham Gumaste
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-03-08 16:53 UTC (permalink / raw)
To: Soham Gumaste; +Cc: emacs-devel
> From: Soham Gumaste <sohamg2@gmail.com>
> Date: Fri, 8 Mar 2024 10:39:06 -0600
> Cc: emacs-devel@gnu.org
>
> > Why is your config important here? doesn't the problem happen in
> > "emacs -Q"?
>
> Hey, thanks for the reply. I'm sorry I forgot to mention in the
> original email that this does NOT happen with `emacs -Q`. That is to
> say everything works as expected in `emacs -Q`. I have gone through my
> config, and ran the debugger on `image-toggle-display-image` and I
> can't find anything particular in my config that could be related.
Well, that's a very large configuration that loads a lot of packages.
I think you need to enable them one by one, or do a bisection, until
you find the customization that causes the problem. It is not
reasonable to expect someone else here to do this work for you.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
2024-03-08 16:53 ` Eli Zaretskii
@ 2024-03-08 17:07 ` Soham Gumaste
2024-03-08 19:38 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Soham Gumaste @ 2024-03-08 17:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
On Fri, Mar 8, 2024 at 10:53 AM Eli Zaretskii <eliz@gnu.org> wrote:
> It is not
> reasonable to expect someone else here to do this work for you.
>
I'm sorry I wasn't clear - asking that wasn't my intention. What I was
wondering is if given the same config, a feature (ie display ppm images)
working on emacs but not on emacs-pgtk counts as a bug or regression.
[-- Attachment #2: Type: text/html, Size: 690 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
[not found] ` <CAAr-Hh3fARRqBM-W2khkNiPPnbLsuRftL=Es64fXy9sV7ysuaQ@mail.gmail.com>
@ 2024-03-08 19:37 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2024-03-08 19:37 UTC (permalink / raw)
To: Soham Gumaste; +Cc: joostkremers, emacs-devel
> From: Soham Gumaste <sohamg2@gmail.com>
> Date: Fri, 8 Mar 2024 10:45:58 -0600
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> > Is it possible that the ppm file itself plays a role? Some work, some don't?
>
> Thanks for the reply.
>
> I am attaching my PPM file to this email (assuming mailman lets me).
This file is 6MB. Please in the future don't post such files
uncompressed, if at all. It is better to post a link where people who
want can download it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Potential bug in Image mode on Emacs 29 PGTK on Wayland
2024-03-08 17:07 ` Soham Gumaste
@ 2024-03-08 19:38 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2024-03-08 19:38 UTC (permalink / raw)
To: Soham Gumaste; +Cc: emacs-devel
> From: Soham Gumaste <sohamg2@gmail.com>
> Date: Fri, 8 Mar 2024 11:07:22 -0600
> Cc: emacs-devel@gnu.org
>
> On Fri, Mar 8, 2024 at 10:53 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> It is not
> reasonable to expect someone else here to do this work for you.
>
> I'm sorry I wasn't clear - asking that wasn't my intention. What I was wondering is if given the same config, a
> feature (ie display ppm images) working on emacs but not on emacs-pgtk counts as a bug or regression.
We cannot answer that question unless we understand what causes the
problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-03-08 19:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07 22:45 Potential bug in Image mode on Emacs 29 PGTK on Wayland Soham Gumaste
2024-03-08 7:14 ` Eli Zaretskii
2024-03-08 16:39 ` Soham Gumaste
2024-03-08 16:53 ` Eli Zaretskii
2024-03-08 17:07 ` Soham Gumaste
2024-03-08 19:38 ` Eli Zaretskii
[not found] ` <86zfv95gmc.fsf@p200300d62703c0a951e4723b08cd110e.dip0.t-ipconnect.de>
[not found] ` <CAAr-Hh3fARRqBM-W2khkNiPPnbLsuRftL=Es64fXy9sV7ysuaQ@mail.gmail.com>
2024-03-08 19:37 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.