Subject: bug#79379: closed (Re: bug#79379: [PATCH] 31.0.50; nxml-mode does not provide schema-support for SLNX-files)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 06 Sep 2025 09:32:01 +0000

Your bug report

#79379: [PATCH]  31.0.50; nxml-mode does not provide schema-support for SLNX-files

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
79379: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79379
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#79379: [PATCH] 31.0.50; nxml-mode does not provide schema-support for SLNX-files
From: Eli Zaretskii <[email-masked]>
To: Jostein Kjønigsen <[email-masked]>
Cc: [email-masked]
Date: Sat, 06 Sep 2025 12:31:43 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Jostein Kjønigsen <[email-masked]>
> Date: Thu, 4 Sep 2025 10:49:29 +0200
> Cc: [email-masked]
> 
> > On 4 Sep 2025, at 07:31, Eli Zaretskii <[email-masked]> 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.

Subject: [PATCH] 31.0.50; nxml-mode does not provide schema-support for SLNX-files
From: Jostein Kjønigsen <[email-masked]>
To: [email-masked]
Date: Wed, 3 Sep 2025 21:30:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

￼