all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: charles@aurox.ch (Charles A. Roelli)
Cc: 30502@debbugs.gnu.org
Subject: bug#30502: 26.0.91; electric-pair-mode documentation
Date: Sat, 17 Feb 2018 19:31:42 +0200	[thread overview]
Message-ID: <83mv07bk01.fsf@gnu.org> (raw)
In-Reply-To: <m2wozbimou.fsf@aurox.ch> (charles@aurox.ch)

> Date: Sat, 17 Feb 2018 17:51:45 +0100
> From: charles@aurox.ch (Charles A. Roelli)
> CC: 30502@debbugs.gnu.org
> 
> The node does not mention anything about automatically
> inserting a matching delimeter at the mark when the region is active
> and a delimeter character is typed.

Thanks, I documented that now.  In the doc string of the mode as well.

> By "this functionality" I mean auto-inserting a matching delimeter at
> the mark when a delimeter character is typed, when electric-pair-mode
> is on.  The region has to be active for this to work, therefore
> transient-mark-mode must be on (even if temporarily).  I suggest
> adding a command that wraps point and mark with some given delimeters,
> regardless of whether the region is active.

We have "C-u C-x C-x" that turns on transient-mark-mode temporarily.
Isn't that enough?  If not, the issue is general, not specific to this
mode.





  reply	other threads:[~2018-02-17 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-17 16:07 bug#30502: 26.0.91; electric-pair-mode documentation Charles A. Roelli
2018-02-17 16:21 ` Eli Zaretskii
2018-02-17 16:51   ` Charles A. Roelli
2018-02-17 17:31     ` Eli Zaretskii [this message]
2018-02-17 20:00       ` Charles A. Roelli

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=83mv07bk01.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30502@debbugs.gnu.org \
    --cc=charles@aurox.ch \
    /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.