unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62276-done@debbugs.gnu.org
Subject: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode
Date: Tue, 21 Mar 2023 20:46:30 +0200	[thread overview]
Message-ID: <86fs9yj62h.fsf@mail.linkov.net> (raw)
In-Reply-To: <83wn3b6z0l.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Mar 2023 20:47:22 +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?

It seems no more fixes are required, so now closing.





      reply	other threads:[~2023-03-21 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19 17:36 bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode Juri Linkov
2023-03-19 20:21 ` Eli Zaretskii
2023-03-20 18:10   ` Juri Linkov
2023-03-20 18:47     ` Eli Zaretskii
2023-03-21 18:46       ` Juri Linkov [this message]

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=86fs9yj62h.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=62276-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).