unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Carsten Bormann'" <cabo@tzi.org>
Cc: 14000@debbugs.gnu.org
Subject: bug#14000: 24.3.50; electric-pair-post-self-insert-function does not handle nestedparentheses
Date: Tue, 26 Mar 2013 07:20:42 -0700	[thread overview]
Message-ID: <B7092CEF979B4BC6968233152417CC36@us.oracle.com> (raw)
In-Reply-To: <951A6DF7-E25B-40A1-8197-7825F508EE43@tzi.org>

> > Some people do, but my guess would be that they are a minority.
> 
> Well, the majority is then going to keep electric-pair-mode 
> off, and will not be concerned by this bugfix?

Yes, my reply was only wrt the lines I quoted - nothing about the bug itself.

Mine was an OT comment on the notion that Lispers generally prefer electric
pairing (I doubt it).  And it's only a guess on my part wrt the majority.  And
it really doesn't matter whether something is majority or minority.

I just wanted to respond to the assumption that if you are an Emacs Lisper then
"you want to add them in pairs, always."  That's too strong, IMO.

> My bug report was about the behavior when it's on.
> Apparently then, someone already has made the decision that 
> they want the parentheses in pairs.

Yes.

> Wanting them in pairs, but not when they happen to be nested 
> touching on the left, is hard to follow for me.
> But, as Stefan points out, there may indeed be people who 
> actually want that, hence a preference setting within 
> electric-pair-mode may be the right thing here.

A preference setting would be good, IMO.  Emacs is (should be), above _all_
else, easily user-extensible and customizable.  By all means, make it easy to
choose, and make users aware of the easy-to-make choices.






  reply	other threads:[~2013-03-26 14:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 17:59 bug#14000: 24.3.50; electric-pair-post-self-insert-function does not handle nested parentheses Carsten Bormann
2013-03-26  2:41 ` Stefan Monnier
2013-03-26  7:27   ` Carsten Bormann
2013-03-26 13:18     ` bug#14000: 24.3.50; electric-pair-post-self-insert-function does not handle nestedparentheses Drew Adams
2013-03-26 13:32       ` Carsten Bormann
2013-03-26 14:20         ` Drew Adams [this message]
2013-03-26 16:48     ` bug#14000: 24.3.50; electric-pair-post-self-insert-function does not handle nested parentheses Stefan Monnier
2013-04-01 13:28     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=B7092CEF979B4BC6968233152417CC36@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=14000@debbugs.gnu.org \
    --cc=cabo@tzi.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).