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?= Newsgroups: gmane.emacs.devel Subject: Re: nxml-mode: Derive from prog-mode instead of text-mode Date: Wed, 24 May 2017 10:50:46 +0200 Message-ID: <1495615846.16883.986870960.75A217AB@webmail.messagingengine.com> References: <1494412509.2069441.971865104.0646ACD6@webmail.messagingengine.com> <8337ccbrar.fsf@gnu.org> <1494439153.1311720.972341016.7C2EC66A@webmail.messagingengine.com> <83o9v0a66q.fsf@gnu.org> <1494487799.3240345.972964808.43DA610E@webmail.messagingengine.com> <87r2zqvmy9.fsf@pokyo> <1494930855.4131543.978121176.7BB5246B@webmail.messagingengine.com> <83y3tw63ap.fsf@gnu.org> <1494961376.1006215.978713264.44871586@webmail.messagingengine.com> Reply-To: jostein@kjonigsen.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_----------=_1495615846168831" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495615920 32510 195.159.176.226 (24 May 2017 08:52:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 08:52:00 +0000 (UTC) Cc: p.stephani2@gmail.com, tom@tromey.com, emacs-devel@gnu.org To: jostein@kjonigsen.net, Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 24 10:51:51 2017 Return-path: 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 ) id 1dDS1H-0008F5-07 for ged-emacs-devel@m.gmane.org; Wed, 24 May 2017 10:51:51 +0200 Original-Received: from localhost ([::1]:53605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDS1M-0004gx-3w for ged-emacs-devel@m.gmane.org; Wed, 24 May 2017 04:51:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDS0Q-0004au-I0 for emacs-devel@gnu.org; Wed, 24 May 2017 04:50:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDS0P-0003rt-Jq for emacs-devel@gnu.org; Wed, 24 May 2017 04:50:58 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36967) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDS0J-0003pY-SL; Wed, 24 May 2017 04:50:52 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DE583209ED; Wed, 24 May 2017 04:50:46 -0400 (EDT) Original-Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Wed, 24 May 2017 04:50:46 -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=18Tfn2lgD9WoTeII3U3jD5UJ1Qx2SASjInr5zfxe8 ts=; b=r1OR+UjQ6Xh21HYIrr5Y35PZnm+CPFHUBIArwyqMCPzHM1tPyJ/Z9pdfr uyDHK4u6NVDS+32pbj4BC4mV0dzQanltCNwLMPx8/yurvP3VEKtIYKM+qY9trDuq gvUzjHLJMSpwJ5YAiQ5IsQ54nGh6oEZwsM3CKKZHQiLosV+waisBtboPe57iGTVB uQrVDvHlMOI9wwWlG6jEEStBTK4R0CCVMJtD/7mz9eg0/XWZ9ZjRvO34DDDcANoK 1v5PwAX+ZGOxNNWyxW5vv2jFa/RPqDcg246XQhZ0xmxEGibSWu7oAdhns7NR301h UtqGOuJgXUBDkURQn1rO5QO1e9tWg== 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=18Tfn2lgD9WoTeII3U3jD5UJ1Qx2SASjInr5zfxe8ts=; b=l35omGX3if6w 25l0ampnBEK+W3A/VFQ9exrMD3MZBC5L/4E2nOtvR3bRTv4KZuVtYUPRr2tXD/Mg PHV/y12KmXccNaV51S8yhA93VH9am61HX72sNkB7PcQjJ3kQ5c48/mnN+a0pKvep W4jmp5eTOnSOFfREQQliL4+RV0T3UPHL8o7IwDsFIi+0qrGlnhuxcECid6Fx/hqH ADslRTG7A0Zftq0Yolpam/Os4ni8YLFbv55CCJ+JUyuVgvKvwvLPpiddLxqwl1pm 0+oZLBJNxyQf5b3eAukwZ6nmuHqDGoiB+nBm6n+bM+9O6ct6HYLN2n6IvMZrVfd9 jtqgZcbpCA== X-ME-Sender: Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id B655F9E259; Wed, 24 May 2017 04:50:46 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface - ajax-a5162694 In-Reply-To: <1494961376.1006215.978713264.44871586@webmail.messagingengine.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215157 Archived-At: This is a multi-part message in MIME format. --_----------=_1495615846168831 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Tue, May 16, 2017, at 09:02 PM, Jostein Kj=C3=B8nigsen wrote: > On Tue, May 16, 2017, at 08:54 PM, Eli Zaretskii wrote: >> you are shifting the focus of this discussion from nxml-mode >> and its ilk, which was the original issue, to an almost completely >> unrelated one. There be a lot of unrelated bikeshedding (which >> actually already began). >=20 > Thanks Eli. >=20 > That's a good point. A point well taken. >=20 > Trying to get things back to where we started, with a minimal of > bikeshedding, I think there's 3 obvious choices for what direction > we can go:> > * Keep everything as is. Keep nxml-mode derived from text-mode (and > annoy whoever finds that unexpected) > * Derive nxml-mode from prog-mode instead (and annoy whoever finds > *that* unexpected) > * Create a new intermediate mode for deriving (structured-text-mode, > or similar) and use this for all structured and textual data- > format files (and thus, nxml-mode). Let people make new hooks as > they see fit.>=20 > Personally I feel like the third option may be the most "proper" one, > but if people for some reason should be opposed to that, I still think > the second option makes more sense than the first one.>=20 > So... Is there any obvious counter-arguments to the third option? Any > reasons we should definitely *not* do that?>=20 > -- > Regards > Jostein Any more opinions on this since last time around? -- Regards Jostein --_----------=_1495615846168831 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
On Tue, May 16, 2017, at 09:02 PM, Jostein Kj=C3=B8nigsen wrote:=
On Tue, May 16, 2017, at 08:54 PM, Eli Zaret= skii wrote:
you are shifting the focus of this discussion from nxml-mo= de
and its ilk, which was the original issue, to an almost completely
=
unrelated one.  There be a lot of unrelated bikeshedding (which
actually already began).

Thanks Eli.

That's a good point. A point well taken.

Trying to get things back to where we started, with a minimal of bikes= hedding, I think there's 3 obvious choices for what direction we can go:

  • Keep everything as is. Keep nxml-mode derived from text-mode (and a= nnoy whoever finds that unexpected)
  • Derive nxml-mode from prog-= mode instead (and annoy whoever finds that unexpected)
  • C= reate a new intermediate mode for deriving (structured-text-mode, or simila= r) and use this for all structured and textual data-format files (and thus,= nxml-mode). Let people make new hooks as they see fit.
<= div>
Personally I feel like the third option may be the most "proper" one, = but if people for some reason should be opposed to that, I still think the = second option makes more sense than the first one.

So... Is there any obvious counter-arguments to the third option?= Any reasons we should definitely not do that?

--
Regards
Jostein

Any more opinions on this since last time around?

--
Regards
Jostein

--_----------=_1495615846168831--