GNU bug report logs -
#79379
[PATCH] 31.0.50; nxml-mode does not provide schema-support for SLNX-files
Previous Next
To reply to this bug, email your comments to 79379 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#79379
; Package
emacs
.
(Wed, 03 Sep 2025 19:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 03 Sep 2025 19:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
SLNX is a new XML-based file-format for .NET based solutions, replacing
the older proprietary SLN file-format.
Unlike SLN-files, it is merge-friendly and expected to become the new
the de-facto standard for working with .NET projects. This commit adds
support for SLNX-schema to nxml-mode.
When opening SLNX-files in Emacs and activating nxml-mode, no special
schema-validation or completion/assistance is provided.
Attached is a patch which corrects this situation.
(SLNX-files not added to any auto-mode-list, because I couldn't
find where/if that is done in the nxml-mode codebase).
—
Kind Regards
Jostein Kjønigsen

[Message part 2 (text/html, inline)]
[0001-nxml-mode-add-schema-for-.NET-SLNX-files.patch (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#79379
; Package
emacs
.
(Thu, 04 Sep 2025 05:32:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 79379 <at> debbugs.gnu.org (full text, mbox):
> From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
> Date: Wed, 3 Sep 2025 21:30:37 +0200
>
> SLNX is a new XML-based file-format for .NET based solutions, replacing
> the older proprietary SLN file-format.
>
> Unlike SLN-files, it is merge-friendly and expected to become the new
> the de-facto standard for working with .NET projects. This commit adds
> support for SLNX-schema to nxml-mode.
>
> When opening SLNX-files in Emacs and activating nxml-mode, no special
> schema-validation or completion/assistance is provided.
>
> Attached is a patch which corrects this situation.
Thanks.
> (SLNX-files not added to any auto-mode-list, because I couldn't
> find where/if that is done in the nxml-mode codebase).
It's in files.el, where auto-mode-list is set up:
("\\.x[ms]l\\'" . xml-mode)
and "C-h f xml-mode RET" says
xml-mode is an alias for ‘nxml-mode’ in ‘nxml-mode.el’.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#79379
; Package
emacs
.
(Thu, 04 Sep 2025 08:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 79379 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
—
Kind Regards
Jostein Kjønigsen
> On 4 Sep 2025, at 07:31, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>
>> (SLNX-files not added to any auto-mode-list, because I couldn't
>> find where/if that is done in the nxml-mode codebase).
>
> It's in files.el, where auto-mode-list is set up:
>
> ("\\.x[ms]l\\'" . xml-mode)
>
> and "C-h f xml-mode RET" says
>
> xml-mode is an alias for ‘nxml-mode’ in ‘nxml-mode.el’.
Thanks!
Attached is a patch which also includes this:

[Message part 2 (text/html, inline)]
[0001-nxml-mode-add-schema-for-.NET-SLNX-files.patch (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 06 Sep 2025 09:32:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
:
bug acknowledged by developer.
(Sat, 06 Sep 2025 09:32:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 79379-done <at> debbugs.gnu.org (full text, mbox):
> From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
> Date: Thu, 4 Sep 2025 10:49:29 +0200
> Cc: 79379 <at> debbugs.gnu.org
>
> > On 4 Sep 2025, at 07:31, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >
> >> (SLNX-files not added to any auto-mode-list, because I couldn't
> >> find where/if that is done in the nxml-mode codebase).
> >
> > It's in files.el, where auto-mode-list is set up:
> >
> > ("\\.x[ms]l\\'" . xml-mode)
> >
> > and "C-h f xml-mode RET" says
> >
> > xml-mode is an alias for ‘nxml-mode’ in ‘nxml-mode.el’.
>
> Thanks!
>
> Attached is a patch which also includes this:
Thanks, installed on master, and closing the bug.
This bug report was last modified 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.