From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30502: 26.0.91; electric-pair-mode documentation Date: Sat, 17 Feb 2018 19:31:42 +0200 Message-ID: <83mv07bk01.fsf@gnu.org> References: <83r2pjbn9f.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518888634 31368 195.159.176.226 (17 Feb 2018 17:30:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2018 17:30:34 +0000 (UTC) Cc: 30502@debbugs.gnu.org To: charles@aurox.ch (Charles A. Roelli) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 18:30:29 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1en6JN-0006lI-RJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 18:30:09 +0100 Original-Received: from localhost ([::1]:43725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en6LP-0005TD-U5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 12:32:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en6LG-0005Sv-KI for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 12:32:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en6LC-0000Zu-KS for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 12:32:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en6LC-0000Zj-HG for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 12:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en6LC-0001IH-9A for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 12:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2018 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30502-submit@debbugs.gnu.org id=B30502.15188887124956 (code B ref 30502); Sat, 17 Feb 2018 17:32:02 +0000 Original-Received: (at 30502) by debbugs.gnu.org; 17 Feb 2018 17:31:52 +0000 Original-Received: from localhost ([127.0.0.1]:48566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en6L2-0001Hs-60 for submit@debbugs.gnu.org; Sat, 17 Feb 2018 12:31:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en6L0-0001Hc-JH for 30502@debbugs.gnu.org; Sat, 17 Feb 2018 12:31:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en6Kr-0000Tr-EM for 30502@debbugs.gnu.org; Sat, 17 Feb 2018 12:31:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en6Kr-0000Tn-9z; Sat, 17 Feb 2018 12:31:41 -0500 Original-Received: from [176.228.60.248] (port=4170 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1en6Kq-000578-Kb; Sat, 17 Feb 2018 12:31:41 -0500 In-reply-to: (charles@aurox.ch) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143394 Archived-At: > 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.