From: Jorgen Schaefer <forcer@forcix.cx>
To: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: electric-pair-mode
Date: Sun, 17 Nov 2013 19:30:46 +0100 [thread overview]
Message-ID: <20131117193046.55ca54f6@forcix.kollektiv-hamburg.de> (raw)
In-Reply-To: <jwvbo1k6lms.fsf-monnier+emacs@gnu.org>
On Sat, 16 Nov 2013 18:27:30 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> I'm thinking of enabling electric-pair-mode in Emacs-24.4, and I think
> the best way to do that is to actually enable it and then deal with
> the complaints. But that only works if the complaints are
> sufficiently constructive.
>
> So, please try enabling it and report any annoyance you notice.
> If you just plain don't like the feature, then just disable it.
If this is about electric-PAIR-mode:
Works nicely, except the default `electric-pair-inhibit-predicate'
makes it so that {{ results in "{{_|_}", even though I'd expect
"{{_|_}}".
If this is about electric-INDENT-mode:
The global mode does not work well with ido-mode. When opening a new
buffer or file, you have to use C-j to confirm that you really want to
open a non-existing buffer/file. electric-indent-mode inserts the ^J
verbatim instead of this.
Reproduction:
Enable ido-mode for buffers
C-x b t C-j should create a new buffer named "t". With
electric-indent-mode, it does not confirm, but adds ^J to the buffer
name. RET then opens a buffer named "t^J". (This might also be a
misfeature in ido, not sure).
Regards,
Jorgen
next prev parent reply other threads:[~2013-11-17 18:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-16 23:27 electric-pair-mode Stefan Monnier
2013-11-17 3:10 ` electric-pair-mode Xue Fuqiao
2013-11-17 18:30 ` Jorgen Schaefer [this message]
2013-11-17 21:12 ` electric-pair-mode Stefan Monnier
2013-11-18 11:04 ` electric-pair-mode Xue Fuqiao
2013-11-17 21:05 ` electric-indent-mode (was: electric-pair-mode) Stefan Monnier
2013-11-19 9:48 ` electric-indent-mode (was electric-pair-mode) Stephen Berman
2013-11-19 13:41 ` Stefan Monnier
2013-11-19 14:39 ` Stephen Berman
2013-11-21 13:48 ` electric-pair-mode Tassilo Horn
2013-11-22 1:13 ` electric-pair-mode Stefan Monnier
2013-11-22 13:20 ` electric-pair-mode Alexander Baier
2013-11-22 19:13 ` electric-pair-mode Tassilo Horn
2013-11-22 20:35 ` electric-pair-mode Alexander Baier
2013-11-22 21:09 ` electric-pair-mode Tassilo Horn
2013-11-23 1:53 ` electric-pair-mode Stefan Monnier
2013-11-29 7:01 ` electric-pair-mode Tassilo Horn
2013-11-29 13:44 ` electric-pair-mode Stefan Monnier
2013-11-29 17:10 ` electric-pair-mode Tassilo Horn
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=20131117193046.55ca54f6@forcix.kollektiv-hamburg.de \
--to=forcer@forcix.cx \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).