From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#25012: [PATCH] Improve document for electric-pair-mode. Date: Thu, 24 Nov 2016 01:19:18 -0800 Message-ID: <1479979158-15567-1-git-send-email-hong@topbug.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1479979223 11970 195.159.176.226 (24 Nov 2016 09:20:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 09:20:23 +0000 (UTC) To: 25012@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 10:20:16 2016 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 1c9qCT-0001oH-Tp for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 10:20:14 +0100 Original-Received: from localhost ([::1]:38704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9qCX-0000BG-JH for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 04:20:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9qCM-0008Uq-Sy for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:20:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9qCH-0006JM-T5 for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:20:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9qCH-0006J8-QL for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c9qCH-0001y9-JD for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2016 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14799791857539 (code B ref -1); Thu, 24 Nov 2016 09:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2016 09:19:45 +0000 Original-Received: from localhost ([127.0.0.1]:39910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9qC0-0001xX-UO for submit@debbugs.gnu.org; Thu, 24 Nov 2016 04:19:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9qC0-0001xL-7j for submit@debbugs.gnu.org; Thu, 24 Nov 2016 04:19:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9qBu-00069b-HV for submit@debbugs.gnu.org; Thu, 24 Nov 2016 04:19:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35635) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9qBu-00069W-EJ for submit@debbugs.gnu.org; Thu, 24 Nov 2016 04:19:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9qBt-0008J1-Ar for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:19:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9qBo-00066Y-Ce for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:19:37 -0500 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21355) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9qBo-00065h-3x for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 04:19:32 -0500 Original-Received: from localhost (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1479979166285205.07065148026527; Thu, 24 Nov 2016 01:19:26 -0800 (PST) X-Mailer: git-send-email 2.1.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:126036 Archived-At: * programs.texi (Matching): Add indices for `electric-pair-*' variables and minor improvements of documentation. --- doc/emacs/programs.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 0c79d9c3de13..218750673100 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -876,21 +876,25 @@ Matching features of Electric Pair mode: @itemize @bullet +@vindex electric-pair-preserve-balance @item @code{electric-pair-preserve-balance}, when non-@code{nil}, makes the default pairing logic balance out the number of opening and closing delimiters. +@vindex electric-pair-delete-adjacent-pairs @item @code{electric-pair-delete-adjacent-pairs}, when non-@code{nil}, makes backspacing between two adjacent delimiters also automatically delete the closing delimiter. +@vindex electric-pair-open-newline-between-pairs @item @code{electric-pair-open-newline-between-pairs}, when non-@code{nil}, -makes inserting inserting a newline between two adjacent pairs also -automatically open and extra newline after point. +makes inserting a newline between two adjacent pairs also +automatically insert an extra newline after point. +@vindex electric-pair-skip-whitespace @item @code{electric-pair-skip-whitespace}, when non-@code{nil}, causes the minor mode to skip whitespace forward before deciding whether to skip over -- 2.1.4