all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jostein Kjønigsen" <jostein@secure.kjonigsen.net>
To: Steinar Bang <sb@dod.no>,
	emacs-devel@gnu.org, Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: Re: nxml-mode: consider changing nxml-sexp-element-flag default
Date: Mon, 19 Mar 2018 21:52:30 +0100	[thread overview]
Message-ID: <1521492750.2916267.1308771384.398BDC27@webmail.messagingengine.com> (raw)
In-Reply-To: <86h8pen9st.fsf@dod.no>


[-- Attachment #1.1: Type: text/plain, Size: 604 bytes --]

On Sat, Mar 17, 2018, at 1:52 PM, Steinar Bang wrote:
>> Probably for fear of irking users used to the old behavior.
>> FWIW I'm mildly in favor of changing the default,
> 
> I'm a longtime nxml user, and I'm in favour of changing the default.

In case there's no objections and we decide to go through with this,
I've change the default and run "make check".
It seems no tests are impacted, and the patch is therefore pretty small.
Is there anything more we'll need to do?
--
Regards
Jostein Kjønigsen

jostein@kjonigsen.net 🍵 jostein@gmail.com
https://jostein.kjonigsen.net





[-- Attachment #1.2: Type: text/html, Size: 1513 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nxml-mode-defaults.patch --]
[-- Type: text/x-patch; name="nxml-mode-defaults.patch", Size: 771 bytes --]

From f3c7a19423d2a01c6e25dd017884b78c09a50d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jostein=20Kj=C3=B8nigsen?= <jostein@kjonigsen.net>
Date: Mon, 19 Mar 2018 21:48:33 +0100
Subject: [PATCH] nxml-mode: change nxml-sexp-element-flag default to t

---
 lisp/nxml/nxml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index 1df410e505..554b5acfb2 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -56,7 +56,7 @@ nxml-char-ref-display-glyph-flag
   :group 'nxml
   :type 'boolean)
 
-(defcustom nxml-sexp-element-flag nil
+(defcustom nxml-sexp-element-flag t
   "Non-nil means sexp commands treat an element as a single expression."
   :group 'nxml
   :type 'boolean)
-- 
2.14.1


  reply	other threads:[~2018-03-19 20:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15 20:01 nxml-mode: consider changing nxml-sexp-element-flag default Jostein Kjønigsen
2018-03-15 21:10 ` Stefan Monnier
2018-03-17 12:52   ` Steinar Bang
2018-03-19 20:52     ` Jostein Kjønigsen [this message]
2018-03-19 21:03       ` Stefan Monnier
2018-03-20  6:18         ` Jostein Kjønigsen
2018-03-23  7:36           ` Jostein Kjønigsen
2018-03-23  8:29             ` Eli Zaretskii
2018-04-01  9:50           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521492750.2916267.1308771384.398BDC27@webmail.messagingengine.com \
    --to=jostein@secure.kjonigsen.net \
    --cc=emacs-devel@gnu.org \
    --cc=jostein@kjonigsen.net \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=sb@dod.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.