From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: =?utf-8?Q?Jostein=20Kj=C3=B8nigsen?= <jostein@secure.kjonigsen.net>
Newsgroups: gmane.emacs.devel
Subject: Re: nxml-mode: Derive from prog-mode instead of text-mode
Date: Wed, 10 May 2017 12:52:59 +0200
Message-ID: <1494413579.2073645.971875192.7141FA8F@webmail.messagingengine.com>
References: <1494412509.2069441.971865104.0646ACD6@webmail.messagingengine.com>
	<CAP_d_8XnUUk2rFtPgEHi4sB3cpA+R9xXHkPdaVLk=CtFHyJs5w@mail.gmail.com>
Reply-To: jostein@kjonigsen.net
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="_----------=_149441357920736451"
Content-Transfer-Encoding: 7bit
X-Trace: blaine.gmane.org 1494413624 18867 195.159.176.226 (10 May 2017 10:53:44 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 10 May 2017 10:53:44 +0000 (UTC)
Cc: Emacs developers <emacs-devel@gnu.org>
To: Yuri Khan <yuri.v.khan@gmail.com>, jostein@kjonigsen.net
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 12:53:40 2017
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1d8PFT-0004nL-1G
	for ged-emacs-devel@m.gmane.org; Wed, 10 May 2017 12:53:39 +0200
Original-Received: from localhost ([::1]:41770 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1d8PFY-0005Z1-MV
	for ged-emacs-devel@m.gmane.org; Wed, 10 May 2017 06:53:44 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54589)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jostein@secure.kjonigsen.net>) id 1d8PEy-0005Yt-4s
	for emacs-devel@gnu.org; Wed, 10 May 2017 06:53:09 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jostein@secure.kjonigsen.net>) id 1d8PEs-0006D0-5D
	for emacs-devel@gnu.org; Wed, 10 May 2017 06:53:08 -0400
Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36077)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <jostein@secure.kjonigsen.net>)
	id 1d8PEr-0006Bw-QA
	for emacs-devel@gnu.org; Wed, 10 May 2017 06:53:02 -0400
Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
	by mailout.nyi.internal (Postfix) with ESMTP id A53152094E;
	Wed, 10 May 2017 06:52:59 -0400 (EDT)
Original-Received: from web5 ([10.202.2.215])
	by compute6.internal (MEProxy); Wed, 10 May 2017 06:52:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	secure.kjonigsen.net; h=cc:content-transfer-encoding
	:content-type:date:from:in-reply-to:message-id:mime-version
	:references:reply-to:subject:to:x-me-sender:x-me-sender
	:x-sasl-enc; s=fm1; bh=uqSZLwXcRcOFTGpLRNgKwoRzoGrj1pFAsn+HYTRPD
	xY=; b=VS0cmn8PyTAVlVDRX9nn5KBMZtLqlo+rVHM8x2cP+U9mnAb+exD7doLPG
	1cPJeuLFM2aQYV1H/prh7VeKjjSLBxpB23+do0QvL3otC7tiG5TpiK5mNEF7FnZz
	MxWWACpVlZCT1xfu8aTWYCtz2k7k80UGkeu9Lej6AQOSVcl92mDbfO2DRU9q0UzE
	PNYFPo3FIFbGpFPA9rbd7aGZPpBu7PK/b9oLKVdeGTGhj2xGTbGD5L4pwDYhParQ
	tfoOfwKHDDBSGqCssCbHyEd9XR3C6ZkgeNqJ/mSfR2Ht5L9ntDtA6Mbxhptmyi/z
	Dso4Z5ROa2KPtt9uCdua3XGlRL0XA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:reply-to:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1;
	bh=uqSZLwXcRcOFTGpLRNgKwoRzoGrj1pFAsn+HYTRPDxY=; b=mx72leepN/Wv
	ebJUoGz32dDysaYkb1ei60lrnU4giuQeOSf6Er25ixci70nGb6oloOhETpK3OgOn
	7FSE7XWrDAAYJ3STJbDgxmynvzQ7JmMWA5DwCEGWOb0xNIVn7QT588WS5GMowE2y
	TQgr4JeV5ymHthpoYiTIoGBogMuCb0pzq6PrtAZNCyjpzYT28u4orlH+9BOroJ7q
	M7D5Id5qPzzmtxzQkA/oQ9lqYWdDK78J6oXm3WcUf6Al+9Yne5xCbgPrQQJp1r7L
	lnq3+WJ6XXU7YiWnPTbalaijKeiGAHO2W8W/esvLL0DftQ9XFTaB3DQSEG9jez+i
	TMmD9TkWSw==
