bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode


From: Eli Zaretskii
Subject: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode
Date: Mon, 20 Mar 2023 20:47:22 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: 62276@debbugs.gnu.org
> Date: Mon, 20 Mar 2023 20:10:19 +0200
> 
> >> 4. M-: (require 'c-ts-mode) RET
> >> 5. C-x C-f etc/images/attach.xpm RET
> >>
> >> It's not displayed as an image and C-c C-c does nothing.
> >
> > Thanks, should be fixed now on the emacs-29 branch.
> 
> Are there other modes that require such ad-hoc hacks?

The ad-hocery was required because files.el itself uses an ugly (and
undocumented) hack to allow visiting XPM/XBM as either a C file or an
image file.

> Is there a problem with this pair?
> 
>      ("\\.svgz?\\'" . image-mode)
>      ("\\.svgz?\\'" . xml-mode)

I don't know.  Is there?

> There is only html-ts-mode, not xml-ts-mode?

Yes, at least for now.  I don't think there's a grammar library for
XML.

Can we close this bug now?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]