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: nxml-mode: consider changing nxml-sexp-element-flag default Date: Thu, 15 Mar 2018 21:01:37 +0100 Message-ID: <1521144097.2469677.1304661504.09A209E0@webmail.messagingengine.com> Reply-To: jostein@kjonigsen.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_----------=_152114409724696770" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1521144049 5820 195.159.176.226 (15 Mar 2018 20:00:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2018 20:00:49 +0000 (UTC) To: emacs-devel@gnu.org, Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 15 21:00:45 2018 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 1ewZ3L-0001OZ-NT for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2018 21:00:44 +0100 Original-Received: from localhost ([::1]:53166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewZ5O-0002MG-DF for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2018 16:02:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewZ4J-0002JL-6P for emacs-devel@gnu.org; Thu, 15 Mar 2018 16:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewZ4G-0005b7-0m for emacs-devel@gnu.org; Thu, 15 Mar 2018 16:01:43 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40957) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ewZ4F-0005Zo-D6; Thu, 15 Mar 2018 16:01:39 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 870C720D2C; Thu, 15 Mar 2018 16:01:37 -0400 (EDT) Original-Received: from web1 ([10.202.2.211]) by compute6.internal (MEProxy); Thu, 15 Mar 2018 16:01:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:reply-to:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=sM6GsGTPBDqGRQEnk Rgb3mDKKw6/GG5HLsGOxsVHg+s=; b=ipwdBL2rWW3Bm4baWFULipUT1kcpFnn8u 7R1JdKFaKteEd4EU29yPnFKe7dk7i9nCI9DjNRhfnlVmMScwkX5D3fgC0ecEUgZQ l2qxmWnLYYtMGt1lawt6dHrcJttZS862VCFYBXYGqJ17JhU5qpg87QN8i+IUxhkV 2OkizJReNdV6dBM1OfyF3f0xfeK18O+uVd4MJEzaCPGAqXRKaJdfCwEkk9HyhZM1 lhXX95OsxSGNv0hkf0U+AtpBkl9j3cQZtN4YkNKZUuQyLwePUXEjX0lKDVdTFHDl ocu9hIVVzE8IKUSnbpbDtZ1u0w3vC74c++GkK0TFpHnQJnQJoVoig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:reply-to:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=sM6GsGTPBDqGRQEnk Rgb3mDKKw6/GG5HLsGOxsVHg+s=; b=b/xqqybmkPzQ9x3M2TTHUx+4+NYHFGxvG lIjYuyCQzixhllnVMg3Cagy1//bxU5PUySG8mDfQMfiQtgavMy6h/FWdHmRkw41Y EfgQ0zRaIiMnqgpz7a7yf+S1l/O+WbRHRy6h0b0+WggM5s3OOhpu5INl/L97K8xD Oclr3mtnjxKgssN9mMLwRvUSYU1VyV/ybYK8YWnX8U2wRSkLZCHk7NKvbLrL51KL xT1jyrxW2GwHCtHA8ZV/02juX8UWkR25lFrbuBY4KiKoCrQfb5Tihxxg3Qaa9L1u 3qfpDdWuJQusAy7b7oiAkGBoc4LO7LcY/F/OE9XpDNx7N+733FfCA== X-ME-Sender: Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id 5DC5A940AA; Thu, 15 Mar 2018 16:01:37 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface - ajax-b3834dbb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.29 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:223764 Archived-At: This is a multi-part message in MIME format. --_----------=_152114409724696770 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hey everyone. Looking at the commit-history, there's not much happening with nxml-mode right now. It's stable, mature code. One thing which surprised me when starting to use Emacs though, was how XML is a structured document-format... But using C-M-SPACE didn't select a node in the way it does in other major-mode (like lisp-modes). For -years- this annoyed me... Until someone pointed out that simply setting nxml-sexp-element-flag to true makes Emacs behave exactly the behaviour you would expect and want it to. This is -much- better, and actually makes nxml-mode a decent "programming language" for batch XML-jobs through keyboard macros. Why, oh why, is this not the default? If nxml-mode is "complete" at this point, I still think this is one thing left to improve.This would espe= cially make things betterfor new users. How about it? -- Regards Jostein Kj=C3=B8nigsen jostein@kjonigsen.net =F0=9F=8D=B5 jostein@gmail.com https://jostein.kjonigsen.net --_----------=_152114409724696770 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
Hey everyone.

Looking at the commit-history, there's not much happening with nxml-mo= de right now. It's stable, mature code.

One thing which surprised me when starting to use Emacs though, was ho= w XML is a structured document-format... But using C-M-SPACE didn't select = a node in the way it does in other major-mode (like lisp-modes).

For -years- this annoyed me... Until someone pointed out that simply s= etting nxml-sexp-element-flag to true makes Emacs behave exactly the behavi= our you would expect and want it to.

This is -much- better, and actually makes nxml-mode a decent "programm= ing language" for batch XML-jobs through keyboard macros.

Why, oh why, is this not the default?  If nxml-mode is "complete"= at this point, I still think this is one thing left to improve.
This would especially make things betterfor new users.

How about it?

--
Regards
Jostein Kj=C3=B8nigsen


--_----------=_152114409724696770--