X-ME-Sender: <xms:C_ESWaMfwN-dJSl4deRqH_7VSgBl6rn-4kg0ozOt7SFJZYu8zIoltQ>
Original-Received: by mailuser.nyi.internal (Postfix, from userid 99)
	id 7EDF49E236; Wed, 10 May 2017 06:52:59 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface - ajax-6cc55fe1
In-Reply-To: <CAP_d_8XnUUk2rFtPgEHi4sB3cpA+R9xXHkPdaVLk=CtFHyJs5w@mail.gmail.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 66.111.4.28
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:214749
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/214749>

This is a multi-part message in MIME format.

--_----------=_149441357920736451
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

On Wed, May 10, 2017, at 12:40 PM, Yuri Khan wrote:
> You never edit XHTML, or Docbook, or any other XML-based formats which> g=
et transformed into documentation?

First and foremost: HTML counts as programming among the majority of the
population, so thank you for backing my argument :)With regard to XHTML, I =
use HTML-oriented major-modes for editing these
as I've found them to have much better support for HTML-specific use-
cases (valid element-names, valid attributes, etc), and I think this is
fairly common among most web-developers.
And to be honest, these days I almost exclusively stick to HTML5 anyway,
which has "thrown out" all the XMLness of XHTML with requirements to
close tags and all that stuff.
In that regard (with a risk of being a bit opinionated), I think
considering nxml-mode as a major-mode for general text-editing (and HTML-
editing especially) is looking backwards.
As for Docbook or used other XML-based formats for documentation, I'll
admit I haven't done that, but I can see how that can also be popular
use-cases too.
So nxml-mode may have to appease to different use-cases.

In that case, me saying nxml-mode is mostly used for programming-related
tasks, may be opinionated (and definitely not scientific by any
standards).
On the other hand I can't see how it is more opinionated or less
scientific than assuming the majority of XML-work to be non-programming-
related. But that's seemingly OK?
I'd love to hear other opinions on the matter.

--
Jostein Kj=C3=B8nigsen




--_----------=_149441357920736451
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Wed, May 10, 2017, at 12:40 PM, Yuri Khan wrote:<br></div>
<blockquote type=3D"cite"><div>You never edit XHTML, or Docbook, or any oth=
er XML-based formats which<br></div>
<div>get transformed into documentation?<br></div>
</blockquote><div><div><div><br></div>
<div>First and foremost: HTML counts as programming among the majority of t=
he population, so thank you for backing my argument :) <br></div>
<br><div>With regard to XHTML, I use HTML-oriented major-modes for editing =
these as I've found them to have much better support for HTML-specific use-=
cases (valid element-names, valid attributes, etc), and I think this is fai=
rly common among most web-developers.<br></div>
<div><br></div>
<div>And to be honest, these days I almost exclusively stick to HTML5 anywa=
y, which has "thrown out" all the XMLness of XHTML with requirements to clo=
se tags and all that stuff.<br></div>
<div><br></div>
<div>In that regard (with a risk of being a bit opinionated), I think consi=
dering nxml-mode as a major-mode for general text-editing (and HTML-editing=
 especially) is looking backwards.<br></div>
<div><br></div>
<div><div>As for Docbook or used other XML-based formats for documentation,=
 I'll admit I haven't done that, but I can see how that can also be popular=
 use-cases too.<br></div>
<div><div><br></div>
<div>So nxml-mode may have to appease to different use-cases.<br></div>
<div><br></div>
<div>In that case, me saying nxml-mode is mostly used for programming-relat=
ed tasks, may be opinionated (and definitely not scientific by any standard=
s).<br></div>
<div><br></div>
<div>On the other hand I can't see how it is more opinionated or less scien=
tific than assuming the majority of XML-work to be non-programming-related.=
 But that's seemingly OK?<br></div>
<div><br></div>
<div>I'd love to hear other opinions on the matter.<br></div>
<br></div>
</div>
<div class=3D"signature">--<br></div>
<div id=3D"sig19302177" class=3D"signature"><div class=3D"signature">Jostei=
n Kj=C3=B8nigsen<br></div>
</div>
<div class=3D"signature"><div><br></div>
</div>
</div>
<div><br></div>
</div>
<div><br></div>
</body>
</html>

--_----------=_149441357920736451--