GNU bug report logs - #79379
[PATCH] 31.0.50; nxml-mode does not provide schema-support for SLNX-files

Previous Next

Package: emacs;

Reported by: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>

Date: Wed, 3 Sep 2025 19:32:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#79379: closed ([PATCH]  31.0.50; nxml-mode does not provide
 schema-support for SLNX-files)
Date: Sat, 06 Sep 2025 09:32:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 06 Sep 2025 12:31:43 +0300
with message-id <86o6roexkw.fsf <at> gnu.org>
and subject line Re: bug#79379: [PATCH]  31.0.50; nxml-mode does not provide schema-support for SLNX-files
has caused the debbugs.gnu.org bug report #79379,
regarding [PATCH]  31.0.50; nxml-mode does not provide schema-support for SLNX-files
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
79379: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79379
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH]  31.0.50; nxml-mode does not provide schema-support for
 SLNX-files
Date: Wed, 3 Sep 2025 21:30:37 +0200
[Message part 3 (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 4 (text/html, inline)]
[0001-nxml-mode-add-schema-for-.NET-SLNX-files.patch (application/octet-stream, attachment)]
[Message part 6 (text/html, inline)]
[Message part 7 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: 79379-done <at> debbugs.gnu.org
Subject: Re: bug#79379: [PATCH]  31.0.50; nxml-mode does not provide
 schema-support for SLNX-files
Date: Sat, 06 Sep 2025 12:31:43 +0300
> 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.