From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch to add support for curly quotes to electric-pair-mode Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2016 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24901@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147860642916617 (code B ref -1); Tue, 08 Nov 2016 12:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Nov 2016 12:00:29 +0000 Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c454j-0004Jr-7w for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c454g-0004Jc-MV for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c454Y-00043q-6x for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c454Y-00043O-36 for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c454R-0005kI-QH for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c454O-0003tV-Lj for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:07 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c454O-0003sv-8K for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:04 -0500 Received: by mail-wm0-x22d.google.com with SMTP id f82so176061848wmf.1 for ; Tue, 08 Nov 2016 04:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=from:to:subject:date:message-id:mime-version; bh=Ps9ugmPM4qFonrg1azohD2fOMIoldsgza+y/NUQ2JkM=; b=nCSo30Lw2H2vSKTtjp8sAS6D+11wCVpQtagmCMukhKnb+Aqqjusw1oafND3078pb4r xCcPUxz8AByfbYKtCr+lUKuwV+bsblNNee1SBYjtGYNI5QwnGiFtxWz+X3hr/l45PfhS QXcM/mEhG4/tv0rCDRVsyW7Dj8nspTkRlpx7Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Ps9ugmPM4qFonrg1azohD2fOMIoldsgza+y/NUQ2JkM=; b=QRdYqBdfSBqIBOymDs96a2B+An69dewhaJWMRJuH+jPvXrZSPoVpgu6IDVg8iQ0Fq+ Mx0cz72V5qJZQ3wVw9FvV14CGyRVqPKAi14D0YlgLc8DmIatvoXJA5ThJBhkN25oEjM2 wlu+Eh15VbUMHVImRf8gRf9b8PBg+V1jHA6BB68KK6EbJnz2Sw/VwVkRxpmLh9eplTSy 9eJyiipofK1NQ5EjHqrxaWVo5/67tS7OVw3/mjLk0OjE2Cc1TSKlAA5EBzS1MdXyBCb0 CQYM/gCwnvdglEd10WCy0F8oYm1HjuZjaAF5jHvwQLreuR9JB+jdoSm+scaaEOW2ERk+ Bc7g== X-Gm-Message-State: ABUngvcWKIN0VYD8GOMrnqeDb02NXpxllAeqR4sYqtUtXHhN594CvsRAVN//YiGVYX25WAXR X-Received: by 10.194.146.228 with SMTP id tf4mr9909232wjb.183.1478606402470; Tue, 08 Nov 2016 04:00:02 -0800 (PST) Received: from skwd ([2a02:c7d:5001:9b00:75d9:29ab:7204:5f2e]) by smtp.gmail.com with ESMTPSA id z6sm27716403wjt.24.2016.11.08.04.00.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Nov 2016 04:00:01 -0800 (PST) From: Reuben Thomas Date: Tue, 08 Nov 2016 12:00:02 +0000 Message-ID: <87vavygp19.fsf@sc3d.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The attached patch adds support for curly quotes to electric-pair-mode. (I am separately working on a patch for smart-quotes-mode, which is not part of Emacs.) If this is considered an acceptable patch, I=E2=80=99d be happy to add supp= ort for other text quote styles (German, French &c.) before installing the patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch Content-Description: Patch to add support for curly quotes to electric-pair-mode >From 634d6fdf40574b7de1eb304f27567bdda201bab1 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 8 Nov 2016 11:53:20 +0000 Subject: [PATCH] Add support for curly quotation marks to electric-pair-mode * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): add entries for left/right single/double quotation marks. Note that this is safe for single quotation marks, unlike with the ASCII apostrophe, since, although the right quotation mark can be used as an apostrophe, it is the left quotation mark that is typed to get a pair. --- lisp/elec-pair.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 1162920..3658601 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -28,7 +28,9 @@ ;;; Electric pairing. (defcustom electric-pair-pairs - '((?\" . ?\")) + '((?\" . ?\") + (#x201c . #x201d) ; LEFT/RIGHT SINGLE QUOTATION MARK + (#x2018 . #x2019)) ; LEFT/RIGHT DOUBLE QUOTATION MARK "Alist of pairs that should be used regardless of major mode. Pairs of delimiters in this list are a fallback in case they have @@ -42,7 +44,9 @@ electric-pair-pairs ;;;###autoload (defcustom electric-pair-text-pairs - '((?\" . ?\" )) + '((?\" . ?\" ) + (#x201c . #x201d) ; LEFT/RIGHT SINGLE QUOTATION MARK + (#x2018 . #x2019)) ; LEFT/RIGHT DOUBLE QUOTATION MARK "Alist of pairs that should always be used in comments and strings. Pairs of delimiters in this list are a fallback in case they have -- 2.7.4 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Emacs 25.1.50.9 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-10-15 built on skwd Repository revision: 4eb4463abf1db904f9e8cdc35156a66f8a10125c Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.1 LTS Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_MONETARY: en_GB.utf8 value of $LC_NUMERIC: en_GB.utf8 value of $LC_TIME: en_GB.utf8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t window-margin-mode: t buffer-face-mode: t flyspell-mode: t goto-address-mode: t smart-quotes-mode: t org-indent-mode: t show-paren-mode: t savehist-mode: t recentf-mode: t minibuffer-electric-default-mode: t global-auto-revert-mode: t auto-revert-mode: t electric-pair-mode: t desktop-save-mode: t global-whitespace-mode: t diff-auto-refine-mode: t global-undo-tree-mode: t undo-tree-mode: t helm-mode: t shell-dirtrack-mode: t helm-autoresize-mode: t async-bytecomp-package-mode: t dtrt-indent-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: Loading /home/rrt/.emacs.d/elpa/async-20161103.1036/async.el (source)...done Package =E2=80=98cmake-mode-3.6.2=E2=80=99 deleted. Package =E2=80=98async-20161031.1718=E2=80=99 deleted. Package menu: Operation finished [Upgraded 2] user-error: No operations specified Saving file /home/rrt/Notes/Programming.org... Wrote /home/rrt/.emacs.d/undo-tree/.!home!rrt!Notes!Programming.org.~undo-t= ree~ Wrote /home/rrt/Notes/Programming.org Mark set [2 times] Mark saved where search started Load-path shadows: /home/rrt/.emacs.d/elpa/dash-20161106.410/dash hides /home/rrt/.emacs.d/elp= a/dash-20161102.334/dash /home/rrt/.emacs.d/elpa/dash-20161106.410/dash-autoloads hides /home/rrt/.e= macs.d/elpa/dash-20161102.334/dash-autoloads /home/rrt/.emacs.d/elpa/dash-20161106.410/dash-pkg hides /home/rrt/.emacs.d= /elpa/dash-20161102.334/dash-pkg /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode hides /home/rrt/.emacs.d= /elpa/yaml-mode-0.0.12/yaml-mode /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode-autoloads hides /home/rr= t/.emacs.d/elpa/yaml-mode-0.0.12/yaml-mode-autoloads /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode-pkg hides /home/rrt/.ema= cs.d/elpa/yaml-mode-0.0.12/yaml-mode-pkg /home/rrt/.emacs.d/elpa/sws-mode-20150317.1245/sws-mode hides /home/rrt/.em= acs.d/el-get/jade-mode/sws-mode /home/rrt/.emacs.d/elpa/async-20161103.1036/async-pkg hides /home/rrt/.emac= s.d/el-get/emacs-async/async-pkg /home/rrt/.emacs.d/elpa/async-20161103.1036/dired-async hides /home/rrt/.em= acs.d/el-get/emacs-async/dired-async /home/rrt/.emacs.d/elpa/async-20161103.1036/smtpmail-async hides /home/rrt/= .emacs.d/el-get/emacs-async/smtpmail-async /home/rrt/.emacs.d/elpa/async-20161103.1036/async-bytecomp hides /home/rrt/= .emacs.d/el-get/emacs-async/async-bytecomp /home/rrt/.emacs.d/elpa/async-20161103.1036/async hides /home/rrt/.emacs.d/= el-get/emacs-async/async /home/rrt/.emacs.d/elpa/cmake-mode-3.6.3/cmake-mode hides /usr/local/share/= emacs/25.1.50/site-lisp/cmake-data/cmake-mode /home/rrt/.local/share/emacs/site-lisp/whitespace hides /usr/local/share/em= acs/25.1.50/lisp/whitespace /home/rrt/.emacs.d/el-get/cperl-mode/cperl-mode hides /usr/local/share/emac= s/25.1.50/lisp/progmodes/cperl-mode /home/rrt/.emacs.d/elpa/org-20161102/org hides /usr/local/share/emacs/25.1.= 50/lisp/org/org /home/rrt/.emacs.d/elpa/org-20161102/org-mouse hides /usr/local/share/emacs= /25.1.50/lisp/org/org-mouse /home/rrt/.emacs.d/elpa/org-20161102/ob-ruby hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-ruby /home/rrt/.emacs.d/elpa/org-20161102/ob-asymptote hides /usr/local/share/em= acs/25.1.50/lisp/org/ob-asymptote /home/rrt/.emacs.d/elpa/org-20161102/ox-man hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-man /home/rrt/.emacs.d/elpa/org-20161102/ob-eval hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-eval /home/rrt/.emacs.d/elpa/org-20161102/org-footnote hides /usr/local/share/em= acs/25.1.50/lisp/org/org-footnote /home/rrt/.emacs.d/elpa/org-20161102/ob-shen hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-shen /home/rrt/.emacs.d/elpa/org-20161102/ob-lisp hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-lisp /home/rrt/.emacs.d/elpa/org-20161102/ob-C hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-C /home/rrt/.emacs.d/elpa/org-20161102/ob-sass hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-sass /home/rrt/.emacs.d/elpa/org-20161102/ob-css hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-css /home/rrt/.emacs.d/elpa/org-20161102/ob-sqlite hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-sqlite /home/rrt/.emacs.d/elpa/org-20161102/org-loaddefs hides /usr/local/share/em= acs/25.1.50/lisp/org/org-loaddefs /home/rrt/.emacs.d/elpa/org-20161102/ob-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-org /home/rrt/.emacs.d/elpa/org-20161102/ox-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-org /home/rrt/.emacs.d/elpa/org-20161102/ob-ditaa hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ditaa /home/rrt/.emacs.d/elpa/org-20161102/ob-screen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-screen /home/rrt/.emacs.d/elpa/org-20161102/ob-io hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-io /home/rrt/.emacs.d/elpa/org-20161102/ob-fortran hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-fortran /home/rrt/.emacs.d/elpa/org-20161102/org-list hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-list /home/rrt/.emacs.d/elpa/org-20161102/org-macro hides /usr/local/share/emacs= /25.1.50/lisp/org/org-macro /home/rrt/.emacs.d/elpa/org-20161102/ob-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-latex /home/rrt/.emacs.d/elpa/org-20161102/ox-ascii hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-ascii /home/rrt/.emacs.d/elpa/org-20161102/org-install hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-install /home/rrt/.emacs.d/elpa/org-20161102/ob-picolisp hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-picolisp /home/rrt/.emacs.d/elpa/org-20161102/ob-R hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-R /home/rrt/.emacs.d/elpa/org-20161102/ox-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-latex /home/rrt/.emacs.d/elpa/org-20161102/org-eshell hides /usr/local/share/emac= s/25.1.50/lisp/org/org-eshell /home/rrt/.emacs.d/elpa/org-20161102/ox-odt hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-odt /home/rrt/.emacs.d/elpa/org-20161102/ob-keys hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-keys /home/rrt/.emacs.d/elpa/org-20161102/ob-ref hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-ref /home/rrt/.emacs.d/elpa/org-20161102/org-datetree hides /usr/local/share/em= acs/25.1.50/lisp/org/org-datetree /home/rrt/.emacs.d/elpa/org-20161102/ob-exp hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-exp /home/rrt/.emacs.d/elpa/org-20161102/ox-beamer hides /usr/local/share/emacs= /25.1.50/lisp/org/ox-beamer /home/rrt/.emacs.d/elpa/org-20161102/ob-emacs-lisp hides /usr/local/share/e= macs/25.1.50/lisp/org/ob-emacs-lisp /home/rrt/.emacs.d/elpa/org-20161102/ob-matlab hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-matlab /home/rrt/.emacs.d/elpa/org-20161102/ob hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ob /home/rrt/.emacs.d/elpa/org-20161102/org-indent hides /usr/local/share/emac= s/25.1.50/lisp/org/org-indent /home/rrt/.emacs.d/elpa/org-20161102/ob-perl hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-perl /home/rrt/.emacs.d/elpa/org-20161102/org-habit hides /usr/local/share/emacs= /25.1.50/lisp/org/org-habit /home/rrt/.emacs.d/elpa/org-20161102/org-entities hides /usr/local/share/em= acs/25.1.50/lisp/org/org-entities /home/rrt/.emacs.d/elpa/org-20161102/org-rmail hides /usr/local/share/emacs= /25.1.50/lisp/org/org-rmail /home/rrt/.emacs.d/elpa/org-20161102/ox-md hides /usr/local/share/emacs/25.= 1.50/lisp/org/ox-md /home/rrt/.emacs.d/elpa/org-20161102/ob-clojure hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-clojure /home/rrt/.emacs.d/elpa/org-20161102/ob-makefile hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-makefile /home/rrt/.emacs.d/elpa/org-20161102/ob-plantuml hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-plantuml /home/rrt/.emacs.d/elpa/org-20161102/org-table hides /usr/local/share/emacs= /25.1.50/lisp/org/org-table /home/rrt/.emacs.d/elpa/org-20161102/org-mobile hides /usr/local/share/emac= s/25.1.50/lisp/org/org-mobile /home/rrt/.emacs.d/elpa/org-20161102/org-mhe hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-mhe /home/rrt/.emacs.d/elpa/org-20161102/ob-lob hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-lob /home/rrt/.emacs.d/elpa/org-20161102/org-capture hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-capture /home/rrt/.emacs.d/elpa/org-20161102/org-version hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-version /home/rrt/.emacs.d/elpa/org-20161102/ob-core hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-core /home/rrt/.emacs.d/elpa/org-20161102/ob-table hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-table /home/rrt/.emacs.d/elpa/org-20161102/org-faces hides /usr/local/share/emacs= /25.1.50/lisp/org/org-faces /home/rrt/.emacs.d/elpa/org-20161102/org-compat hides /usr/local/share/emac= s/25.1.50/lisp/org/org-compat /home/rrt/.emacs.d/elpa/org-20161102/ox-publish hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-publish /home/rrt/.emacs.d/elpa/org-20161102/org-agenda hides /usr/local/share/emac= s/25.1.50/lisp/org/org-agenda /home/rrt/.emacs.d/elpa/org-20161102/ob-maxima hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-maxima /home/rrt/.emacs.d/elpa/org-20161102/ob-dot hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-dot /home/rrt/.emacs.d/elpa/org-20161102/ob-python hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-python /home/rrt/.emacs.d/elpa/org-20161102/org-crypt hides /usr/local/share/emacs= /25.1.50/lisp/org/org-crypt /home/rrt/.emacs.d/elpa/org-20161102/org-protocol hides /usr/local/share/em= acs/25.1.50/lisp/org/org-protocol /home/rrt/.emacs.d/elpa/org-20161102/ob-scheme hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-scheme /home/rrt/.emacs.d/elpa/org-20161102/ob-awk hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-awk /home/rrt/.emacs.d/elpa/org-20161102/org-w3m hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-w3m /home/rrt/.emacs.d/elpa/org-20161102/org-bbdb hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-bbdb /home/rrt/.emacs.d/elpa/org-20161102/ox-html hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ox-html /home/rrt/.emacs.d/elpa/org-20161102/org-gnus hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-gnus /home/rrt/.emacs.d/elpa/org-20161102/ob-js hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-js /home/rrt/.emacs.d/elpa/org-20161102/ob-mscgen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-mscgen /home/rrt/.emacs.d/elpa/org-20161102/ob-ocaml hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ocaml /home/rrt/.emacs.d/elpa/org-20161102/ox-icalendar hides /usr/local/share/em= acs/25.1.50/lisp/org/ox-icalendar /home/rrt/.emacs.d/elpa/org-20161102/ob-gnuplot hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-gnuplot /home/rrt/.emacs.d/elpa/org-20161102/org-irc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-irc /home/rrt/.emacs.d/elpa/org-20161102/ob-haskell hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-haskell /home/rrt/.emacs.d/elpa/org-20161102/org-docview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-docview /home/rrt/.emacs.d/elpa/org-20161102/org-clock hides /usr/local/share/emacs= /25.1.50/lisp/org/org-clock /home/rrt/.emacs.d/elpa/org-20161102/ob-lilypond hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-lilypond /home/rrt/.emacs.d/elpa/org-20161102/org-ctags hides /usr/local/share/emacs= /25.1.50/lisp/org/org-ctags /home/rrt/.emacs.d/elpa/org-20161102/ox hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ox /home/rrt/.emacs.d/elpa/org-20161102/org-bibtex hides /usr/local/share/emac= s/25.1.50/lisp/org/org-bibtex /home/rrt/.emacs.d/elpa/org-20161102/org-element hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-element /home/rrt/.emacs.d/elpa/org-20161102/org-id hides /usr/local/share/emacs/25= .1.50/lisp/org/org-id /home/rrt/.emacs.d/elpa/org-20161102/org-archive hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-archive /home/rrt/.emacs.d/elpa/org-20161102/ob-octave hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-octave /home/rrt/.emacs.d/elpa/org-20161102/ob-calc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-calc /home/rrt/.emacs.d/elpa/org-20161102/org-attach hides /usr/local/share/emac= s/25.1.50/lisp/org/org-attach /home/rrt/.emacs.d/elpa/org-20161102/org-src hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-src /home/rrt/.emacs.d/elpa/org-20161102/ob-comint hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-comint /home/rrt/.emacs.d/elpa/org-20161102/ob-ledger hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-ledger /home/rrt/.emacs.d/elpa/org-20161102/org-plot hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-plot /home/rrt/.emacs.d/elpa/org-20161102/ob-tangle hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-tangle /home/rrt/.emacs.d/elpa/org-20161102/org-info hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-info /home/rrt/.emacs.d/elpa/org-20161102/org-macs hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-macs /home/rrt/.emacs.d/elpa/org-20161102/org-pcomplete hides /usr/local/share/e= macs/25.1.50/lisp/org/org-pcomplete /home/rrt/.emacs.d/elpa/org-20161102/ob-scala hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-scala /home/rrt/.emacs.d/elpa/org-20161102/ob-sql hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-sql /home/rrt/.emacs.d/elpa/org-20161102/org-timer hides /usr/local/share/emacs= /25.1.50/lisp/org/org-timer /home/rrt/.emacs.d/elpa/org-20161102/org-inlinetask hides /usr/local/share/= emacs/25.1.50/lisp/org/org-inlinetask /home/rrt/.emacs.d/elpa/org-20161102/ob-java hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-java /home/rrt/.emacs.d/elpa/org-20161102/org-feed hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-feed /home/rrt/.emacs.d/elpa/org-20161102/org-colview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-colview /home/rrt/.emacs.d/elpa/org-20161102/ox-texinfo hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-texinfo Features: (shadow sort emacsbug tar-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs geiser-mode geiser-xref geiser-compile geiser-debug geiser-chicken geiser-racket geiser-guile geiser geiser-repl geiser-image geiser-company geiser-doc geiser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval geiser-connection tq geiser-syntax geiser-log geiser-popup view geiser-impl geiser-custom geiser-base quack cmuscheme scheme git-rebase find-dired ido tcl linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util with-editor warnings term disp-table ehelp esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util dash make-mode debug mail-extr rect mm-archive message sendmail rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode url-handlers mail-utils network-stream nsm starttls url-http tls gnutls mail-parse rfc2231 url-gw url-cache url-auth epg ibuf-ext ibuffer grep image-file eieio-opt tex-buf latex tex-ispell tex-style tex-info tex dbus crm texinfo css-mode imenu debian-bug rfc2047 rfc2045 ietf-drums debian-changelog-mode add-log debian-control-mode conf-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap nxml-glyph cperl-mode cus-edit misearch multi-isearch winner helm-command helm-elisp helm-eval edebug sh-script smie executable sgml-mode adaptive-wrap markdown-mode vc-dispatcher vc-bzr python json map window-margin face-remap flyspell ispell goto-addr smart-quotes org-indent org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view subr-x jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m flymake paredit server ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox tramp-cache tramp-sh yasnippet paren savehist recentf tree-widget wid-edit minibuf-eldef autorevert filenotify elec-pair desktop frameset cus-start cus-load iimage org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs go-mode find-file forth-mode etags xref project info-look speedbar sb-image ezimage dframe whitespace bug-reference-github bug-reference vc-git diff-mode undo-tree diff helm-fuzzier helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-vars mailcap helm-utils helm-help helm-types helm derived helm-source eieio-compat helm-multi-match helm-lib helm-config helm-easymenu async-bytecomp async locate finder-inf tex-site go-mode-autoloads info edmacro kmacro windows revive init-paredit dtrt-indent csv init-eldoc eldoc-extension advice compile comint ansi-color ring easy-mmode .loaddefs eieio eieio-core cl-macs el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify el-get-emacsmirror el-get-github el-get-git el-get-elpa package epg-config seq byte-opt el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom cl-seq el-get-core autoload lisp-mnt bytecomp byte-compile cl-extra help-mode easymenu cconv cl gv cl-loaddefs pcase cl-lib dired debian-el debian-el-loaddefs org-install dpkg-dev-el dpkg-dev-el-loaddefs devhelp user-site-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1956381 334151) (symbols 48 69739 0) (miscs 40 2682 2920) (strings 32 330663 59534) (string-bytes 1 11356699) (vectors 16 110223) (vector-slots 8 2416485 101906) (floats 8 848 1188) (intervals 56 125662 1627) (buffers 976 176) (heap 1024 138492 299965)) --=20 http://rrt.sc3d.org/ --=-=-=-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Acknowledgement (Patch to add support for curly quotes to electric-pair-mode) Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2016 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.147862491319205 (code B ref 24901); Tue, 08 Nov 2016 17:09:01 +0000 Received: (at 24901) by debbugs.gnu.org; 8 Nov 2016 17:08:33 +0000 Received: from localhost ([127.0.0.1]:49876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49sv-0004zh-6F for submit@debbugs.gnu.org; Tue, 08 Nov 2016 12:08:33 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:35628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49su-0004zS-9c for 24901@debbugs.gnu.org; Tue, 08 Nov 2016 12:08:32 -0500 Received: by mail-lf0-f44.google.com with SMTP id b14so144462528lfg.2 for <24901@debbugs.gnu.org>; Tue, 08 Nov 2016 09:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+ug6itRZOjJyTldwQYVmtCjn9DHSPWpwAsQI+aWn2Ag=; b=3nwGON2VGz5S4FTXlCTxKN4BXGB8PsGrixNPeiYnIBhogS6WHwXSW3ZztqemYbdXkm kklnkCnMvOVfqonwIEFaRI70evWksIIhYtDnAPtAhYF/+g70UFWD5iIx6ldX/mcGH1Eh t6+rEfAOTIp0f1+IavZH+8keW5Gbzllb7pvew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+ug6itRZOjJyTldwQYVmtCjn9DHSPWpwAsQI+aWn2Ag=; b=FDCQk4oEkwtTHUUt2Dshxh3e35KBxTuBEFsZ/KW5XqZwRtjuaIzaOdM+wz/pxgoi04 OzX3Tw/vZqBUtnr868aRHUIvBY+EBnhOJbVgLkv2Jabl/1SXfdzWPXVR9RFqLzz+kS3n TejzTBlJL1sDD4RGl3OQranbky/t3eCNgGDEeROabcRHi8KLTXY8SLreZWJGxeg5Zc2l qGxqs08qOBWGN1vK3ok85AgpyaYHmCq4X1LATCTeK7emXyzRK2q9mTF92l+OzH6Tyi7V cXrV5GZgFc6Jbog7GW2aT056edPnAnbj0UvahFXeie8z+V/gi0mp7T4Xp84kBgIftwwv bBxg== X-Gm-Message-State: ABUngvdd6qX2v+dlxIN1xpewyYiMRsUAUlYDBpcoVxZ4pHvmdE6KE+jLHcoW8uXA7X7Vx/3I9M3fkBrsni+9xrnj X-Received: by 10.25.200.197 with SMTP id y188mr7992050lff.132.1478624905881; Tue, 08 Nov 2016 09:08:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.212.211 with HTTP; Tue, 8 Nov 2016 09:08:25 -0800 (PST) In-Reply-To: References: <87vavygp19.fsf@sc3d.org> From: Reuben Thomas Date: Tue, 8 Nov 2016 17:08:25 +0000 Message-ID: Content-Type: multipart/alternative; boundary=94eb2c1a0ba0458af00540cd309e X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --94eb2c1a0ba0458af00540cd309e Content-Type: text/plain; charset=UTF-8 I have now fixed smart-quotes.el to take advantage of curly quote pairing in electric-pair-mode. The fixed version is at https://github.com/rrthomas/smart-quotes , and has a pull request awaiting upstream's attention! -- http://rrt.sc3d.org --94eb2c1a0ba0458af00540cd309e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I h= ave now fixed smart-quotes.el to take advantage of curly quote pairing in e= lectric-pair-mode. The fixed version is at=C2=A0https://github.com/rrthomas/smart-quotes , an= d has a pull request awaiting upstream's attention!
--94eb2c1a0ba0458af00540cd309e-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly References: <87vavygp19.fsf@sc3d.org> In-Reply-To: <87vavygp19.fsf@sc3d.org> Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2016 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.147862757923347 (code B ref 24901); Tue, 08 Nov 2016 17:53:01 +0000 Received: (at 24901) by debbugs.gnu.org; 8 Nov 2016 17:52:59 +0000 Received: from localhost ([127.0.0.1]:49911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4AZv-00064V-Fb for submit@debbugs.gnu.org; Tue, 08 Nov 2016 12:52:59 -0500 Received: from mail-lf0-f51.google.com ([209.85.215.51]:34541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4AZt-00064F-Bq for 24901@debbugs.gnu.org; Tue, 08 Nov 2016 12:52:57 -0500 Received: by mail-lf0-f51.google.com with SMTP id o141so73519516lff.1 for <24901@debbugs.gnu.org>; Tue, 08 Nov 2016 09:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=Mfg16jW5UfDGq5JFh+0U2IgD147YVngWMm06l94TZzU=; b=YPC76TrpLCPoLZNd2vnp/hwmSUJS6HeI+Vgsn+KZWkp5XzE9UatnobEyWIgJNAL6fl iHB2Q2+MGEjieN05KhArXRcy7Mv9TcBjBIZ8Hgzhg9mmcNsYVjUwP2UHacRotCrXHpaV t2wdC9yvEsBGdZNpXWvNyBN5prF7YYfoxy4us= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Mfg16jW5UfDGq5JFh+0U2IgD147YVngWMm06l94TZzU=; b=UemMUZ8qPT77Y2cUEeOtKkCNpptixBQZfFMUylMCYlj0yLkfN16z4si0Sh7NzCSkCY 5KvSaxREYapQbW3OsDqm385Qdzk+2G8xz8mRqSCDjJYBr3kSxV9WqQOIunq2sj1dryeJ trFqfBJMHBqHSs9oTrYXQBxJpdtpgzKZfMWj5mEo8yL6Z88XN6VF2Ns4twoVOjVWIeUR opCM487VAa0yAyDcHzr2MT+8MHY0rZyFXpedduosM5qU8JdxQ5Sb54er/Va621hvFRWI 4n3Hqw5QDKfEbNyXVS1DjgtxVYHT2FTjvpDTHoCiLx/+3mH2GGtTIXVRpnAG1oG9iwFt ezsA== X-Gm-Message-State: ABUngveDl4TMxem14anLxzHsvhOdh/lEmXPu1nISfNT40QQ9eGPuuqb2/XDACxBnTYl4gbc174BaBn6o90au+so3 X-Received: by 10.25.139.195 with SMTP id n186mr7828745lfd.27.1478627571288; Tue, 08 Nov 2016 09:52:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.212.211 with HTTP; Tue, 8 Nov 2016 09:52:50 -0800 (PST) From: Reuben Thomas Date: Tue, 8 Nov 2016 17:52:50 +0000 Message-ID: Content-Type: multipart/mixed; boundary=001a113ebaa624681a0540cdcf62 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --001a113ebaa624681a0540cdcf62 Content-Type: multipart/alternative; boundary=001a113ebaa62468140540cdcf60 --001a113ebaa62468140540cdcf60 Content-Type: text/plain; charset=UTF-8 I updated the patch to fix a typo (first character of sentence not in upper case), and to add the bug number. -- http://rrt.sc3d.org --001a113ebaa62468140540cdcf60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I u= pdated the patch to fix a typo (first character of sentence not in upper ca= se), and to add the bug number.

--
--001a113ebaa62468140540cdcf60-- --001a113ebaa624681a0540cdcf62 Content-Type: text/x-patch; charset=US-ASCII; name="0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch" Content-Disposition: attachment; filename="0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iv9socm20 RnJvbSBmMWRhMTBkYmNmNTc2YTEzY2E4NDgxMzJlYTc3YzEwODQ4OWI5YjJkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSZXViZW4gVGhvbWFzIDxycnRAc2MzZC5vcmc+CkRhdGU6IFR1 ZSwgOCBOb3YgMjAxNiAxMTo1MzoyMCArMDAwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBBZGQgc3Vw cG9ydCBmb3IgY3VybHkgcXVvdGF0aW9uIG1hcmtzIHRvCiBlbGVjdHJpYy1wYWlyLW1vZGUKCiog bGlzcC9lbGVjLXBhaXIuZWwgKGVsZWN0cmljLXBhaXItcGFpcnMsIGVsZWN0cmljLXBhaXItdGV4 dC1wYWlycyk6IEFkZAplbnRyaWVzIGZvciBsZWZ0L3JpZ2h0IHNpbmdsZS9kb3VibGUgcXVvdGF0 aW9uIG1hcmtzLiBOb3RlIHRoYXQgdGhpcyBpcwpzYWZlIGZvciBzaW5nbGUgcXVvdGF0aW9uIG1h cmtzLCB1bmxpa2Ugd2l0aCB0aGUgQVNDSUkgYXBvc3Ryb3BoZSwKc2luY2UsIGFsdGhvdWdoIHRo ZSByaWdodCBxdW90YXRpb24gbWFyayBjYW4gYmUgdXNlZCBhcyBhbiBhcG9zdHJvcGhlLAppdCBp cyB0aGUgbGVmdCBxdW90YXRpb24gbWFyayB0aGF0IGlzIHR5cGVkIHRvIGdldCBhIHBhaXIgKEJ1 ZyMyNDkwMSkuCi0tLQogbGlzcC9lbGVjLXBhaXIuZWwgfCA4ICsrKysrKy0tCiAxIGZpbGUgY2hh bmdlZCwgNiBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3Av ZWxlYy1wYWlyLmVsIGIvbGlzcC9lbGVjLXBhaXIuZWwKaW5kZXggMTE2MjkyMC4uMzY1ODYwMSAx MDA2NDQKLS0tIGEvbGlzcC9lbGVjLXBhaXIuZWwKKysrIGIvbGlzcC9lbGVjLXBhaXIuZWwKQEAg LTI4LDcgKzI4LDkgQEAKIDs7OyBFbGVjdHJpYyBwYWlyaW5nLgogCiAoZGVmY3VzdG9tIGVsZWN0 cmljLXBhaXItcGFpcnMKLSAgJygoP1wiIC4gP1wiKSkKKyAgJygoP1wiIC4gP1wiKQorICAgICgj eDIwMWMgLiAjeDIwMWQpICAgICAgICAgICAgICAgOyBMRUZUL1JJR0hUIFNJTkdMRSBRVU9UQVRJ T04gTUFSSworICAgICgjeDIwMTggLiAjeDIwMTkpKSAgICAgICAgICAgICAgOyBMRUZUL1JJR0hU IERPVUJMRSBRVU9UQVRJT04gTUFSSwogICAiQWxpc3Qgb2YgcGFpcnMgdGhhdCBzaG91bGQgYmUg dXNlZCByZWdhcmRsZXNzIG9mIG1ham9yIG1vZGUuCiAKIFBhaXJzIG9mIGRlbGltaXRlcnMgaW4g dGhpcyBsaXN0IGFyZSBhIGZhbGxiYWNrIGluIGNhc2UgdGhleSBoYXZlCkBAIC00Miw3ICs0NCw5 IEBAIGVsZWN0cmljLXBhaXItcGFpcnMKIAogOzs7IyMjYXV0b2xvYWQKIChkZWZjdXN0b20gZWxl Y3RyaWMtcGFpci10ZXh0LXBhaXJzCi0gICcoKD9cIiAuID9cIiApKQorICAnKCg/XCIgLiA/XCIg KQorICAgICgjeDIwMWMgLiAjeDIwMWQpICAgICAgICAgICAgICAgOyBMRUZUL1JJR0hUIFNJTkdM RSBRVU9UQVRJT04gTUFSSworICAgICgjeDIwMTggLiAjeDIwMTkpKSAgICAgICAgICAgICAgOyBM RUZUL1JJR0hUIERPVUJMRSBRVU9UQVRJT04gTUFSSwogICAiQWxpc3Qgb2YgcGFpcnMgdGhhdCBz aG91bGQgYWx3YXlzIGJlIHVzZWQgaW4gY29tbWVudHMgYW5kIHN0cmluZ3MuCiAKIFBhaXJzIG9m IGRlbGltaXRlcnMgaW4gdGhpcyBsaXN0IGFyZSBhIGZhbGxiYWNrIGluIGNhc2UgdGhleSBoYXZl Ci0tIAoyLjcuNAoK --001a113ebaa624681a0540cdcf62-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2016 22:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.148037188819897 (code B ref 24901); Mon, 28 Nov 2016 22:25:01 +0000 Received: (at 24901) by debbugs.gnu.org; 28 Nov 2016 22:24:48 +0000 Received: from localhost ([127.0.0.1]:45341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBULw-0005Ar-0B for submit@debbugs.gnu.org; Mon, 28 Nov 2016 17:24:48 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:35063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBULv-0005Af-0y for 24901@debbugs.gnu.org; Mon, 28 Nov 2016 17:24:47 -0500 Received: by mail-lf0-f53.google.com with SMTP id b14so107692054lfg.2 for <24901@debbugs.gnu.org>; Mon, 28 Nov 2016 14:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=JDhebKvgTotSyb3uf4n592+dZWmGEcMTQXCIX9T5CUs=; b=5dsmysiWdxkekeCXpmnMZiMgi4rVJ774zGkxZ1NkakLveRLuVKiCubx78d1RbQwsoi azqlUUs0EeRJGJ/+zrJMSF15mimQ8wVX2Z6Iyxi81R/sNdnWq+r68wDVhQwzUikdKg9T 1fMwtbKvGAZ0zIy19i0DApmrm7nRMi+iL1WA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=JDhebKvgTotSyb3uf4n592+dZWmGEcMTQXCIX9T5CUs=; b=M+ub/bJjlkK73IwOI2925X5YdEbTDZe3Xn52C8mZOXbGI+TxSrOgLErGUqiazihnuC GiBhCH0SEdE8PPp/b//zGNZMMBKes2SmODvQUQrms/+Y/zccuzX5QjHPVJYHxzK/cFVN 9EOpSWS80Tpku3UgejnNVbuPm8nSNmkVwAdgCF+KfUYYVSAVZS0haspdytgil1SqLpaO tMhDmhw9yxjuuNBWOicBgXOmO+tSj57/HUWm+E8gQJc6G25r6rdpM0zOhWTZ9vtfS7Gr pkd9TQec5FnN1pWyvzp8kRlqhn7Jm93j2RB9+k8H9Svmk2+E8dpsRth8hRXkuAaPiomr Z+RA== X-Gm-Message-State: AKaTC03po06YPc8Q60GFV+r/j+XICjRW5gMOAzLSCeMN1PQmTfsjHi5Dr8azVMba24We6GK0p7KP47S5qhTgrRT7 X-Received: by 10.25.200.197 with SMTP id y188mr9243855lff.132.1480371880633; Mon, 28 Nov 2016 14:24:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.212.211 with HTTP; Mon, 28 Nov 2016 14:24:39 -0800 (PST) In-Reply-To: References: From: Reuben Thomas Date: Mon, 28 Nov 2016 22:24:39 +0000 Message-ID: Content-Type: multipart/mixed; boundary=94eb2c1a0ba014eab8054263f0f3 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --94eb2c1a0ba014eab8054263f0f3 Content-Type: multipart/alternative; boundary=94eb2c1a0ba014eab2054263f0f1 --94eb2c1a0ba014eab2054263f0f1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8 November 2016 at 17:52, Reuben Thomas wrote: > I updated the patch to fix a typo (first character of sentence not in > upper case), and to add the bug number. > =E2=80=8BI updated the patch to use the quote characters from electric-quot= e-chars. --=20 http://rrt.sc3d.org --94eb2c1a0ba014eab2054263f0f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On = 8 November 2016 at 17:52, Reuben Thomas <rrt@sc3d.org> wrote:
=
I updated t= he patch to fix a typo (first character of sentence not in upper case), and= to add the bug number.

=E2=80=8BI updated the patc= h to use the quote characters from electric-quote-chars.
<= div>
--
--94eb2c1a0ba014eab2054263f0f1-- --94eb2c1a0ba014eab8054263f0f3 Content-Type: text/x-patch; charset=US-ASCII; name="0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch" Content-Disposition: attachment; filename="0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iw2n6yb50 RnJvbSA0YTA0NjM5MjAzZGNhMmQ1OTAzZmQ5NDNlNWZiMmU0Y2NjN2I5OTVmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSZXViZW4gVGhvbWFzIDxycnRAc2MzZC5vcmc+CkRhdGU6IFR1 ZSwgOCBOb3YgMjAxNiAxMTo1MzoyMCArMDAwMApTdWJqZWN0OiBbUEFUQ0ggMS80XSBBZGQgc3Vw cG9ydCBmb3IgY3VybHkgcXVvdGF0aW9uIG1hcmtzIHRvCiBlbGVjdHJpYy1wYWlyLW1vZGUKCiog bGlzcC9lbGVjLXBhaXIuZWwgKGVsZWN0cmljLXBhaXItcGFpcnMsIGVsZWN0cmljLXBhaXItdGV4 dC1wYWlycyk6IEFkZAplbnRyaWVzIGZvciBsZWZ0L3JpZ2h0IHNpbmdsZS9kb3VibGUgcXVvdGF0 aW9uIG1hcmtzLCBmcm9tCmVsZWN0cmljLXF1b3RlLWNoYXJzLiBOb3RlIHRoYXQgdGhpcyBpcyBz YWZlIGZvciBzaW5nbGUgcXVvdGF0aW9uIG1hcmtzLAp1bmxpa2Ugd2l0aCB0aGUgQVNDSUkgYXBv c3Ryb3BoZSwgc2luY2UsIGFsdGhvdWdoIHRoZSByaWdodCBxdW90YXRpb24KbWFyayBjYW4gYmUg dXNlZCBhcyBhbiBhcG9zdHJvcGhlLCBpdCBpcyB0aGUgbGVmdCBxdW90YXRpb24gbWFyayB0aGF0 IGlzCnR5cGVkIHRvIGdldCBhIHBhaXIgKEJ1ZyMyNDkwMSkuCi0tLQogbGlzcC9lbGVjLXBhaXIu ZWwgfCA4ICsrKysrKy0tCiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspLCAyIGRlbGV0 aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvZWxlYy1wYWlyLmVsIGIvbGlzcC9lbGVjLXBhaXIu ZWwKaW5kZXggMTE2MjkyMC4uNDdkNDRiMSAxMDA2NDQKLS0tIGEvbGlzcC9lbGVjLXBhaXIuZWwK KysrIGIvbGlzcC9lbGVjLXBhaXIuZWwKQEAgLTI4LDcgKzI4LDkgQEAKIDs7OyBFbGVjdHJpYyBw YWlyaW5nLgogCiAoZGVmY3VzdG9tIGVsZWN0cmljLXBhaXItcGFpcnMKLSAgJygoP1wiIC4gP1wi KSkKKyAgJygoP1wiIC4gP1wiKQorICAgICgobnRoIDAgZWxlY3RyaWMtcXVvdGUtY2hhcnMpIC4g KG50aCAxIGVsZWN0cmljLXF1b3RlLWNoYXJzKSkKKyAgICAoKG50aCAyIGVsZWN0cmljLXF1b3Rl LWNoYXJzKSAuIChudGggMyBlbGVjdHJpYy1xdW90ZS1jaGFycykpKQogICAiQWxpc3Qgb2YgcGFp cnMgdGhhdCBzaG91bGQgYmUgdXNlZCByZWdhcmRsZXNzIG9mIG1ham9yIG1vZGUuCiAKIFBhaXJz IG9mIGRlbGltaXRlcnMgaW4gdGhpcyBsaXN0IGFyZSBhIGZhbGxiYWNrIGluIGNhc2UgdGhleSBo YXZlCkBAIC00Miw3ICs0NCw5IEBAIGVsZWN0cmljLXBhaXItcGFpcnMKIAogOzs7IyMjYXV0b2xv YWQKIChkZWZjdXN0b20gZWxlY3RyaWMtcGFpci10ZXh0LXBhaXJzCi0gICcoKD9cIiAuID9cIiAp KQorICAnKCg/XCIgLiA/XCIgKQorICAgICgobnRoIDAgZWxlY3RyaWMtcXVvdGUtY2hhcnMpIC4g KG50aCAxIGVsZWN0cmljLXF1b3RlLWNoYXJzKSkKKyAgICAoKG50aCAyIGVsZWN0cmljLXF1b3Rl LWNoYXJzKSAuIChudGggMyBlbGVjdHJpYy1xdW90ZS1jaGFycykpKQogICAiQWxpc3Qgb2YgcGFp cnMgdGhhdCBzaG91bGQgYWx3YXlzIGJlIHVzZWQgaW4gY29tbWVudHMgYW5kIHN0cmluZ3MuCiAK IFBhaXJzIG9mIGRlbGltaXRlcnMgaW4gdGhpcyBsaXN0IGFyZSBhIGZhbGxiYWNrIGluIGNhc2Ug dGhleSBoYXZlCi0tIAoyLjcuNAoK --94eb2c1a0ba014eab8054263f0f3-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Reuben Thomas Cc: 24901@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.148067191825441 (code B ref 24901); Fri, 02 Dec 2016 09:46:02 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 09:45:18 +0000 Received: from localhost ([127.0.0.1]:49504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCkP7-0006cG-Ud for submit@debbugs.gnu.org; Fri, 02 Dec 2016 04:45:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCkP6-0006c4-Ic for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 04:45:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCkOy-0004b0-5B for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 04:45:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCkOy-0004WV-1s; Fri, 02 Dec 2016 04:45:08 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1316 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCkOt-00081T-3K; Fri, 02 Dec 2016 04:45:03 -0500 Date: Fri, 02 Dec 2016 11:45:12 +0200 Message-Id: <834m2moeaf.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Reuben Thomas on Mon, 28 Nov 2016 22:24:39 +0000) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Reuben Thomas > Date: Mon, 28 Nov 2016 22:24:39 +0000 > > From 4a04639203dca2d5903fd943e5fb2e4ccc7b995f Mon Sep 17 00:00:00 2001 > From: Reuben Thomas > Date: Tue, 8 Nov 2016 11:53:20 +0000 > Subject: [PATCH 1/4] Add support for curly quotation marks to > electric-pair-mode > > * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): Add > entries for left/right single/double quotation marks, from > electric-quote-chars. Note that this is safe for single quotation marks, > unlike with the ASCII apostrophe, since, although the right quotation > mark can be used as an apostrophe, it is the left quotation mark that is > typed to get a pair (Bug#24901). Can you tell more about this? The original bug report doesn't include any rationale, so it's hard for me to make up my mind about this change. In particular, I don't understand the last sentence of the log message; can you elaborate? Thanks. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.148068975326610 (code B ref 24901); Fri, 02 Dec 2016 14:43:02 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 14:42:33 +0000 Received: from localhost ([127.0.0.1]:49658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCp2n-0006v8-CB for submit@debbugs.gnu.org; Fri, 02 Dec 2016 09:42:33 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:33043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCp2k-0006uu-QS for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 09:42:32 -0500 Received: by mail-lf0-f44.google.com with SMTP id c13so196518753lfg.0 for <24901@debbugs.gnu.org>; Fri, 02 Dec 2016 06:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9FnpUGgKVd88vCpkn+5ZVyWJ8xjMweO+mjCnU3e3sXg=; b=ddz8asdb6Flzr7/zgJQivfSTxjRD8MItvZINOm6fwrkAIWeIGg0opK5v58XaYmbUka EX+yp2mi8/2qjWNXYFIt9hxH9lTVSJlbnw0RLAnjhhUU7mZ8Ow8YZNeTkI3Cv4qII9kg NaBx/MpRXzbI9dNyKYwXeYB5No33CWJFgfuus= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9FnpUGgKVd88vCpkn+5ZVyWJ8xjMweO+mjCnU3e3sXg=; b=EIUTULZOsc71WqlTuPc2shd/b8GsMK5+Sl/6l+R0vOXfWZpJOkrHPlsxUwMNfU3VFO 84NKwNr93JMB4GKXgtxj0Zw0fHB7PRrQt5uyIbsINoIvM4ol2KGBuj2eD1nIvkCdZsJv FiRICjplVGIw51QnIIQkGUknxdcPOWT5AGUXgVZOxz1/XAO54yvpi2w0dQzjyoq9L0S1 LlnuH7sYxU50ED30VKd99F58tNj6l4o+zsxlWrvCePeY9f22U4TimQC1mz7UjAoHop8s 2uepoKjqbLgmRXlz7C5eCIyY84ofNqOqy5OKJJsfyFHBVZl4bv+1LKamu0J9/+wq4RPp qQ+g== X-Gm-Message-State: AKaTC020ckyHpiVU/D0XagwPQyNIcyIgVFBYzhMUwcTE+Y0RLtTJcFNlqrTxIh/3JimQdtXBpGilMGWSRBJuCf48 X-Received: by 10.25.56.65 with SMTP id d1mr16594750lfj.171.1480689744481; Fri, 02 Dec 2016 06:42:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.190.2 with HTTP; Fri, 2 Dec 2016 06:42:24 -0800 (PST) In-Reply-To: <834m2moeaf.fsf@gnu.org> References: <834m2moeaf.fsf@gnu.org> From: Reuben Thomas Date: Fri, 2 Dec 2016 14:42:24 +0000 Message-ID: Content-Type: multipart/alternative; boundary=f403045ea68a3e33040542adf2c5 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --f403045ea68a3e33040542adf2c5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2 December 2016 at 09:45, Eli Zaretskii wrote: > > From: Reuben Thomas > > Date: Mon, 28 Nov 2016 22:24:39 +0000 > > > > From 4a04639203dca2d5903fd943e5fb2e4ccc7b995f Mon Sep 17 00:00:00 2001 > > From: Reuben Thomas > > Date: Tue, 8 Nov 2016 11:53:20 +0000 > > Subject: [PATCH 1/4] Add support for curly quotation marks to > > electric-pair-mode > > > > * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): Ad= d > > entries for left/right single/double quotation marks, from > > electric-quote-chars. Note that this is safe for single quotation marks= , > > unlike with the ASCII apostrophe, since, although the right quotation > > mark can be used as an apostrophe, it is the left quotation mark that i= s > > typed to get a pair (Bug#24901). > > Can you tell more about this? The original bug report doesn't include > any rationale, so it's hard for me to make up my mind about this > change. > =E2=80=8BRationale: electric-pair-mode already has support for straight double-quote pairs, so it is logical to add support for curly double-quote pairs. As with straight double quotes, it's logical that these be supported everywhere. The same goes for straight single quotes, which are generally used for the same purpose as curly double and single double quotes, that is, quoting (in human language). The use of electric-quote-chars means that electric-pair-mode will automatically use whatever the user has configured for single and double quotes. In particular, I don't understand the last sentence of the log > message; can you elaborate? > =E2=80=8Belectric-pair-mode does not by default produce pairs of straight s= ingle quote (apostrophe). This is because it does not always make sense: a single apostrophe is often used on its own. However, with curly single quotes, it makes sense for electric-pair-mode to make typing a left curly quote automatically add a corresponding right quote, as left curly quotes are not normally used on their own. (Right single curly quotes can be used on their own, as an apostrophe, but this is irrelevant here, as electric-pair-mode acts when the left-hand mark is typed, not the right-hand mark). --=20 http://rrt.sc3d.org --f403045ea68a3e33040542adf2c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On = 2 December 2016 at 09:45, Eli Zaretskii <eliz@gnu.org> wrote:
=
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Mon, 28 Nov 2016 22:24:39 +0000
>
> From 4a04639203dca2d5903fd943e5fb2e4ccc7b995f Mon Sep 17 00:00:00= 2001
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Tue, 8 Nov 2016 11:53:20 +0000
> Subject: [PATCH 1/4] Add support for curly quotation marks to
>=C2=A0 electric-pair-mode
>
> * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): A= dd
> entries for left/right single/double quotation marks, from
> electric-quote-chars. Note that this is safe for single quotation mark= s,
> unlike with the ASCII apostrophe, since, although the right quotation<= br> > mark can be used as an apostrophe, it is the left quotation mark that = is
> typed to get a pair (Bug#24901).

Can you tell more about this?=C2=A0 The original bug report doesn't inc= lude
any rationale, so it's hard for me to make up my mind about this
change.

In particular,= I don't understand the last sentence of the log
message; can you elaborate?

--
--f403045ea68a3e33040542adf2c5-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 15:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Reuben Thomas Cc: 24901@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.148069237431160 (code B ref 24901); Fri, 02 Dec 2016 15:27:01 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 15:26:14 +0000 Received: from localhost ([127.0.0.1]:50471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpj4-00086W-FU for submit@debbugs.gnu.org; Fri, 02 Dec 2016 10:26:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpj2-00086H-8N for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:26:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCpir-0007JT-Q0 for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:26:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCpir-0007JI-Na; Fri, 02 Dec 2016 10:26:01 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1753 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCpip-0006u5-II; Fri, 02 Dec 2016 10:26:01 -0500 Date: Fri, 02 Dec 2016 17:26:01 +0200 Message-Id: <83mvgemjxy.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Reuben Thomas on Fri, 2 Dec 2016 14:42:24 +0000) References: <834m2moeaf.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Reuben Thomas > Date: Fri, 2 Dec 2016 14:42:24 +0000 > Cc: 24901@debbugs.gnu.org > > ​Rationale: electric-pair-mode already has support for straight double-quote pairs, so it is logical to add > support for curly double-quote pairs. As with straight double quotes, it's logical that these be supported > everywhere. The same goes for straight single quotes, which are generally used for the same purpose as > curly double and single double quotes, that is, quoting (in human language). > > The use of electric-quote-chars means that electric-pair-mode will automatically use whatever the user has > configured for single and double quotes. I see, thanks. Is it certain that users won't want straight quotes, but not the curly ones? E.g., in some programming mode, perhaps? > In particular, I don't understand the last sentence of the log > message; can you elaborate? > > ​electric-pair-mode does not by default produce pairs of straight single quote (apostrophe). This is because it > does not always make sense: a single apostrophe is often used on its own. However, with curly single > quotes, it makes sense for electric-pair-mode to make typing a left curly quote automatically add a > corresponding right quote, as left curly quotes are not normally used on their own. (Right single curly quotes > can be used on their own, as an apostrophe, but this is irrelevant here, as electric-pair-mode acts when the > left-hand mark is typed, not the right-hand mark). So electric-pair-mode is incompatible with RTL scripts. Too bad. Thanks for the explanations. If it's certain that no one will want only straight quotes (see above), I'm okay with this change. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.148069326632501 (code B ref 24901); Fri, 02 Dec 2016 15:42:01 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 15:41:06 +0000 Received: from localhost ([127.0.0.1]:50481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpxS-0008S9-9J for submit@debbugs.gnu.org; Fri, 02 Dec 2016 10:41:06 -0500 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpxQ-0008RW-Rm for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:41:05 -0500 Received: by mail-lf0-f49.google.com with SMTP id c13so197769466lfg.0 for <24901@debbugs.gnu.org>; Fri, 02 Dec 2016 07:41:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=d/V4A/jkxvEY3Whx3S33hcZxRdIueDbM7eOHkNiVt5M=; b=fkykYCjJ32365hTOicM99w0LORorjE4IDP2m9leIOTBtTFamnt/fyDwHuPO3gieshQ U7q2driyQ1PNh2muaFM5DlF0t2hjFuVXkcayA/JdD9zmjBR6kYrNGKYW8/SFATlEksFx /T4k97WTMDtNiRByN37gkUDLuIir562MX7ts0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=d/V4A/jkxvEY3Whx3S33hcZxRdIueDbM7eOHkNiVt5M=; b=WDdQXDVDJ0yzyhvjhbNXKa9To5zT5xssI3TxxXMfo+bylwvCipzFU4zh8IYJeM/7nO CQC4iFwhbpZ0dDTQK/0R2Lht8po9MzyXfggAZDqq3bb2Z6RhPGGKOYnaH2eWKXtBfvkS 2Rba0iHruRyaZ6R8pcG3mQhbbNH3JppixcBl7PmrM0n3UrdOSwAczC1VaeQ8FRsqbSm/ KbKm/A3c2DoSVP/+C4fT+UBuDU9rCsslp2rRmbtBUWxG9ZKzxQ/yCLhb4Mi0mRkaMgM4 LjQ4/zsZXOnpj9lN/Fg/Ljx7uffcgudnChdZ1U65gKBZl/ciH9/7niFobLIKq5gT/WB+ aXDg== X-Gm-Message-State: AKaTC03A5rrlA5zKDl7mkqhspCnnfD9v7PkmLaQjLw01wQvqcngFNsZgb0hgKI3A8gwdB83+U9bTD6nIMGX+GHSh X-Received: by 10.46.7.9 with SMTP id 9mr16807562ljh.75.1480693258824; Fri, 02 Dec 2016 07:40:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.190.2 with HTTP; Fri, 2 Dec 2016 07:40:58 -0800 (PST) In-Reply-To: <83mvgemjxy.fsf@gnu.org> References: <834m2moeaf.fsf@gnu.org> <83mvgemjxy.fsf@gnu.org> From: Reuben Thomas Date: Fri, 2 Dec 2016 15:40:58 +0000 Message-ID: Content-Type: multipart/alternative; boundary=f403045ec30ab6c6340542aec3b7 X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --f403045ec30ab6c6340542aec3b7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2 December 2016 at 15:26, Eli Zaretskii wrote: > > I see, thanks. Is it certain that users won't want straight quotes, > but not the curly ones? E.g., in some programming mode, perhaps? > =E2=80=8BI don't think this is a problem, because in that case, the user wo= n't type curly quotes. If the left curly quote (single or double) were widely used on its own in a programming language, that would be a problem, but I don't think it is. The reason I added the curly quotes to electric-pair-pairs as well as electric-pair-text-pairs is because the latter is only used in comments, and so would not be available in text-mode, where curly quotes are useful. > So electric-pair-mode is incompatible with RTL scripts. Too bad. > It seems to work for me: if I select a Hebrew keyboard layout, type some Hebrew letters, and then use double straight quotes, I get the expected result. If I use curly quotes, I get a different result, but perhaps that it because it implicitly changes the writing direction? I didn't get as far as trying to configure electric-pair-mode to understand Hebrew quotation marks. I guess I should have said "open" and "close" rather than "left" and "right". If you're happy with my argument above about programming languages, I'll install the change. --=20 http://rrt.sc3d.org --f403045ec30ab6c6340542aec3b7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I see, thanks.=C2=A0 Is it certain that users won't want straigh= t quotes,
but not the curly ones?=C2=A0 E.g., in some programming mode, perhaps?
<= /blockquote>

=E2=80=8BI don't think this is a problem, because in that c= ase, the user won't type curly quotes. If the left curly quote (single = or double) were widely used on its own in a programming language, that woul= d be a problem, but I don't think it is.

The reason I added the curly quotes to electric-pair-p= airs as well as electric-pair-text-pairs is because the latter is only used= in comments, and so would not be available in text-mode, where curly quote= s are useful.
=C2=A0
So= electric-pair-mode is incompatible with RTL scripts.=C2=A0 Too bad.

It seems to work for me: if I select a Hebrew keyboard layout, ty= pe some Hebrew letters, and then use double straight quotes, I get the expe= cted result. If I use curly quotes, I get a different result, but perhaps t= hat it because it implicitly changes the writing direction? I didn't ge= t as far as trying to configure electric-pair-mode to understand Hebrew quo= tation marks.=C2=A0

I gue= ss I should have said "open" and "close" rather than &q= uot;left" and "right".

If you're happy with my argument above about progr= amming languages, I'll install the change.

--=
--f403045ec30ab6c6340542aec3b7-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Reuben Thomas Cc: 24901@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.14806941291342 (code B ref 24901); Fri, 02 Dec 2016 15:56:02 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 15:55:29 +0000 Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqBM-0000La-Sk for submit@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqBK-0000LM-59 for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqBB-0002Yf-RZ for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 10:55:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqBB-0002YY-Oi; Fri, 02 Dec 2016 10:55:17 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCqBA-0006gF-Tp; Fri, 02 Dec 2016 10:55:17 -0500 Date: Fri, 02 Dec 2016 17:55:21 +0200 Message-Id: <83h96mmil2.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Reuben Thomas on Fri, 2 Dec 2016 15:40:58 +0000) References: <834m2moeaf.fsf@gnu.org> <83mvgemjxy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Reuben Thomas > Date: Fri, 2 Dec 2016 15:40:58 +0000 > Cc: 24901@debbugs.gnu.org > > On 2 December 2016 at 15:26, Eli Zaretskii wrote: > > So electric-pair-mode is incompatible with RTL scripts. Too bad. > > It seems to work for me: if I select a Hebrew keyboard layout, type some Hebrew letters, and then use double > straight quotes, I get the expected result. If I use curly quotes, I get a different result, but perhaps that it > because it implicitly changes the writing direction? I didn't get as far as trying to configure electric-pair-mode to > understand Hebrew quotation marks. The problem I was thinking about is that in RTL script you would type the right quote first, to serve as the opening quote. That's because the quotes are not mirrored by the bidirectional reordering for display, like parentheses are. > I guess I should have said "open" and "close" rather than "left" and "right". But the mode does really react to the left quote and not the open quote. Right? > If you're happy with my argument above about programming languages, I'll install the change. Please do, and thanks. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: rrt@sc3d.org Cc: 24901@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.14806947102277 (code B ref 24901); Fri, 02 Dec 2016 16:06:02 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 16:05:10 +0000 Received: from localhost ([127.0.0.1]:50494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqKj-0000af-Rz for submit@debbugs.gnu.org; Fri, 02 Dec 2016 11:05:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqKi-0000a0-DO for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 11:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqKZ-0006ts-IQ for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 11:05:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqKZ-0006tJ-FG; Fri, 02 Dec 2016 11:04:59 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1804 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCqKS-0004oR-LT; Fri, 02 Dec 2016 11:04:54 -0500 Date: Fri, 02 Dec 2016 18:04:43 +0200 Message-Id: <83eg1qmi5g.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83h96mmil2.fsf@gnu.org> (message from Eli Zaretskii on Fri, 02 Dec 2016 17:55:21 +0200) References: <834m2moeaf.fsf@gnu.org> <83mvgemjxy.fsf@gnu.org> <83h96mmil2.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > Date: Fri, 02 Dec 2016 17:55:21 +0200 > From: Eli Zaretskii > Cc: 24901@debbugs.gnu.org > > The problem I was thinking about is that in RTL script you would type > the right quote first, to serve as the opening quote. That's because > the quotes are not mirrored by the bidirectional reordering for > display, like parentheses are. To be perfectly accurate: some of them are mirrored (e.g., u+00ab and u+00bb). But not the ones we were talking about. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Patch updated slightly Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 16:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.14806949982667 (code B ref 24901); Fri, 02 Dec 2016 16:10:01 +0000 Received: (at 24901) by debbugs.gnu.org; 2 Dec 2016 16:09:58 +0000 Received: from localhost ([127.0.0.1]:50498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqPO-0000gx-FI for submit@debbugs.gnu.org; Fri, 02 Dec 2016 11:09:58 -0500 Received: from mail-lf0-f50.google.com ([209.85.215.50]:32920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCqPL-0000gi-OZ for 24901@debbugs.gnu.org; Fri, 02 Dec 2016 11:09:57 -0500 Received: by mail-lf0-f50.google.com with SMTP id c13so198380889lfg.0 for <24901@debbugs.gnu.org>; Fri, 02 Dec 2016 08:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O8HEojJ80tJ4i5Pglz1yMqSRkCVFZaNn1iouYG2rjBM=; b=xMuEhlOf8N09dr7Ue1XQA8IW610+ME6XpHXg+fnKMG3g/VuhKBlmag4SxtKARaF76G aFMf9DKIXt0JIEVnbY6CVtTg5F+5HsW3OInLssVMDa8oARDxb9fWi70wqnmYILZwH7Yf jXENBols4hWU8GY93yXrlGME7PzWPOA7c440o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O8HEojJ80tJ4i5Pglz1yMqSRkCVFZaNn1iouYG2rjBM=; b=i8u86gL8wzEO1q+N01pbmNhOtuSMshBZZ7FDbwfKMcrj9FEOqAsOaxzv3UgleX7j/w cJjiLnEYGlEsMXqh/SVtsOT3apabczdSgJg7GRPRg4YZSo6Vmb/Zy4DUH9+VJCUb2BS8 S5SeKpQRk6QlL/2mL7oDfwDu+t9aj+eZnS1QJLmy2cFQLXN1ixvIG8ALg5xSm0Qq9G1J FFo/Zv495yeHhgLYR6kx98JQDIebdIksetcpS/Khk84Rk78VODYii0OHphbIUQbUremq pfF/9tVPf9HqUPwCBBnvb4XpqtWJ3T8Djk/s/nsTteAgM6g1VK5ICrDRxLpootfj+rWj vpIA== X-Gm-Message-State: AKaTC036RXcSgYnWPbDfp7HCqoOanSspijOaMhTwmC7Ejqr5AZ9HjGX4nUy+rJLVj2ETQotWcKkl2YlfBAH8r+Dg X-Received: by 10.46.0.77 with SMTP id 74mr22920277lja.76.1480694989886; Fri, 02 Dec 2016 08:09:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.190.2 with HTTP; Fri, 2 Dec 2016 08:09:49 -0800 (PST) In-Reply-To: <83h96mmil2.fsf@gnu.org> References: <834m2moeaf.fsf@gnu.org> <83mvgemjxy.fsf@gnu.org> <83h96mmil2.fsf@gnu.org> From: Reuben Thomas Date: Fri, 2 Dec 2016 16:09:49 +0000 Message-ID: Content-Type: multipart/alternative; boundary=001a1142bf1ae4c5410542af2a0f X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a1142bf1ae4c5410542af2a0f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2 December 2016 at 15:55, Eli Zaretskii wrote: > > From: Reuben Thomas > > Date: Fri, 2 Dec 2016 15:40:58 +0000 > > Cc: 24901@debbugs.gnu.org > > > > On 2 December 2016 at 15:26, Eli Zaretskii wrote: > > > > So electric-pair-mode is incompatible with RTL scripts. Too bad. > > > > It seems to work for me: if I select a Hebrew keyboard layout, type som= e > Hebrew letters, and then use double > > straight quotes, I get the expected result. If I use curly quotes, I ge= t > a different result, but perhaps that it > > because it implicitly changes the writing direction? I didn't get as fa= r > as trying to configure electric-pair-mode to > > understand Hebrew quotation marks. > > The problem I was thinking about is that in RTL script you would type > the right quote first, to serve as the opening quote. That's because > the quotes are not mirrored by the bidirectional reordering for > display, like parentheses are. > So, if you expect to be able to use the same quote characters without reconfiguration according to language, then it won't work. Otherwise, you can simply configure the quotes the other way around, and it should work (and change the documentation of electric-quote-pairs to mention "open" and "close" rather than "left" and "right"). But I guess this is a solved design problem that simply needs integrating into electric-pair-mode=E2=80= =A6 Change installed. --=20 http://rrt.sc3d.org --001a1142bf1ae4c5410542af2a0f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On = 2 December 2016 at 15:55, Eli Zaretskii <eliz@gnu.org> wrote:
=
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Fri, 2 Dec 2016 15:40:58 +0000
> Cc: 24901@d= ebbugs.gnu.org
>
> On 2 December 2016 at 15:26, Eli Zaretskii <eliz@gnu.org> wrote:
>
>=C2=A0 So electric-p= air-mode is incompatible with RTL scripts. Too bad.
>
> It seems to work for me: if I select a Hebrew keyboard layout, type so= me Hebrew letters, and then use double
> straight quotes, I get the expected result. If I use curly quotes, I g= et a different result, but perhaps that it
> because it implicitly changes the writing direction? I didn't get = as far as trying to configure electric-pair-mode to
> understand Hebrew quotation marks.

The problem I was thinking about is that in RTL script you would typ= e
the right quote first, to serve as the opening quote.=C2=A0 That's beca= use
the quotes are not mirrored by the bidirectional reordering for
display, like parentheses are.

So, if you expect to be able= to use the same quote characters without reconfiguration according to lang= uage, then it won't work. Otherwise, you can simply configure the quote= s the other way around, and it should work (and change the documentation of= electric-quote-pairs to mention "open" and "close" rat= her than "left" and "right"). But I guess this is a sol= ved design problem that simply needs integrating into electric-pair-mode=E2= =80=A6
Change insta= lled.

--
--001a1142bf1ae4c5410542af2a0f-- From unknown Sun Jun 22 07:50:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Reuben Thomas Subject: bug#24901: closed () Message-ID: References: <87vavygp19.fsf@sc3d.org> X-Gnu-PR-Message: they-closed 24901 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 24901@debbugs.gnu.org Date: Sat, 03 Dec 2016 00:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1480724462-15661-1" This is a multi-part message in MIME format... ------------=_1480724462-15661-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24901: Patch to add support for curly quotes to electric-pair-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24901@debbugs.gnu.org. --=20 24901: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24901 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1480724462-15661-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24901-done) by debbugs.gnu.org; 3 Dec 2016 00:20:13 +0000 Received: from localhost ([127.0.0.1]:50737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCy3o-00043B-TG for submit@debbugs.gnu.org; Fri, 02 Dec 2016 19:20:12 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:33761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCy3m-00042v-Up for 24901-done@debbugs.gnu.org; Fri, 02 Dec 2016 19:20:11 -0500 Received: by mail-lf0-f53.google.com with SMTP id c13so206118908lfg.0 for <24901-done@debbugs.gnu.org>; Fri, 02 Dec 2016 16:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=5Cq793Uo3Dk1mXGBUL+hTjrTmwD1KNSHrEe80T0pqeI=; b=bbSV2dNXhK3FtT+Z6NMJLe+P6twm2ph5uuBmend7Dn+Koo77hHzePTMSizZ7t2H7Ph 8r0b53SfimRMEjiE8oLHsp5ruLjh1G8axuHtZbx3dm5zlxV6NDbUf7esdwX1Zu6Wm+YW 0sqlCzfwSXhNKhkkaRe6XCMbrgakVCGMcbEL4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5Cq793Uo3Dk1mXGBUL+hTjrTmwD1KNSHrEe80T0pqeI=; b=Woyln0WtyPyNbnlWyhMp0RErik1oShCRW5VWXbsdCX3VrfP63EcRElrfXjrQPC7g4M +jO2FYjfiTVo2iOknLI4GjfG4DUbF/yM9vfouMc02fNumV/DGo/vshfrAUwML19+3hqX 1CYJwl7sg+dDnO9SKUUuHCsrgbtTMsy/qOZ7agqh42/LFUFG8Y11knWcLHaqjTIECGgH Ax3hM7B5wK78ftE2IPrTvdlMyHjhEA/ntYm5PgGO791Y1ZuHa1hiERPer3l+e0ixcs5W qHZ5s5rPNtnbrcxZdV9AxZ0W6FBn9Jd2Lrw01GMulBAi6GyLqnUo9Af5XRkua+XSn3HG pWjw== X-Gm-Message-State: AKaTC02oB0qoNgDnixdlAyelNomPJdixFWLTHET64Vz/uMdq3Yfnfba5B2MVn6f9VWI6uRQP8+ZOpmVJ8KzljGz4 X-Received: by 10.25.150.210 with SMTP id y201mr18890261lfd.58.1480724404846; Fri, 02 Dec 2016 16:20:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.190.2 with HTTP; Fri, 2 Dec 2016 16:20:04 -0800 (PST) From: Reuben Thomas Date: Sat, 3 Dec 2016 00:20:04 +0000 Message-ID: Subject: To: 24901-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a114017ce29601c0542b604b0 X-Spam-Score: 4.8 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [...] Content analysis details: (4.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.53 listed in list.dnswl.org] 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.215.53 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.53 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 24901-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 4.8 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [...] Content analysis details: (4.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.215.53 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.53 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.53 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 2.0 BLANK_SUBJECT Subject is present but empty -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --001a114017ce29601c0542b604b0 Content-Type: text/plain; charset=UTF-8 --001a114017ce29601c0542b604b0 Content-Type: text/html; charset=UTF-8

--001a114017ce29601c0542b604b0-- ------------=_1480724462-15661-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Nov 2016 12:00:29 +0000 Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c454j-0004Jr-7w for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c454g-0004Jc-MV for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c454Y-00043q-6x for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c454Y-00043O-36 for submit@debbugs.gnu.org; Tue, 08 Nov 2016 07:00:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c454R-0005kI-QH for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c454O-0003tV-Lj for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:07 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c454O-0003sv-8K for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 07:00:04 -0500 Received: by mail-wm0-x22d.google.com with SMTP id f82so176061848wmf.1 for ; Tue, 08 Nov 2016 04:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=from:to:subject:date:message-id:mime-version; bh=Ps9ugmPM4qFonrg1azohD2fOMIoldsgza+y/NUQ2JkM=; b=nCSo30Lw2H2vSKTtjp8sAS6D+11wCVpQtagmCMukhKnb+Aqqjusw1oafND3078pb4r xCcPUxz8AByfbYKtCr+lUKuwV+bsblNNee1SBYjtGYNI5QwnGiFtxWz+X3hr/l45PfhS QXcM/mEhG4/tv0rCDRVsyW7Dj8nspTkRlpx7Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Ps9ugmPM4qFonrg1azohD2fOMIoldsgza+y/NUQ2JkM=; b=QRdYqBdfSBqIBOymDs96a2B+An69dewhaJWMRJuH+jPvXrZSPoVpgu6IDVg8iQ0Fq+ Mx0cz72V5qJZQ3wVw9FvV14CGyRVqPKAi14D0YlgLc8DmIatvoXJA5ThJBhkN25oEjM2 wlu+Eh15VbUMHVImRf8gRf9b8PBg+V1jHA6BB68KK6EbJnz2Sw/VwVkRxpmLh9eplTSy 9eJyiipofK1NQ5EjHqrxaWVo5/67tS7OVw3/mjLk0OjE2Cc1TSKlAA5EBzS1MdXyBCb0 CQYM/gCwnvdglEd10WCy0F8oYm1HjuZjaAF5jHvwQLreuR9JB+jdoSm+scaaEOW2ERk+ Bc7g== X-Gm-Message-State: ABUngvcWKIN0VYD8GOMrnqeDb02NXpxllAeqR4sYqtUtXHhN594CvsRAVN//YiGVYX25WAXR X-Received: by 10.194.146.228 with SMTP id tf4mr9909232wjb.183.1478606402470; Tue, 08 Nov 2016 04:00:02 -0800 (PST) Received: from skwd ([2a02:c7d:5001:9b00:75d9:29ab:7204:5f2e]) by smtp.gmail.com with ESMTPSA id z6sm27716403wjt.24.2016.11.08.04.00.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Nov 2016 04:00:01 -0800 (PST) From: Reuben Thomas To: bug-gnu-emacs@gnu.org Subject: Patch to add support for curly quotes to electric-pair-mode Date: Tue, 08 Nov 2016 12:00:02 +0000 Message-ID: <87vavygp19.fsf@sc3d.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The attached patch adds support for curly quotes to electric-pair-mode. (I am separately working on a patch for smart-quotes-mode, which is not part of Emacs.) If this is considered an acceptable patch, I=E2=80=99d be happy to add supp= ort for other text quote styles (German, French &c.) before installing the patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Add-support-for-curly-quotation-marks-to-electric-pa.patch Content-Description: Patch to add support for curly quotes to electric-pair-mode >From 634d6fdf40574b7de1eb304f27567bdda201bab1 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 8 Nov 2016 11:53:20 +0000 Subject: [PATCH] Add support for curly quotation marks to electric-pair-mode * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): add entries for left/right single/double quotation marks. Note that this is safe for single quotation marks, unlike with the ASCII apostrophe, since, although the right quotation mark can be used as an apostrophe, it is the left quotation mark that is typed to get a pair. --- lisp/elec-pair.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 1162920..3658601 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -28,7 +28,9 @@ ;;; Electric pairing. (defcustom electric-pair-pairs - '((?\" . ?\")) + '((?\" . ?\") + (#x201c . #x201d) ; LEFT/RIGHT SINGLE QUOTATION MARK + (#x2018 . #x2019)) ; LEFT/RIGHT DOUBLE QUOTATION MARK "Alist of pairs that should be used regardless of major mode. Pairs of delimiters in this list are a fallback in case they have @@ -42,7 +44,9 @@ electric-pair-pairs ;;;###autoload (defcustom electric-pair-text-pairs - '((?\" . ?\" )) + '((?\" . ?\" ) + (#x201c . #x201d) ; LEFT/RIGHT SINGLE QUOTATION MARK + (#x2018 . #x2019)) ; LEFT/RIGHT DOUBLE QUOTATION MARK "Alist of pairs that should always be used in comments and strings. Pairs of delimiters in this list are a fallback in case they have -- 2.7.4 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Emacs 25.1.50.9 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-10-15 built on skwd Repository revision: 4eb4463abf1db904f9e8cdc35156a66f8a10125c Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.1 LTS Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_MONETARY: en_GB.utf8 value of $LC_NUMERIC: en_GB.utf8 value of $LC_TIME: en_GB.utf8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t window-margin-mode: t buffer-face-mode: t flyspell-mode: t goto-address-mode: t smart-quotes-mode: t org-indent-mode: t show-paren-mode: t savehist-mode: t recentf-mode: t minibuffer-electric-default-mode: t global-auto-revert-mode: t auto-revert-mode: t electric-pair-mode: t desktop-save-mode: t global-whitespace-mode: t diff-auto-refine-mode: t global-undo-tree-mode: t undo-tree-mode: t helm-mode: t shell-dirtrack-mode: t helm-autoresize-mode: t async-bytecomp-package-mode: t dtrt-indent-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: Loading /home/rrt/.emacs.d/elpa/async-20161103.1036/async.el (source)...done Package =E2=80=98cmake-mode-3.6.2=E2=80=99 deleted. Package =E2=80=98async-20161031.1718=E2=80=99 deleted. Package menu: Operation finished [Upgraded 2] user-error: No operations specified Saving file /home/rrt/Notes/Programming.org... Wrote /home/rrt/.emacs.d/undo-tree/.!home!rrt!Notes!Programming.org.~undo-t= ree~ Wrote /home/rrt/Notes/Programming.org Mark set [2 times] Mark saved where search started Load-path shadows: /home/rrt/.emacs.d/elpa/dash-20161106.410/dash hides /home/rrt/.emacs.d/elp= a/dash-20161102.334/dash /home/rrt/.emacs.d/elpa/dash-20161106.410/dash-autoloads hides /home/rrt/.e= macs.d/elpa/dash-20161102.334/dash-autoloads /home/rrt/.emacs.d/elpa/dash-20161106.410/dash-pkg hides /home/rrt/.emacs.d= /elpa/dash-20161102.334/dash-pkg /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode hides /home/rrt/.emacs.d= /elpa/yaml-mode-0.0.12/yaml-mode /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode-autoloads hides /home/rr= t/.emacs.d/elpa/yaml-mode-0.0.12/yaml-mode-autoloads /home/rrt/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode-pkg hides /home/rrt/.ema= cs.d/elpa/yaml-mode-0.0.12/yaml-mode-pkg /home/rrt/.emacs.d/elpa/sws-mode-20150317.1245/sws-mode hides /home/rrt/.em= acs.d/el-get/jade-mode/sws-mode /home/rrt/.emacs.d/elpa/async-20161103.1036/async-pkg hides /home/rrt/.emac= s.d/el-get/emacs-async/async-pkg /home/rrt/.emacs.d/elpa/async-20161103.1036/dired-async hides /home/rrt/.em= acs.d/el-get/emacs-async/dired-async /home/rrt/.emacs.d/elpa/async-20161103.1036/smtpmail-async hides /home/rrt/= .emacs.d/el-get/emacs-async/smtpmail-async /home/rrt/.emacs.d/elpa/async-20161103.1036/async-bytecomp hides /home/rrt/= .emacs.d/el-get/emacs-async/async-bytecomp /home/rrt/.emacs.d/elpa/async-20161103.1036/async hides /home/rrt/.emacs.d/= el-get/emacs-async/async /home/rrt/.emacs.d/elpa/cmake-mode-3.6.3/cmake-mode hides /usr/local/share/= emacs/25.1.50/site-lisp/cmake-data/cmake-mode /home/rrt/.local/share/emacs/site-lisp/whitespace hides /usr/local/share/em= acs/25.1.50/lisp/whitespace /home/rrt/.emacs.d/el-get/cperl-mode/cperl-mode hides /usr/local/share/emac= s/25.1.50/lisp/progmodes/cperl-mode /home/rrt/.emacs.d/elpa/org-20161102/org hides /usr/local/share/emacs/25.1.= 50/lisp/org/org /home/rrt/.emacs.d/elpa/org-20161102/org-mouse hides /usr/local/share/emacs= /25.1.50/lisp/org/org-mouse /home/rrt/.emacs.d/elpa/org-20161102/ob-ruby hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-ruby /home/rrt/.emacs.d/elpa/org-20161102/ob-asymptote hides /usr/local/share/em= acs/25.1.50/lisp/org/ob-asymptote /home/rrt/.emacs.d/elpa/org-20161102/ox-man hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-man /home/rrt/.emacs.d/elpa/org-20161102/ob-eval hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-eval /home/rrt/.emacs.d/elpa/org-20161102/org-footnote hides /usr/local/share/em= acs/25.1.50/lisp/org/org-footnote /home/rrt/.emacs.d/elpa/org-20161102/ob-shen hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-shen /home/rrt/.emacs.d/elpa/org-20161102/ob-lisp hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-lisp /home/rrt/.emacs.d/elpa/org-20161102/ob-C hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-C /home/rrt/.emacs.d/elpa/org-20161102/ob-sass hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-sass /home/rrt/.emacs.d/elpa/org-20161102/ob-css hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-css /home/rrt/.emacs.d/elpa/org-20161102/ob-sqlite hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-sqlite /home/rrt/.emacs.d/elpa/org-20161102/org-loaddefs hides /usr/local/share/em= acs/25.1.50/lisp/org/org-loaddefs /home/rrt/.emacs.d/elpa/org-20161102/ob-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-org /home/rrt/.emacs.d/elpa/org-20161102/ox-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-org /home/rrt/.emacs.d/elpa/org-20161102/ob-ditaa hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ditaa /home/rrt/.emacs.d/elpa/org-20161102/ob-screen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-screen /home/rrt/.emacs.d/elpa/org-20161102/ob-io hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-io /home/rrt/.emacs.d/elpa/org-20161102/ob-fortran hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-fortran /home/rrt/.emacs.d/elpa/org-20161102/org-list hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-list /home/rrt/.emacs.d/elpa/org-20161102/org-macro hides /usr/local/share/emacs= /25.1.50/lisp/org/org-macro /home/rrt/.emacs.d/elpa/org-20161102/ob-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-latex /home/rrt/.emacs.d/elpa/org-20161102/ox-ascii hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-ascii /home/rrt/.emacs.d/elpa/org-20161102/org-install hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-install /home/rrt/.emacs.d/elpa/org-20161102/ob-picolisp hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-picolisp /home/rrt/.emacs.d/elpa/org-20161102/ob-R hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-R /home/rrt/.emacs.d/elpa/org-20161102/ox-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-latex /home/rrt/.emacs.d/elpa/org-20161102/org-eshell hides /usr/local/share/emac= s/25.1.50/lisp/org/org-eshell /home/rrt/.emacs.d/elpa/org-20161102/ox-odt hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-odt /home/rrt/.emacs.d/elpa/org-20161102/ob-keys hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-keys /home/rrt/.emacs.d/elpa/org-20161102/ob-ref hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-ref /home/rrt/.emacs.d/elpa/org-20161102/org-datetree hides /usr/local/share/em= acs/25.1.50/lisp/org/org-datetree /home/rrt/.emacs.d/elpa/org-20161102/ob-exp hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-exp /home/rrt/.emacs.d/elpa/org-20161102/ox-beamer hides /usr/local/share/emacs= /25.1.50/lisp/org/ox-beamer /home/rrt/.emacs.d/elpa/org-20161102/ob-emacs-lisp hides /usr/local/share/e= macs/25.1.50/lisp/org/ob-emacs-lisp /home/rrt/.emacs.d/elpa/org-20161102/ob-matlab hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-matlab /home/rrt/.emacs.d/elpa/org-20161102/ob hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ob /home/rrt/.emacs.d/elpa/org-20161102/org-indent hides /usr/local/share/emac= s/25.1.50/lisp/org/org-indent /home/rrt/.emacs.d/elpa/org-20161102/ob-perl hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-perl /home/rrt/.emacs.d/elpa/org-20161102/org-habit hides /usr/local/share/emacs= /25.1.50/lisp/org/org-habit /home/rrt/.emacs.d/elpa/org-20161102/org-entities hides /usr/local/share/em= acs/25.1.50/lisp/org/org-entities /home/rrt/.emacs.d/elpa/org-20161102/org-rmail hides /usr/local/share/emacs= /25.1.50/lisp/org/org-rmail /home/rrt/.emacs.d/elpa/org-20161102/ox-md hides /usr/local/share/emacs/25.= 1.50/lisp/org/ox-md /home/rrt/.emacs.d/elpa/org-20161102/ob-clojure hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-clojure /home/rrt/.emacs.d/elpa/org-20161102/ob-makefile hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-makefile /home/rrt/.emacs.d/elpa/org-20161102/ob-plantuml hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-plantuml /home/rrt/.emacs.d/elpa/org-20161102/org-table hides /usr/local/share/emacs= /25.1.50/lisp/org/org-table /home/rrt/.emacs.d/elpa/org-20161102/org-mobile hides /usr/local/share/emac= s/25.1.50/lisp/org/org-mobile /home/rrt/.emacs.d/elpa/org-20161102/org-mhe hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-mhe /home/rrt/.emacs.d/elpa/org-20161102/ob-lob hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-lob /home/rrt/.emacs.d/elpa/org-20161102/org-capture hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-capture /home/rrt/.emacs.d/elpa/org-20161102/org-version hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-version /home/rrt/.emacs.d/elpa/org-20161102/ob-core hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-core /home/rrt/.emacs.d/elpa/org-20161102/ob-table hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-table /home/rrt/.emacs.d/elpa/org-20161102/org-faces hides /usr/local/share/emacs= /25.1.50/lisp/org/org-faces /home/rrt/.emacs.d/elpa/org-20161102/org-compat hides /usr/local/share/emac= s/25.1.50/lisp/org/org-compat /home/rrt/.emacs.d/elpa/org-20161102/ox-publish hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-publish /home/rrt/.emacs.d/elpa/org-20161102/org-agenda hides /usr/local/share/emac= s/25.1.50/lisp/org/org-agenda /home/rrt/.emacs.d/elpa/org-20161102/ob-maxima hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-maxima /home/rrt/.emacs.d/elpa/org-20161102/ob-dot hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-dot /home/rrt/.emacs.d/elpa/org-20161102/ob-python hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-python /home/rrt/.emacs.d/elpa/org-20161102/org-crypt hides /usr/local/share/emacs= /25.1.50/lisp/org/org-crypt /home/rrt/.emacs.d/elpa/org-20161102/org-protocol hides /usr/local/share/em= acs/25.1.50/lisp/org/org-protocol /home/rrt/.emacs.d/elpa/org-20161102/ob-scheme hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-scheme /home/rrt/.emacs.d/elpa/org-20161102/ob-awk hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-awk /home/rrt/.emacs.d/elpa/org-20161102/org-w3m hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-w3m /home/rrt/.emacs.d/elpa/org-20161102/org-bbdb hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-bbdb /home/rrt/.emacs.d/elpa/org-20161102/ox-html hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ox-html /home/rrt/.emacs.d/elpa/org-20161102/org-gnus hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-gnus /home/rrt/.emacs.d/elpa/org-20161102/ob-js hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-js /home/rrt/.emacs.d/elpa/org-20161102/ob-mscgen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-mscgen /home/rrt/.emacs.d/elpa/org-20161102/ob-ocaml hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ocaml /home/rrt/.emacs.d/elpa/org-20161102/ox-icalendar hides /usr/local/share/em= acs/25.1.50/lisp/org/ox-icalendar /home/rrt/.emacs.d/elpa/org-20161102/ob-gnuplot hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-gnuplot /home/rrt/.emacs.d/elpa/org-20161102/org-irc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-irc /home/rrt/.emacs.d/elpa/org-20161102/ob-haskell hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-haskell /home/rrt/.emacs.d/elpa/org-20161102/org-docview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-docview /home/rrt/.emacs.d/elpa/org-20161102/org-clock hides /usr/local/share/emacs= /25.1.50/lisp/org/org-clock /home/rrt/.emacs.d/elpa/org-20161102/ob-lilypond hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-lilypond /home/rrt/.emacs.d/elpa/org-20161102/org-ctags hides /usr/local/share/emacs= /25.1.50/lisp/org/org-ctags /home/rrt/.emacs.d/elpa/org-20161102/ox hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ox /home/rrt/.emacs.d/elpa/org-20161102/org-bibtex hides /usr/local/share/emac= s/25.1.50/lisp/org/org-bibtex /home/rrt/.emacs.d/elpa/org-20161102/org-element hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-element /home/rrt/.emacs.d/elpa/org-20161102/org-id hides /usr/local/share/emacs/25= .1.50/lisp/org/org-id /home/rrt/.emacs.d/elpa/org-20161102/org-archive hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-archive /home/rrt/.emacs.d/elpa/org-20161102/ob-octave hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-octave /home/rrt/.emacs.d/elpa/org-20161102/ob-calc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-calc /home/rrt/.emacs.d/elpa/org-20161102/org-attach hides /usr/local/share/emac= s/25.1.50/lisp/org/org-attach /home/rrt/.emacs.d/elpa/org-20161102/org-src hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-src /home/rrt/.emacs.d/elpa/org-20161102/ob-comint hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-comint /home/rrt/.emacs.d/elpa/org-20161102/ob-ledger hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-ledger /home/rrt/.emacs.d/elpa/org-20161102/org-plot hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-plot /home/rrt/.emacs.d/elpa/org-20161102/ob-tangle hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-tangle /home/rrt/.emacs.d/elpa/org-20161102/org-info hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-info /home/rrt/.emacs.d/elpa/org-20161102/org-macs hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-macs /home/rrt/.emacs.d/elpa/org-20161102/org-pcomplete hides /usr/local/share/e= macs/25.1.50/lisp/org/org-pcomplete /home/rrt/.emacs.d/elpa/org-20161102/ob-scala hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-scala /home/rrt/.emacs.d/elpa/org-20161102/ob-sql hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-sql /home/rrt/.emacs.d/elpa/org-20161102/org-timer hides /usr/local/share/emacs= /25.1.50/lisp/org/org-timer /home/rrt/.emacs.d/elpa/org-20161102/org-inlinetask hides /usr/local/share/= emacs/25.1.50/lisp/org/org-inlinetask /home/rrt/.emacs.d/elpa/org-20161102/ob-java hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-java /home/rrt/.emacs.d/elpa/org-20161102/org-feed hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-feed /home/rrt/.emacs.d/elpa/org-20161102/org-colview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-colview /home/rrt/.emacs.d/elpa/org-20161102/ox-texinfo hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-texinfo Features: (shadow sort emacsbug tar-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs geiser-mode geiser-xref geiser-compile geiser-debug geiser-chicken geiser-racket geiser-guile geiser geiser-repl geiser-image geiser-company geiser-doc geiser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval geiser-connection tq geiser-syntax geiser-log geiser-popup view geiser-impl geiser-custom geiser-base quack cmuscheme scheme git-rebase find-dired ido tcl linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util with-editor warnings term disp-table ehelp esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util dash make-mode debug mail-extr rect mm-archive message sendmail rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode url-handlers mail-utils network-stream nsm starttls url-http tls gnutls mail-parse rfc2231 url-gw url-cache url-auth epg ibuf-ext ibuffer grep image-file eieio-opt tex-buf latex tex-ispell tex-style tex-info tex dbus crm texinfo css-mode imenu debian-bug rfc2047 rfc2045 ietf-drums debian-changelog-mode add-log debian-control-mode conf-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap nxml-glyph cperl-mode cus-edit misearch multi-isearch winner helm-command helm-elisp helm-eval edebug sh-script smie executable sgml-mode adaptive-wrap markdown-mode vc-dispatcher vc-bzr python json map window-margin face-remap flyspell ispell goto-addr smart-quotes org-indent org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view subr-x jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m flymake paredit server ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox tramp-cache tramp-sh yasnippet paren savehist recentf tree-widget wid-edit minibuf-eldef autorevert filenotify elec-pair desktop frameset cus-start cus-load iimage org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs go-mode find-file forth-mode etags xref project info-look speedbar sb-image ezimage dframe whitespace bug-reference-github bug-reference vc-git diff-mode undo-tree diff helm-fuzzier helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-vars mailcap helm-utils helm-help helm-types helm derived helm-source eieio-compat helm-multi-match helm-lib helm-config helm-easymenu async-bytecomp async locate finder-inf tex-site go-mode-autoloads info edmacro kmacro windows revive init-paredit dtrt-indent csv init-eldoc eldoc-extension advice compile comint ansi-color ring easy-mmode .loaddefs eieio eieio-core cl-macs el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify el-get-emacsmirror el-get-github el-get-git el-get-elpa package epg-config seq byte-opt el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom cl-seq el-get-core autoload lisp-mnt bytecomp byte-compile cl-extra help-mode easymenu cconv cl gv cl-loaddefs pcase cl-lib dired debian-el debian-el-loaddefs org-install dpkg-dev-el dpkg-dev-el-loaddefs devhelp user-site-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1956381 334151) (symbols 48 69739 0) (miscs 40 2682 2920) (strings 32 330663 59534) (string-bytes 1 11356699) (vectors 16 110223) (vector-slots 8 2416485 101906) (floats 8 848 1188) (intervals 56 125662 1627) (buffers 976 176) (heap 1024 138492 299965)) --=20 http://rrt.sc3d.org/ --=-=-=-- ------------=_1480724462-15661-1-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 13 07:01:38 2017 Received: (at control) by debbugs.gnu.org; 13 Aug 2017 11:01:38 +0000 Received: from localhost ([127.0.0.1]:59243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgqeI-0007Af-FE for submit@debbugs.gnu.org; Sun, 13 Aug 2017 07:01:38 -0400 Received: from mail-qt0-f181.google.com ([209.85.216.181]:36200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgqeH-0007AZ-El for control@debbugs.gnu.org; Sun, 13 Aug 2017 07:01:37 -0400 Received: by mail-qt0-f181.google.com with SMTP id v29so40116140qtv.3 for ; Sun, 13 Aug 2017 04:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=G0d7NRYzkUQB61JU6ot+Ne8Ztqwx4nHP1+L/+Vlpl64=; b=mqLOZToBP+Any5v/w6UeLDSblzG7FdOFWPXeyhDqEHJpC8XE5yd1yPQEUPTchxxKt8 yODNUAEe6US9erFGgo2dZ6qHMoy3AwX+dX7IaA+gV5defXj0Q9FDFQd8nBXYUw88oIFR 4qSHgwzZsqzS+5Stndo1+XUUM49IoRnHmK0f5ED8fWD7/lCl//dzhA6bEIIQnKGGzT1s LXlucXSdFuOKih8UimcO2wnXw+xOdYNWpvMMZbtHNQsqHvJoJLVDsUvnL1heMNUpIEQw Oa2xXUN+Tddn423db7+f/Uc/qfHtUmBgUAlW/S2cpWj/Gbtv8TAd5oL3g843dDfkt8cE jVVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=G0d7NRYzkUQB61JU6ot+Ne8Ztqwx4nHP1+L/+Vlpl64=; b=M74iUEBic8aDG02u1wUEzKCZGkYWjVtAdQtSkQMWPqWuetit5/yZMB3BPzoRkBeaKt HuEgHwlYvEBV34pDQddNAAAyokLs3bAs9Hmv4RQUWTUVkPq6Uz3dbyNbrdQnu3qHcoWC Oat1T1ywPKPwJwG6Hgs/7GabrGrtyxZKy9LXK//sFEfIp3bFBJt3OpIucsQVmqZL9+je SnwofVwx1hnVpklaEJ1hfqunEZygUlEb2OlQIZ4WJgaW3VR+9AQAnJIjrlkLSK7HQ1qE mdFDsGTeBtqExIyU6+exy+aizJFoOm+CZxHKIlRds26X3RmUzBUNlOrRBg4rK2l903iN zvbw== X-Gm-Message-State: AHYfb5g2pBOVSZeL2YIPtKrC/0378CD1yFb1c0Djy2HLH5+TcsR8RsL3 kDeVpDg4gQtXmXGGQ48znqokL1s+1A6Sm5A= X-Received: by 10.200.56.216 with SMTP id g24mr27894601qtc.83.1502622091763; Sun, 13 Aug 2017 04:01:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.20 with HTTP; Sun, 13 Aug 2017 04:01:11 -0700 (PDT) From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Sun, 13 Aug 2017 12:01:11 +0100 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="001a113e6e3802e95b0556a07802" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 24901 -- João Távora unarchive 24901 -- [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.216.181 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.181 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joaotavora[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.216.181 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 24901 -- João Távora unarchive 24901 -- [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.216.181 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.216.181 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.181 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joaotavora[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty --001a113e6e3802e95b0556a07802 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable unarchive 24901 --=20 Jo=C3=A3o T=C3=A1vora --001a113e6e3802e95b0556a07802 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

unarchive 24901
--
Jo= =C3=A3o T=C3=A1vora
--001a113e6e3802e95b0556a07802-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Fwd: Caught mistake in elec-pair.el patch Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Aug 2017 11:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 24901@debbugs.gnu.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150262220927649 (code B ref 24901); Sun, 13 Aug 2017 11:04:02 +0000 Received: (at 24901) by debbugs.gnu.org; 13 Aug 2017 11:03:29 +0000 Received: from localhost ([127.0.0.1]:59248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgqg4-0007Bt-Q8 for submit@debbugs.gnu.org; Sun, 13 Aug 2017 07:03:29 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:38250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgqg3-0007Bn-Mn for 24901@debbugs.gnu.org; Sun, 13 Aug 2017 07:03:28 -0400 Received: by mail-qt0-f180.google.com with SMTP id t37so39916862qtg.5 for <24901@debbugs.gnu.org>; Sun, 13 Aug 2017 04:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NN9RCvnkzaTa6UeK0sqbrOrohJvgFTGndt3NymiMnE4=; b=ZGyLF6zk8lxOUPBmPjQg0o8UP/YMADsIR1awi5LyMi/pKeMPUVrnGh24rxkGU3StVg NVTpTrbCUfICEvf7P/qPgkCHuQOJ3VuE1BvhEPV81Cq09xZE/oZycnQu+K5UMmO1+oVj 34rWqOA11ESdwLEb6P3rpMWAj1snboZXalGQi+Xc1xXEUm5AZnBmf5uvuXd0kBFkQTj6 d54K9TL7EiqiQYTFQGPiJEVTiGUCV4uoMuLcxj04IVjGiKCRm1WNyIHxLVL38NHL4nmf qNNUv7SKgS6GT0mbBd36HIyBUX7nTYzIoT6kMOlSL7ZhJ85zPgPQBZ4HvAUSVH9680Ly xhKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=NN9RCvnkzaTa6UeK0sqbrOrohJvgFTGndt3NymiMnE4=; b=Zuv4/6VOcO6oczNBnVgfHWCtEYEw2UmU+rmsYxbmbboM05S4sIfPgfeN94df4T7nUf vwynabshHrK+zhpdQGE33dKLpbaTWssuaouQmdALFSVi4KNIHtL/7OZpWORzqPLQted8 TYFupco1OOdFq5jIgKdb0bjYB560PZH1SFyrRsWPAE5tM4P2EGaDx1xHyws8oC4N3eYC HpswpxPDw2cTZDzBGs9bXmiQANMFKThuQKAYSv7l8BGOtepot4mwxedTOvTSBEjWaE0B aL5LxfyaISKUajR/wfM8z45MyRJErXvhJpWMMQPo8AxK+UCEPv/C6jGPRJK/rLdAdyGq QoUQ== X-Gm-Message-State: AHYfb5giA2iAZ6UM51osRPdfdsUqnO1IMeJ+YWpvZeeqyyBoM3xamyVl IzChc+q7beyeSSvp+rgKeslpkxqP9enb X-Received: by 10.200.11.1 with SMTP id e1mr27668184qti.251.1502622202117; Sun, 13 Aug 2017 04:03:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.20 with HTTP; Sun, 13 Aug 2017 04:03:01 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Sun, 13 Aug 2017 12:03:01 +0100 Message-ID: Content-Type: multipart/alternative; boundary="089e0822cbec96c1f80556a07e01" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --089e0822cbec96c1f80556a07e01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable After unarchiving this bug just to add this commnet. ---------- Forwarded message ---------- From: Jo=C3=A3o T=C3=A1vora Date: Sun, Aug 13, 2017 at 11:57 AM Subject: Caught mistake in elec-pair.el patch To: 24901@debbugs.gnu.org, rrt@sc3d.org, Eli Zaretskii Hi Reuben, Casually glancing at the source for lisp/elec-pair.el I have found an error. You cannot use lists like (nth 0 electric-quote-chars) inside a quoted list as you did in your patch of Nov. 8 2016. The list will not be evaluated. Perhaps you were distracted by the grim events taking place that day :-) Anyway, I think you meant backquote-and-comma so I'll install this fix soon= , unless anyone objects. Jo=C3=A3o diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 87e82e2..4ede4f1 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -28,9 +28,9 @@ ;;; Electric pairing. (defcustom electric-pair-pairs - '((?\" . ?\") - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) + `((?\" . ?\") + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) "Alist of pairs that should be used regardless of major mode. Pairs of delimiters in this list are a fallback in case they have @@ -44,9 +44,9 @@ electric-pair-pairs ;;;###autoload (defcustom electric-pair-text-pairs - '((?\" . ?\" ) - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) + `((?\" . ?\" ) + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) "Alist of pairs that should always be used in comments and strings. Pairs of delimiters in this list are a fallback in case they have --=20 Jo=C3=A3o T=C3=A1vora --089e0822cbec96c1f80556a07e01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After unarchiving this bug just to add this commnet.
<= br>
---------- Forwarded message ----------
Fr= om: Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com>
Date: Sun, Aug 13, 2017 at 11:57 AM
Subject= : Caught mistake in elec-pair.el patch
To: 24901@debbugs.gnu.org, rrt@sc3d.org, Eli Zaretskii <eliz@gnu.org>


=
Hi Reuben,

Casually glancing at t= he source for lisp/elec-pair.el I have found an error.=C2=A0

=
You cannot use lists like (nth 0 electric-quote-chars) inside a quoted= list as=C2=A0
you did in your patch of Nov. 8 2016. The list wil= l not be evaluated. Perhaps=C2=A0
you were distracted by the grim= events taking place that day :-)=C2=A0

Anyway, I = think you meant backquote-and-comma so I'll install this fix soon,
unless anyone objects.

Jo=C3=A3o
<= br>

diff --git a/lisp/elec-pair.el b/lisp/ele= c-pair.el
index 87e82e2..4ede4f1 100644
--- a/lisp/elec= -pair.el
+++ b/lisp/elec-pair.el
@@ -28,9 +28,9 @@
=C2=A0;;; Electric pairing.
=C2=A0
=C2=A0(defcust= om electric-pair-pairs
- =C2=A0'((?\" . ?\")
<= div>- =C2=A0 =C2=A0((nth 0 electric-quote-chars) . (nth 1 electric-quote-ch= ars))
- =C2=A0 =C2=A0((nth 2 electric-quote-chars) . (nth 3 elect= ric-quote-chars)))
+ =C2=A0`((?\" . ?\")
+ = =C2=A0 =C2=A0(,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)= )
+ =C2=A0 =C2=A0(,(nth 2 electric-quote-chars) . ,(nth 3 electri= c-quote-chars)))
=C2=A0 =C2=A0"Alist of pairs that should be= used regardless of major mode.
=C2=A0
=C2=A0Pairs of d= elimiters in this list are a fallback in case they have
@@ -44,9 = +44,9 @@ electric-pair-pairs
=C2=A0
=C2=A0;;;###autoloa= d
=C2=A0(defcustom electric-pair-text-pairs
- =C2=A0= 9;((?\" . ?\" )
- =C2=A0 =C2=A0((nth 0 electric-quote-c= hars) . (nth 1 electric-quote-chars))
- =C2=A0 =C2=A0((nth 2 elec= tric-quote-chars) . (nth 3 electric-quote-chars)))
+ =C2=A0`((?\&= quot; . ?\" )
+ =C2=A0 =C2=A0(,(nth 0 electric-quote-chars) = . ,(nth 1 electric-quote-chars))
+ =C2=A0 =C2=A0(,(nth 2 electric= -quote-chars) . ,(nth 3 electric-quote-chars)))
=C2=A0 =C2=A0&quo= t;Alist of pairs that should always be used in comments and strings.
<= div>=C2=A0
=C2=A0Pairs of delimiters in this list are a fallback = in case they have




--
Jo=C3=A3o T=C3= =A1vora
--089e0822cbec96c1f80556a07e01-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 10:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Reuben Thomas Cc: 24901@debbugs.gnu.org, Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.1502965959589 (code B ref 24901); Thu, 17 Aug 2017 10:33:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 10:32:39 +0000 Received: from localhost ([127.0.0.1]:42025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diI6Q-00009Q-UQ for submit@debbugs.gnu.org; Thu, 17 Aug 2017 06:32:39 -0400 Received: from mail-qk0-f181.google.com ([209.85.220.181]:38549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diI6O-00009D-WC for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 06:32:37 -0400 Received: by mail-qk0-f181.google.com with SMTP id x191so34063683qka.5 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 03:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KDAfJYq5RKv17QGPQtW+0ytgCKvypNcMoXqEI7x1pO0=; b=sYipyV5fiGG9vDHpcc6IUMFRoj4iYCnUWA9gdBqQDI7PQaaDXpbloH40GzLRQfkYoN yBDdWBw2DxmREo+c9n43A33y0d630yADaWQK9cuuRAUHApmFCOZme/f6uJfXV35Qpdxh 7GVk/LXjIpFeokeZfewhPb2EMyfGBel6Pn8TPKNx0MmELHfjSO7eIkNANNWe82NWF67g dSqQIuUFjpw2kbWaVwIxKPFdwxgkbj1lj4o1ZliASMRFLitzIqxsxQaqtaPV1dqlGdcs LINxfLtU3T0Eu05cbgmPTn3+TQHrxY62Vt35swAr99rX0jfBmdThWrhHQ/+oJ/mxcCcV hAWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KDAfJYq5RKv17QGPQtW+0ytgCKvypNcMoXqEI7x1pO0=; b=HnORaeeuSFOYwo3gZwjBjzZ/Cfpzy7NHYgeeKYm1uHLH8kWIC0QOzpc2J81EtbWg0+ sHYAEYqqtbw2S2JmXK5uVzKExYW3tR+J0j2ifXN9TMiQhwA4iLQI9XbzRvPDJ5IG70cR la12mvh4Z6hye9uJftVFycO0Dt8JwdnKBRGCCOm6a+Bk+oroT404NBSZYI8sXgSQQzzH hU86pJ54NUV1DIFDh0WV3Urd4LStxhl43FK/s3FPt8KDdIPNXioFneH9OpTrxuBbJwK+ 1lkRlfr49DpLv6FBzDo+c9V/WCEcVEav9A7zRm1f5CjjL350+w3cJjCEXWh/nG0W5jjB XZ9A== X-Gm-Message-State: AHYfb5jNQRL9LlcCACnX4nSRYKkQwhoG5XG5+QDJ5O7WzEFaLlAyDwbM VVgOJrfQbiAg5L4KLRVvksCqx7RVjg== X-Received: by 10.55.101.15 with SMTP id z15mr6040483qkb.259.1502965950514; Thu, 17 Aug 2017 03:32:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.20 with HTTP; Thu, 17 Aug 2017 03:32:10 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Thu, 17 Aug 2017 11:32:10 +0100 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c058ea4970c360556f087d0" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Turns out it's not so simple, because electric-pair-text-pairs is autoloaded and thus relying on electric-quote-chars is a problem. Loading loaddefs.el (source)... Symbol's value as variable is void: electric-quote-chars Makefile:535: recipe for target 'emacs' failed [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.220.181 listed in list.dnswl.org] 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.220.181 listed in dnsbl.sorbs.net] 0.6 URIBL_SBL Contains an URL's NS IP listed in the SBL blocklist [URIs: sc3d.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joaotavora[at]gmail.com) 0.1 URIBL_SBL_A Contains URL's A record listed in the SBL blocklist [URIs: sc3d.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.181 listed in wl.mailspike.net] 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Turns out it's not so simple, because electric-pair-text-pairs is autoloaded and thus relying on electric-quote-chars is a problem. Loading loaddefs.el (source)... Symbol's value as variable is void: electric-quote-chars Makefile:535: recipe for target 'emacs' failed [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.220.181 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.181 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.220.181 listed in list.dnswl.org] 0.1 URIBL_SBL_A Contains URL's A record listed in the SBL blocklist [URIs: sc3d.org] 0.6 URIBL_SBL Contains an URL's NS IP listed in the SBL blocklist [URIs: sc3d.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joaotavora[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders --94eb2c058ea4970c360556f087d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Turns out it's not so simple, because electric-pair-text-pairs is autoloade= d and thus relying on electric-quote-chars is a problem. Loading loaddefs.el (source)... Symbol's value as variable is void: electric-quote-chars Makefile:535: recipe for target 'emacs' failed I could: 1. Add an autoload to electric-quote-chars. (Unfortunately I seem to fail at that, just adding the cookie isn't enough, it has to go into ldefs-boot.el somehow). 2. Replace those (nth...) expressions with the actual quote characters. It's no more disconnected from a possible customized value in electric-quote-chars than it is now. 3. Rework elec-pair.el so that lisp expressions are accepted in electric-pair-text-pairs and evaluated just-in-time. Anyway, It's been more than 1 year since my last contribution to Emacs, and I shouldn't make this decision alone. Eli, could you please weigh in or point me to someone who can? Emacs-devel? Thanks, Jo=C3=A3o On Sun, Aug 13, 2017 at 11:59 AM, Reuben Thomas wrote: > Thanks very much, I fear that was just ineptitude on my part. > > -- > https://rrt.sc3d.org > > On 13 Aug 2017 11:57 am, "Jo=C3=A3o T=C3=A1vora" w= rote: > >> Hi Reuben, >> >> Casually glancing at the source for lisp/elec-pair.el I have found an >> error. >> >> You cannot use lists like (nth 0 electric-quote-chars) inside a quoted >> list as >> you did in your patch of Nov. 8 2016. The list will not be evaluated. >> Perhaps >> you were distracted by the grim events taking place that day :-) >> >> Anyway, I think you meant backquote-and-comma so I'll install this fix >> soon, >> unless anyone objects. >> >> Jo=C3=A3o >> >> >> diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el >> index 87e82e2..4ede4f1 100644 >> --- a/lisp/elec-pair.el >> +++ b/lisp/elec-pair.el >> @@ -28,9 +28,9 @@ >> ;;; Electric pairing. >> >> (defcustom electric-pair-pairs >> - '((?\" . ?\") >> - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) >> - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) >> + `((?\" . ?\") >> + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) >> + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) >> "Alist of pairs that should be used regardless of major mode. >> >> Pairs of delimiters in this list are a fallback in case they have >> @@ -44,9 +44,9 @@ electric-pair-pairs >> >> ;;;###autoload >> (defcustom electric-pair-text-pairs >> - '((?\" . ?\" ) >> - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) >> - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) >> + `((?\" . ?\" ) >> + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) >> + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) >> "Alist of pairs that should always be used in comments and strings. >> >> Pairs of delimiters in this list are a fallback in case they have >> >> --94eb2c058ea4970c360556f087d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Turns out it's not so simple, because electric-pair-te= xt-pairs is autoloaded
and thus relying on electric-quote-chars is a pr= oblem.

Loading loaddefs.el (source)...
<= div>Symbol's value as variable is void: electric-quote-chars
= Makefile:535: recipe for target 'emacs' failed

=
I could:

1. Add an autoload to electric= -quote-chars. (Unfortunately I seem to fail at that,
just adding = the cookie isn't enough, it has to go into ldefs-boot.el somehow).

2. Replace those (nth...) expressions with the actual = quote characters. It's no=C2=A0
more disconnected from a poss= ible customized value in electric-quote-chars=C2=A0
than it is no= w.

3. Rework elec-pair.el so that lisp expressions= are accepted in electric-pair-text-pairs
and evaluated just-in-t= ime.

Anyway, It's been more than 1 year since = my last contribution to Emacs, and
I shouldn't make this deci= sion alone. Eli, could you please weigh in or point me
to someone= who can? Emacs-devel?

Thanks,
Jo=C3=A3o= =C2=A0
=C2=A0

On Sun, Aug 13, 2017 at 11:59 AM, Reuben Thomas <rrt@sc3d.org= > wrote:
Thanks very much, I fear that was just ineptitude on my = part.


On 13 Aug 2= 017 11:57 am, "Jo=C3=A3o T=C3=A1vora" <joaotavora@gmail.com> wrote:
Hi Reuben,

Casually glancing at the so= urce for lisp/elec-pair.el I have found an error.=C2=A0

= You cannot use lists like (nth 0 electric-quote-chars) inside a quoted list= as=C2=A0
you did in your patch of Nov. 8 2016. The list will not= be evaluated. Perhaps=C2=A0
you were distracted by the grim even= ts taking place that day :-)=C2=A0

Anyway, I think= you meant backquote-and-comma so I'll install this fix soon,
unless anyone objects.

Jo=C3=A3o


diff --git a/lisp/elec-pair.el b/lisp/elec-pai= r.el
index 87e82e2..4ede4f1 100644
--- a/lisp/elec-pair= .el
+++ b/lisp/elec-pair.el
@@ -28,9 +28,9 @@
=C2=A0;;; Electric pairing.
=C2=A0
=C2=A0(defcustom el= ectric-pair-pairs
- =C2=A0'((?\" . ?\")
-= =C2=A0 =C2=A0((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars))=
- =C2=A0 =C2=A0((nth 2 electric-quote-chars) . (nth 3 electric-q= uote-chars)))
+ =C2=A0`((?\" . ?\")
+ =C2=A0 = =C2=A0(,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars))
=
+ =C2=A0 =C2=A0(,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote= -chars)))
=C2=A0 =C2=A0"Alist of pairs that should be used r= egardless of major mode.
=C2=A0
=C2=A0Pairs of delimite= rs in this list are a fallback in case they have
@@ -44,9 +44,9 @= @ electric-pair-pairs
=C2=A0
=C2=A0;;;###autoload
=
=C2=A0(defcustom electric-pair-text-pairs
- =C2=A0'((?\&= quot; . ?\" )
- =C2=A0 =C2=A0((nth 0 electric-quote-chars) .= (nth 1 electric-quote-chars))
- =C2=A0 =C2=A0((nth 2 electric-qu= ote-chars) . (nth 3 electric-quote-chars)))
+ =C2=A0`((?\" .= ?\" )
+ =C2=A0 =C2=A0(,(nth 0 electric-quote-chars) . ,(nth= 1 electric-quote-chars))
+ =C2=A0 =C2=A0(,(nth 2 electric-quote-= chars) . ,(nth 3 electric-quote-chars)))
=C2=A0 =C2=A0"Alist= of pairs that should always be used in comments and strings.
=C2= =A0
=C2=A0Pairs of delimiters in this list are a fallback in case= they have


--94eb2c058ea4970c360556f087d0-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150297324918169 (code B ref 24901); Thu, 17 Aug 2017 12:35:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 12:34:09 +0000 Received: from localhost ([127.0.0.1]:42069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diK01-0004iz-JS for submit@debbugs.gnu.org; Thu, 17 Aug 2017 08:34:09 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:36942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diJzz-0004im-PN for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 08:34:08 -0400 Received: by mail-io0-f181.google.com with SMTP id c74so22434638iod.4 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 05:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gtY99qSoMhxi9zHN6uU+/evEbud18KoMhMrQmOh9bqI=; b=mYWRAZsCFKCm24a/hEJcbZfWB6exbTYUugV52Sd5L7fGb+H6f905WZtYUURmQ350mE qDIn24hwR7qm7UqXViVdSZS2ZcGFRZRFY21yVjdy/nkh2uGBMwJmTaHNXFW/66mWD+JR gJEGSJqX+qjDXd3qjK3zBZSo5xp6HWV9gW1rM0Cn5xmsGi1dfGsjCbJKuglgAkmQFqYy I4KJRIACIgW+xvR8WsSqpJI6CzfLDu6IW5CEEqaHGh0O9ixuliYTzQN41WK5UZU30oBE 07y1wdGvvQ8ul1dhHTikjHRloEUIAaAZTTv8jLhDgt5bmbtg6dXYgBDooGc7Fb5ZqNS4 9ffg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=gtY99qSoMhxi9zHN6uU+/evEbud18KoMhMrQmOh9bqI=; b=lg7fmQwG47YCN8BHOakcBehkrnKraQ1SCJUpxROmS0GZSZUDTCg/bWoR825fJZ1KZA AKaEbaHgzRkdNkGZ/c5X4U38VtcPFWIumdBT+DsB0FSbaz7FHxh5AHn7gxaCAPvqiYvX N0L65H4l76gRc8it4MrlETAXmi2ldujwrAudSYNy1CY5v6a8G69Du7ofLy9AARp/hjl9 U32yxspCYZQNYWemz3HPalxfcSlzrJmxfRXledfwawhzTV2zV5cVxjEjJGS6EwCQJWAu dlgtfhubPUhWuGZ1zhoPIshUI7E6MWGNYK8hY+c16THa5FVYN0EP18lYJofnISwtU3b+ u1Uw== X-Gm-Message-State: AHYfb5g/thxSwTSloJV2R5aKbznd6qTB9pVE3YeQsy5dPsc4yOhqe+EH z8s9+cvvJl8g1Q== X-Received: by 10.107.169.74 with SMTP id s71mr4479989ioe.329.1502973242171; Thu, 17 Aug 2017 05:34:02 -0700 (PDT) Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id r21sm1585987ita.16.2017.08.17.05.34.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2017 05:34:01 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Thu, 17 Aug 2017 08:35:39 -0400 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Thu, 17 Aug 2017 11:32:10 +0100") Message-ID: <871soaz810.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jo=C3=A3o T=C3=A1vora writes: > Turns out it's not so simple, because electric-pair-text-pairs is autoloa= ded > and thus relying on electric-quote-chars is a problem. > > Loading loaddefs.el (source)... > Symbol's value as variable is void: electric-quote-chars > Makefile:535: recipe for target 'emacs' failed > > I could: > > 1. Add an autoload to electric-quote-chars. (Unfortunately I seem to fail= at that, > just adding the cookie isn't enough, it has to go into ldefs-boot.el some= how). Or remove the autoload from electric-pair-text-pairs? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-lisp-elec-pair.el-electric-pair-text-pairs-Don-t-aut.patch Content-Transfer-Encoding: quoted-printable Content-Description: patch >From 57a68d001c0851ce10b1b8be47bc8db12b7789f1 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 17 Aug 2017 07:06:47 -0400 Subject: [PATCH] * lisp/elec-pair.el (electric-pair-text-pairs): Don't autoload (Bug#24901). * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Require `elec-pair' explicitly in the interactive case. --- lisp/elec-pair.el | 1 - lisp/progmodes/elisp-mode.el | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 87e82e24fb..f990851185 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -42,7 +42,6 @@ electric-pair-pairs :group 'electricity :type '(repeat (cons character character))) =20 -;;;###autoload (defcustom electric-pair-text-pairs '((?\" . ?\" ) ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 47739f5957..0bf8857960 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -231,9 +231,12 @@ emacs-lisp-mode (defvar project-vc-external-roots-function) (lisp-mode-variables nil nil 'elisp) (add-hook 'after-load-functions #'elisp--font-lock-flush-elisp-buffers) - (setq-local electric-pair-text-pairs - (append '((?\` . ?\') (?=E2=80=98 . ?=E2=80=99)) electric-pa= ir-text-pairs)) - (setq-local electric-quote-string t) + (unless noninteractive + (require 'elec-pair) + (defvar electric-pair-text-pairs) + (setq-local electric-pair-text-pairs + (append '((?\` . ?\') (?=E2=80=98 . ?=E2=80=99)) electric-= pair-text-pairs)) + (setq-local electric-quote-string t)) (setq imenu-case-fold-search nil) (add-function :before-until (local 'eldoc-documentation-function) #'elisp-eldoc-documentation-function) --=20 2.14.1 --=-=-=-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: npostavs@users.sourceforge.net Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150297675623328 (code B ref 24901); Thu, 17 Aug 2017 13:33:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 13:32:36 +0000 Received: from localhost ([127.0.0.1]:42108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diKua-00064C-Bz for submit@debbugs.gnu.org; Thu, 17 Aug 2017 09:32:36 -0400 Received: from mail-qt0-f175.google.com ([209.85.216.175]:38318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diKuY-00063y-Pj for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 09:32:34 -0400 Received: by mail-qt0-f175.google.com with SMTP id t37so37326376qtg.5 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 06:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yYsdJvjUVmBUI02Ml7QMwOWoGTQwKlVdx0BwHweUIAc=; b=BMyNyZa2jE7QFBdNyRuHAcoqQP4/leGIrcS1wCHyaTWQFlG0kfiqjSAOCz8pZ8CejY WyhcKt1/v4U4jLo3mMYhy9udnCtjzVAELQPRCaQQeoo3f2nfUHLEe/XLKdbRCAeADElL HAf6c1wm+nwmcuL4lon0kzLElwnTus3eNuWGkp6/wpXlJRk6c4dHcs5C12Bq+YWtA9/U s2ERJPvMyc+2/UK+IFshQP6dgM1hl/vhnvOEMYaVAmoFRK5J7zov17f80xwYRJU5eCcs plZ1R5K3icxslhVxhW6/Qx5fGEWTUcBbS6fM0jidUaTJ7+BBAZVIlKXLdkFn8+slA7sh X6Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yYsdJvjUVmBUI02Ml7QMwOWoGTQwKlVdx0BwHweUIAc=; b=EMRzKcBMGwaOVloAFOC+dlugwyN8NBmsIgne/TdHiJcxobGjBfXGOf6oQ35oogHqX0 F+dlUtD3uAFLwzhuNnNNMusRVCc8j7HjWhtNeq2q52a5f+JeKzehochwZwyXcbYjd7g+ fRLF9fCBIyYwtp8GzGzA006eQbnh0fszgxVEFfMlUtYMndv7VfAaqVl4omoSKudJNM8i eefhMaaFNPQPzLgHhJ4uPk5N+uef4ZMQRgHd/DABhlFN1MjuftdfPAITVGfGQhIi8DjH Bqt7dU+WNccK+MLuIxaRawsTspI56RJqkXPBGNCKOGzajvR+vnhaoJ/5R0Pf0lULUYgx p5eQ== X-Gm-Message-State: AHYfb5h6ZUAzWe1vffySrnGlSjnP7fl05B22GRzBtlNcT1fYdYW6FTeJ 9+8NGH1j0eInONYDY0RjezCMNZpPGA== X-Received: by 10.200.3.43 with SMTP id q43mr7953169qtg.274.1502976749176; Thu, 17 Aug 2017 06:32:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.20 with HTTP; Thu, 17 Aug 2017 06:32:08 -0700 (PDT) In-Reply-To: <871soaz810.fsf@users.sourceforge.net> References: <871soaz810.fsf@users.sourceforge.net> From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Thu, 17 Aug 2017 14:32:08 +0100 Message-ID: Content-Type: multipart/alternative; boundary="f4030435c6ec3d8c840556f30bb4" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --f4030435c6ec3d8c840556f30bb4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2017 at 1:35 PM, wrote: > Or remove the autoload from electric-pair-text-pairs? Seems to be there for a reason, unfortunately. It's forward referenced in electric.el if I'm not mistaken. J -- Jo=C3=A3o T=C3=A1vora --f4030435c6ec3d8c840556f30bb4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 17, 2017 at 1:35 PM= , <npostavs@users.sour= ceforge.net> wrote:

> Or remove the autoload from electric= -pair-text-pairs?

Seems to be there for a reason, unfortunately. It&= #39;s forward=C2=A0
referenced in electric.= el if I'm not mistaken.

J


--
Jo=C3=A3o T=C3=A1vora
--f4030435c6ec3d8c840556f30bb4-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150297875727410 (code B ref 24901); Thu, 17 Aug 2017 14:06:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 14:05:57 +0000 Received: from localhost ([127.0.0.1]:42910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diLQq-000782-Vq for submit@debbugs.gnu.org; Thu, 17 Aug 2017 10:05:57 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:36487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diLQp-00077o-El for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 10:05:55 -0400 Received: by mail-oi0-f49.google.com with SMTP id g131so67124390oic.3 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 07:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=PLPm4oTqpSJPzadso47/UIMGc/GfAktvRaobYVzLx8c=; b=gzXTp+7fGJoijsjzeuaZ8nSp0Lg1SVyR58WGhqzfz4+gOLQWVOqLjZSVgp1jzRhWpq rWSmbPvYLqSSNAQIVwVejeVyDVPdYdUifK7sDYH80r+Q+1FsXaSyhFuu79cvrKkmScNL WLAIfP9TWSpogvOmCbTQvT9/C9IDj+dytkmKxOjsYP03JYdzZ6XVfAJiz+ot6VEPcJ4X gHR/BfYB8LGuVZcvQz3OuRJzkjRcdPYGiYe//idZ/ThaemJ5/DuSLI+P3XjilHc/EJwd N3rdP7yNUFJ3tmiKWM7jWQaCTPgDL1pnQapg7RiJ8zTf3rkwttQ3S7idOWH7ZpvvQPWX ucnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=PLPm4oTqpSJPzadso47/UIMGc/GfAktvRaobYVzLx8c=; b=Clze6zY8SEiyNBc4saDJshukTpAZ44o0JDpViFdiMvs/JHgYnMdCI/U3fVzzQUbnmI XHdThjIP+eWZEuLEUHW5PM1IbGjVzhdrmGnObeTwrZOHsuuR/QOobsxNwOQ6LsXr/eyb 54eovuEx6GTXLWCmXbmdaRTIXx0NMnu7I+AG8B70S6oQ3rWz+SxcUZDJ7frcR5GSiaYl N/3GqyYmn3OOnlxTWE8iul2Me5ZABUIVqedICXlgpotgJfv+wZBdHAP37seErALjnyME lgqc/lzAYp8dR3DuNaNVO7lWJHydNTWYr05SiAHogY3IrI9rCdFVACrGwhfYHVrQZRd5 kJMQ== X-Gm-Message-State: AHYfb5jDS4VAx/HDVa0YjWkFxlSm3ms3MK1Tjd00WfyN6BPDY3qVc1QC UcK9ICPv0IFJLld+HMMdCew/3Qv/gQ== X-Received: by 10.202.208.79 with SMTP id h76mr7214311oig.65.1502978749643; Thu, 17 Aug 2017 07:05:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.18.129 with HTTP; Thu, 17 Aug 2017 07:05:49 -0700 (PDT) In-Reply-To: References: <871soaz810.fsf@users.sourceforge.net> From: Noam Postavsky Date: Thu, 17 Aug 2017 10:05:49 -0400 X-Google-Sender-Auth: 0zLas0170_ili_nzvMZnN5Dx7-8 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) On Thu, Aug 17, 2017 at 9:32 AM, Jo=C3=A3o T=C3=A1vora wrote: > On Thu, Aug 17, 2017 at 1:35 PM, wrote: > >> Or remove the autoload from electric-pair-text-pairs? > > Seems to be there for a reason, unfortunately. It's forward > referenced in electric.el if I'm not mistaken. The reference in electric.el is inside (and electric-pair-mode ...) which is already autoloaded so it should be fine. There is another reference in elisp-mode.el, for which, AFAICT, we can just use explicit require instead (see my patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24901#53; sorry I didn't mention it before, I forgot some mail clients don't show attachments clearly). From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 24901@debbugs.gnu.org, rrt@sc3d.org, npostavs@users.sourceforge.net Reply-To: Eli Zaretskii Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150297984929937 (code B ref 24901); Thu, 17 Aug 2017 14:25:01 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 14:24:09 +0000 Received: from localhost ([127.0.0.1]:42922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diLiS-0007mn-OR for submit@debbugs.gnu.org; Thu, 17 Aug 2017 10:24:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diLiR-0007mZ-6Q for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 10:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diLiH-0003Wy-Vf for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 10:24:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diLiH-0003Wu-SS; Thu, 17 Aug 2017 10:23:57 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3486 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1diLiH-0000hZ-7p; Thu, 17 Aug 2017 10:23:57 -0400 Date: Thu, 17 Aug 2017 17:23:44 +0300 Message-Id: <8360dmff2n.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Thu, 17 Aug 2017 14:32:08 +0100) References: <871soaz810.fsf@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) > From: João Távora > Date: Thu, 17 Aug 2017 14:32:08 +0100 > Cc: Reuben Thomas , 24901@debbugs.gnu.org, Eli Zaretskii > > On Thu, Aug 17, 2017 at 1:35 PM, wrote: > > > Or remove the autoload from electric-pair-text-pairs? > > Seems to be there for a reason, unfortunately. It's forward > referenced in electric.el if I'm not mistaken. I don't understand this: electric.el is preloaded, so why would it need the autoload? But in any case, if you do need the autoload, you can add an explicit autoload form in electric.el. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24901@debbugs.gnu.org, rrt@sc3d.org, npostavs@users.sourceforge.net Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.15029841924189 (code B ref 24901); Thu, 17 Aug 2017 15:37:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 15:36:32 +0000 Received: from localhost ([127.0.0.1]:42969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diMqV-00015V-V0 for submit@debbugs.gnu.org; Thu, 17 Aug 2017 11:36:32 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:36332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diMqU-00015G-I0 for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 11:36:30 -0400 Received: by mail-wr0-f177.google.com with SMTP id f8so2548912wrf.3 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 08:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=Yq5AR5CdWZcETXjwE5FiMKF1xZ16Xa45qIgXHxBcbcA=; b=inSPr1T8dM4daaOWmTzhGSBSQmnGEhWKiXF8JBX5F2Gsw9k2MuTIY2kz4IiuAYYIgF V1ddut5Lt5fdTlTNW4N7w84SSUpki5TLunEbYA0+ZpJ1CwLjdPiaMrOPopy2iCNw8KqQ eHwI8WA9SzJkGLl59L4LaPCbradQ+QILul4j0GSOIKj7OjGYxbzQ8nWiLjBDSOq+fXuz ZPCf6BsNygdEx2+4Ia9LU+fG0RHeyKc/xrWqIeBoyITzQJgj28fAxyVa2dhVcsG784np 9CrixlrfdqxUt68SKn43DtRKprfVDiBlda0uPhVT2vgolASFpb3RL6eza6eo8c7VH7sA PQVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=Yq5AR5CdWZcETXjwE5FiMKF1xZ16Xa45qIgXHxBcbcA=; b=EfBLf9HkQNX640EImQC1W+0HB2FqfvhSVQm1gqtbldhm/oDmLfYkgc652zNU7tAEwK pUZywuCsms1a1sjcx4JfRCLlONmpfjsJr3LPzN5euOdDCVjeOX8ZjiBVSxJeoOmYjwoc qRTUXWd6OD9c0bq+3LVrY9WSPnZb9+jbmPtBdLVOkoJRifcV9u3/YXSfE+PVMuj1kTEz PM45tSN1PMIQM2jA6fyyigeY+xyDsvB4SKS8mwcQgm9COLxwd/KizFqboCZ9tfhiZj/l AhU4ry+CoGfGqEB+0GOJMjAP4KJ6gxIWi/vbScOuZnqor+d5+N+qrqVyX1YdLOrPA4nG 8DHg== X-Gm-Message-State: AHYfb5isdZm3PzyLCxYHvqrl1iJDMVgT/Cg+AtKDuNEcI4DQPepXhEcZ bcNmc8HLt7eb6R+WuCE= X-Received: by 10.28.24.83 with SMTP id 80mr1416391wmy.86.1502984184315; Thu, 17 Aug 2017 08:36:24 -0700 (PDT) Received: from lolita.yourcompany.com (190.159.62.94.rev.vodafone.pt. [94.62.159.190]) by smtp.gmail.com with ESMTPSA id v17sm3028108wrg.24.2017.08.17.08.36.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2017 08:36:22 -0700 (PDT) From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) In-Reply-To: <8360dmff2n.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Aug 2017 17:23:44 +0300") References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Date: Thu, 17 Aug 2017 16:36:19 +0100 Message-ID: <87valm1a18.fsf@lolita> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Jo=C3=A3o T=C3=A1vora >> Date: Thu, 17 Aug 2017 14:32:08 +0100 >> Cc: Reuben Thomas , 24901@debbugs.gnu.org, Eli Zaretskii <= eliz@gnu.org> >>=20 >> On Thu, Aug 17, 2017 at 1:35 PM, wrote: >>=20 >> > Or remove the autoload from electric-pair-text-pairs? >>=20 >> Seems to be there for a reason, unfortunately. It's forward=20 >> referenced in electric.el if I'm not mistaken. > > I don't understand this: electric.el is preloaded, so why would it > need the autoload? I don't know, I admit I'm very confused by the autoload logic, so you lost me at preloaded. Also have been away from Elisp for almost a year. If I remove the autoload I get compilation errors in electric.elc or align.elc (from make bootstrap). I might be doing something wrong. How can I test the autoload dependecies without a full make bootstrap? And then there's the problem Noam mentioned in elisp-mode.el. But Noam's patch apparently fixes that, so here's his patch and mine for a quick review from either of you if you don't mind. Tested with 'make bootstrap'. Thanks, Jo=C3=A3o --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-lisp-elec-pair.el-electric-pair-text-pairs-Don-t-aut.patch Content-Transfer-Encoding: quoted-printable >From 3e5a166cb7e5b575252c5c69c2678d2074d58c12 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 17 Aug 2017 07:06:47 -0400 Subject: [PATCH 1/2] * lisp/elec-pair.el (electric-pair-text-pairs): Don't autoload (Bug#24901). * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Require `elec-pair' explicitly in the interactive case. --- lisp/elec-pair.el | 1 - lisp/progmodes/elisp-mode.el | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 87e82e24fb..f990851185 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -42,7 +42,6 @@ electric-pair-pairs :group 'electricity :type '(repeat (cons character character))) =20 -;;;###autoload (defcustom electric-pair-text-pairs '((?\" . ?\" ) ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 47739f5957..0bf8857960 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -231,9 +231,12 @@ emacs-lisp-mode (defvar project-vc-external-roots-function) (lisp-mode-variables nil nil 'elisp) (add-hook 'after-load-functions #'elisp--font-lock-flush-elisp-buffers) - (setq-local electric-pair-text-pairs - (append '((?\` . ?\') (?=E2=80=98 . ?=E2=80=99)) electric-pa= ir-text-pairs)) - (setq-local electric-quote-string t) + (unless noninteractive + (require 'elec-pair) + (defvar electric-pair-text-pairs) + (setq-local electric-pair-text-pairs + (append '((?\` . ?\') (?=E2=80=98 . ?=E2=80=99)) electric-= pair-text-pairs)) + (setq-local electric-quote-string t)) (setq imenu-case-fold-search nil) (add-function :before-until (local 'eldoc-documentation-function) #'elisp-eldoc-documentation-function) --=20 2.11.0 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-Fix-default-value-of-electric-pair-pairs-and-electri.patch >From a96f9ed05edfe619f7bc4edf5485c937e3df4d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 17 Aug 2017 10:44:38 +0100 Subject: [PATCH 2/2] Fix default value of electric-pair-pairs and electric-pair-text-pairs Fixes: debbugs:24901 A previous change, titled "Add support for curly quotation marks to electric-pair-mode", attempted to add these characters to the default value of these variables. But it did so in a quoted list, preventing evaluation of the relevant expressions and resulting in an invalid format. * lisp/elec-pair.el (electric-pair-pairs): Use backquote and comma. (electric-pair-text-pairs): Use backquote and comma. --- lisp/elec-pair.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index f990851185..236f5f1283 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -28,9 +28,9 @@ ;;; Electric pairing. (defcustom electric-pair-pairs - '((?\" . ?\") - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) + `((?\" . ?\") + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) "Alist of pairs that should be used regardless of major mode. Pairs of delimiters in this list are a fallback in case they have @@ -43,9 +43,9 @@ electric-pair-pairs :type '(repeat (cons character character))) (defcustom electric-pair-text-pairs - '((?\" . ?\" ) - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) + `((?\" . ?\" ) + (,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars)) + (,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars))) "Alist of pairs that should always be used in comments and strings. Pairs of delimiters in this list are a fallback in case they have -- 2.11.0 --=-=-=-- From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.15029849605438 (code B ref 24901); Thu, 17 Aug 2017 15:50:02 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 15:49:20 +0000 Received: from localhost ([127.0.0.1]:42981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diN2u-0001Pe-Es for submit@debbugs.gnu.org; Thu, 17 Aug 2017 11:49:20 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:36174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diN2s-0001PQ-C6 for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 11:49:18 -0400 Received: by mail-oi0-f45.google.com with SMTP id g131so70382733oic.3 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 08:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=s4t4zvJ6Nre9lII/SjUaGYVl9Fo1zvL1WBSa2oWIgw0=; b=lVXp2Zdh0FgkkUBptce9+ZEoYCXhS1rq5hdo8/kBzDFebDPdeqaZ+WBZjaptlHVbIl JQSc/Ouj1kcUMssatcCLTzLQZFa7Fa2n7j0xHxkan1FFroK31NZMGOnHG8OjN9glv870 9iENtMlHIERybBX26mHXws8OFMuTCOy+xCp4FXgoIQVNobj3mtrjv9OXrdDT/B3sdhbC rFwaK30/xO1PVEo8AZY0GtNoazAlSmn9hqiQ+f8N6Zi/HJWPMXhl18IYqPecB/8Afnde v6b6HCEjLvl3jStdoUDk33sH3yV/537CZPOSrMTbbqeUfXNoOmBW68/jDWywUaBA0uex Bt1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=s4t4zvJ6Nre9lII/SjUaGYVl9Fo1zvL1WBSa2oWIgw0=; b=BTePMgkkBfHe1+JqE5GABPstgITeYZw6w+O7V5Z2tsEnMRxm/Giuo0GZJIG13GvaCN OW1Q849eclWfpdHCG+yA0V9Eu/xn+RA8C6nCLpyZiGDdxiFOKpTg/As96kuGuk88eVv0 A3F4Ve1WCJdLikHhgZnxKCFiE/kV3jIQSPYYypAUmYiRxujRv7LFbU7jhs7PR7d0yDA2 EZght1zumxWBYR07AQs4orX9p6M7XeFy3f3CWf/Rc9f4GnKTBbSfuUTrOExzvPukBZxo uZ2uWrICsnB5/X09WKxm6z3/8v9AFkoKsF+GxpXtg1T48GXvXitQS6DCOhWIqmm1RT11 a+LQ== X-Gm-Message-State: AHYfb5jaT7IpnpclBoIx8PwKNBiLNGLhiqkLH2R/H+N5UxKB1WitCUCh 9jR/zgmJwgTqtgpLaH4BSQ28XB4hpQ== X-Received: by 10.202.181.130 with SMTP id e124mr6655434oif.96.1502984952713; Thu, 17 Aug 2017 08:49:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.18.129 with HTTP; Thu, 17 Aug 2017 08:49:12 -0700 (PDT) In-Reply-To: <87valm1a18.fsf@lolita> References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> From: Noam Postavsky Date: Thu, 17 Aug 2017 11:49:12 -0400 X-Google-Sender-Auth: vBw5E_NUT65oNrxM1ZA4BqGZJzo Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) On Thu, Aug 17, 2017 at 11:36 AM, Jo=C3=A3o T=C3=A1vora wrote: > Eli Zaretskii writes: > >>> Seems to be there for a reason, unfortunately. It's forward >>> referenced in electric.el if I'm not mistaken. >> >> I don't understand this: electric.el is preloaded, so why would it >> need the autoload? I think you have the direction backwards: electric.el uses the autoloaded variable *from* elec-pair.el. > I don't know, I admit I'm very confused by the autoload logic, so you > lost me at preloaded. Also have been away from Elisp for almost a year. > > If I remove the autoload I get compilation errors in electric.elc or > align.elc (from make bootstrap). I might be doing something wrong. How > can I test the autoload dependecies without a full make bootstrap? As far as I know, the only way to be sure of testing all dependencies is deleting all elc files, i.e., a full bootstrap minus the C compilation (using ccache can help automate the "minus the C compilation" part). > And then there's the problem Noam mentioned in elisp-mode.el. The elisp-mode.el problem is what causes the align.elc failure: the byte compiler uses elisp-mode. From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150298905912307 (code B ref 24901); Thu, 17 Aug 2017 16:58:01 +0000 Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 16:57:39 +0000 Received: from localhost ([127.0.0.1]:43020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diO71-0003CR-74 for submit@debbugs.gnu.org; Thu, 17 Aug 2017 12:57:39 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:33231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diO6z-0003CA-Ca for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 12:57:38 -0400 Received: by mail-wr0-f179.google.com with SMTP id b65so49163076wrd.0 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 09:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=2lWrZfAWQqEzx+AZZlOZu565ddEan6zZCc4vD0FZOII=; b=jqUiSwZkN5ksUGZL55PJVZi0lSxqCpQopbi0x1EqnJDGhXmDFhQ+4C82gl5ovmPrMG J0Gr+NbBzIpArfROpQ6Uwk/YIxC8QgF20sYF1Hc7XtWF8128+bWriLYtnTYvr3yb/zMj 0x00FzXqr/MVd7GUbAiWxmIEtwkl1J1YmFulQfTpL0TejVrvsBb1tOwChhTcrl/xCgOA SWPaX8hEi73LCu9np10MTMYlHz8v/jIFVwwaIFi6SS7SZr44eCil7qfecsrB6/jFZcQT Hm0yOJjrWxz6oo6WBElnTNcQWpsfaYhZaqwcz3R9L7VI3FANuBgYhhq6U4QkllOhDmUY gx+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=2lWrZfAWQqEzx+AZZlOZu565ddEan6zZCc4vD0FZOII=; b=IX7WZFPBXkes6eZKrY0corxhNdDvUk/eW3AGhFhleOWUiGglM1G7sD+ZDVNTF//nxR VM+IFV8pJM9n8QZcPIS4AgLNEMMbgmH/c4CdeG6J91F/Ch5bS/gKNNuTJFsdLXr0LGmQ OQbcb3eZm9IEKdeD9OIw/BSSXVbsEXjeeU5A7T9nFkU84z2qRsMcPGbdPheFNXF0Xq6n QOA0cTHdmgrap/onYZAFXYpxIxB198w3++nTHWiN6hDbnIPFrh1PUf8sTzgQDOO0LrI0 DRv0M7qbtEOvZcY8X5cvHb/N5VqCNtQSmZVh8MgtqugSOB14vsYK2fO9kOBfsvSNELmL jZZA== X-Gm-Message-State: AHYfb5hVIwgvktmZydiMAR0g7443SJDeIJxuHVfSm2AsGPmjgROfOrAL bGG/CYKjv903qEw45Vk= X-Received: by 10.28.234.74 with SMTP id i71mr1597964wmh.8.1502989051345; Thu, 17 Aug 2017 09:57:31 -0700 (PDT) Received: from lolita.yourcompany.com (190.159.62.94.rev.vodafone.pt. [94.62.159.190]) by smtp.gmail.com with ESMTPSA id j29sm4583956wrb.9.2017.08.17.09.57.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2017 09:57:30 -0700 (PDT) From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> Date: Thu, 17 Aug 2017 17:57:19 +0100 In-Reply-To: (Noam Postavsky's message of "Thu, 17 Aug 2017 11:49:12 -0400") Message-ID: <87r2wa16a8.fsf@lolita> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Noam Postavsky writes: > On Thu, Aug 17, 2017 at 11:36 AM, Jo=C3=A3o T=C3=A1vora wrote: >> Eli Zaretskii writes: >> >>>> Seems to be there for a reason, unfortunately. It's forward >>>> referenced in electric.el if I'm not mistaken. >>> >>> I don't understand this: electric.el is preloaded, so why would it >>> need the autoload? > > I think you have the direction backwards: electric.el uses the > autoloaded variable *from* elec-pair.el. You mean Eli has the direction backwards. I don't have a clue :-) > As far as I know, the only way to be sure of testing all dependencies > is deleting all elc files, i.e., a full bootstrap minus the C > compilation (using ccache can help automate the "minus the C > compilation" part). So is 'find . -iname "*.elc" | xargs rm -f' enough? What's ccache? >> And then there's the problem Noam mentioned in elisp-mode.el. > > The elisp-mode.el problem is what causes the align.elc failure: the > byte compiler uses elisp-mode. Does this mean you sign off on both patches? Jo=C3=A3o From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2017 01:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Cc: 24901@debbugs.gnu.org, Eli Zaretskii , rrt@sc3d.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.15030209998246 (code B ref 24901); Fri, 18 Aug 2017 01:50:02 +0000 Received: (at 24901) by debbugs.gnu.org; 18 Aug 2017 01:49:59 +0000 Received: from localhost ([127.0.0.1]:43346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diWQB-00028w-L7 for submit@debbugs.gnu.org; Thu, 17 Aug 2017 21:49:59 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:34992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diWQA-00028i-2h for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 21:49:58 -0400 Received: by mail-it0-f50.google.com with SMTP id 76so1692765ith.0 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 18:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=l5g1HzpvGrgSpf4TftyMqmBovGGaFK5exQ3/aWNfmuY=; b=IKbrGmvTrSVgkkuuWsCNYFltfr7eVZMF+qHA3PxvmMqZCRlOtX+eBQD4+Sh9cwzr2i SOgGaPW7mwDznWvqdD56tqI4KWicguzTj1jP2iJSFauIBngL1htNdzDWGKoIoqQa5+aI 7k1874ujq3dvd9wmPcDY5Bs6GtvbtV3Cd/c6/iWiKtXYUacZrCfAGwHLm1vmgAd+Siz0 6jp+uK1hDKb9szcBc006DN0NHS1ZXpaWV9lRoNQ1oRh4QNB6gY9Ou2jJqvUv4YklT5wD G/WD4YbA9CFjM9+RBFMWOB6Qo7zMsqGjEQQFkxKQmcEQPbAA/7zLwwnE2em2cCEFuZUD oP/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=l5g1HzpvGrgSpf4TftyMqmBovGGaFK5exQ3/aWNfmuY=; b=npDorJ2AbTB4iuaQkg3Enz5N+MZjfUeM+okyQOfPRx36S2El7Vl/AY6sFOlE7f3Asu /A+ZgnZSJj1MPaS3jZ2fMYl4vm9yv0IdF7RhHfgKFqg0pCX+aF+D0S0aOMsG6Sxv/fN8 PHAOXfjN3mL4vXGpl0XfgLr1GDLyk+TcwgNki0SgLfeAbE0unjNINplE6kaR1BRr/uPv tJWEAgw/JKF3nVHFh28WhKx+MMikAJnAAnNgZSEkT9bdCyQhpggOCTXBGUswud3F0L3x 8jVbHG9tuH8P3MTmHdFBa7kmlT2Gd3vA4ZW4bGCh4mZMSPkW8pQahPwb4E9svrWkJtYi KIQQ== X-Gm-Message-State: AHYfb5gnR14jp76bVjlr+LAsnwtgspiAQAyG1ftIfHuhCEbRy1QlQiYi kTaus4dQ6hN1VQ== X-Received: by 10.36.241.6 with SMTP id c6mr395090iti.116.1503020992369; Thu, 17 Aug 2017 18:49:52 -0700 (PDT) Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id w207sm198676itc.34.2017.08.17.18.49.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2017 18:49:51 -0700 (PDT) From: npostavs@users.sourceforge.net References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> Date: Thu, 17 Aug 2017 21:51:30 -0400 In-Reply-To: <87valm1a18.fsf@lolita> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Thu, 17 Aug 2017 16:36:19 +0100") Message-ID: <87vally76l.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) joaotavora@gmail.com (Jo=C3=A3o T=C3=A1vora) writes: >> As far as I know, the only way to be sure of testing all dependencies >> is deleting all elc files, i.e., a full bootstrap minus the C >> compilation (using ccache can help automate the "minus the C >> compilation" part). > > So is 'find . -iname "*.elc" | xargs rm -f' enough? Actually, now that I think of it, 'rm lisp/loaddefs.el' might be needed too. > What's ccache? https://ccache.samba.org/ ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again. Supported languages are C, C++, Objective-C and Objective-C++. So you can ./configure CC=3D'ccache gcc' and then if you do 'make bootstrap' the C compilation goes by very quickly after the first time. The lisp compilation still takes a long time, but caching the C part at least makes it less painful to use an -O2 optimized build which compiles lisp a bit faster. >> The elisp-mode.el problem is what causes the align.elc failure: the >> byte compiler uses elisp-mode. > > Does this mean you sign off on both patches? Yes, I think they're good (I have just a couple of format trivia nitpicks, below). I'm under the impression that I'm more tolerant of explicit `require' than the average Emacser though. > * lisp/elec-pair.el (electric-pair-pairs): Use backquote and comma. > (electric-pair-text-pairs): Use backquote and comma. This could be * lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): Use backquote and comma. > (defcustom electric-pair-text-pairs > - '((?\" . ?\" ) > - ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars)) > - ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars))) > + `((?\" . ?\" ) Can we get rid of that space before the closing paren while we're here? From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2017 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky Cc: 24901@debbugs.gnu.org, Eli Zaretskii , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150308410214231 (code B ref 24901); Fri, 18 Aug 2017 19:22:01 +0000 Received: (at 24901) by debbugs.gnu.org; 18 Aug 2017 19:21:42 +0000 Received: from localhost ([127.0.0.1]:44611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dimpy-0003hT-C6 for submit@debbugs.gnu.org; Fri, 18 Aug 2017 15:21:42 -0400 Received: from mail-qt0-f175.google.com ([209.85.216.175]:35591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dimpw-0003hH-IC for 24901@debbugs.gnu.org; Fri, 18 Aug 2017 15:21:40 -0400 Received: by mail-qt0-f175.google.com with SMTP id p3so58725820qtg.2 for <24901@debbugs.gnu.org>; Fri, 18 Aug 2017 12:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5uHDjRDVtqZoKNR03HFcvnz2dMqqoq067cq+S0gM1Vw=; b=O8D5DYRfAISLQVooTnqZ9h7zepe4avDTOoBDz+rLe80ZQNkXon6t3ckTQw1Gm4XxWY jmu0cqUdDFCBotKBJXIi9GUti6GYZVaoS9zBmk7Ga+o67VJ56gveOO1YI05qrvC5Z/Em wNPM4tzTrc70AtQ/61BiWuQp0PY8Mn7GBMsss= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5uHDjRDVtqZoKNR03HFcvnz2dMqqoq067cq+S0gM1Vw=; b=IEWZ7ZMq7D7NXLHKwn6iMF0/hsO/++cwcdvsMuwILt5iClJ89fSkvC2RI2yTW4WUGN z8PLrEuttoRP6L8TDXoztGa2pLuKai4JlLd4spUOuSClPY9T9DbtSriNXIkH/YpIrJP8 ffwRP/q4I0D9DvcC9FnRxP/IUcJMttz9ESR9qD27UCLOED7fiDiL9wXWkD0l+QfK+1JE Kg/0Q1+g2ibPtsTRRl8jIo0LgZ+3OSJAHDabXKCJdyEONMP948CpozCoaW1ROJJLrn9G SFIRORTPEgXCV619c+VJny2WYOqh84rOQhAU56uAyAnKsCHt7NlHNB8rpfQ4+oR7MpT6 oq1w== X-Gm-Message-State: AHYfb5hQC/ro2ErMLBgzLqz3YdY8lKlxSTJtrFXq8yxEcqAhETX3SHHx wcSEfjFF0GqFPwmgTyv7KNRRbF3BRlF9 X-Received: by 10.200.41.18 with SMTP id y18mr15059762qty.22.1503084090040; Fri, 18 Aug 2017 12:21:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.197.71 with HTTP; Fri, 18 Aug 2017 12:21:29 -0700 (PDT) In-Reply-To: <87vally76l.fsf@users.sourceforge.net> References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> <87vally76l.fsf@users.sourceforge.net> From: Reuben Thomas Date: Fri, 18 Aug 2017 20:21:29 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) (Thanks, everyone, for dealing with this!) From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2017 22:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: npostavs@users.sourceforge.net Cc: 24901@debbugs.gnu.org, Eli Zaretskii , rrt@sc3d.org Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.15030964226708 (code B ref 24901); Fri, 18 Aug 2017 22:47:02 +0000 Received: (at 24901) by debbugs.gnu.org; 18 Aug 2017 22:47:02 +0000 Received: from localhost ([127.0.0.1]:44726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diq2f-0001k4-PL for submit@debbugs.gnu.org; Fri, 18 Aug 2017 18:47:01 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diq2d-0001jq-MU for 24901@debbugs.gnu.org; Fri, 18 Aug 2017 18:47:00 -0400 Received: by mail-wr0-f196.google.com with SMTP id p14so5750589wrg.1 for <24901@debbugs.gnu.org>; Fri, 18 Aug 2017 15:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=sVMU7uQ7u1tmx5oZFC5v3h4awzR/3M3l+dDniS+YdMs=; b=GvJ/O4Y/v6Y8b4WzRbFggQIrJxI8u2t5Z6KnfKNL+QnSAIyk6FQ3S6fLoCfJztWBLs 0JP0ImqzchlG+wWXA21FLL8+XSSOx2ySMgsmsXQeLkgf/aXs/lzcf6scM+ubCtHqxZsQ zWVoJ4iqhOhpIC13F1fAt6hXJ5pYE5tRQ9oM3Htxva6LQ6zciVA5CstxvZMt/AiFg5qZ WyRnI1yG7QalqV/QeMFo6HFh1B2f8aISkZViu5LzUUf9igCc81T+P9oG1lEnbXa9lR16 X+fB0wzefnYU2yjBJ62i2YAznZi7SwmOtLr/H9eOr3L3XogEQHE8fHDIdkinHgp2FX+C qkTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=sVMU7uQ7u1tmx5oZFC5v3h4awzR/3M3l+dDniS+YdMs=; b=nT/vpqwJxqFCv92JLOLuL3avjyz3t/Fr6GyeXYpe3Mwe50e/wry1Klm8XaEYW1zdIb hJqlHTkgr4o5XnOCo1hvR9MNlieES/RQ4HS83FplRKquw01dh/hj96yboWG1Y7ajrp0M Fiz8wZU6JyCE52ReqOli/9hGHOdXC9+tY3Y0HdPjDP+aZEuNxM5KtgORoCNArQP63iM9 2Y+7r1cot/9oXUqV0kAkX1JTG2l1OJzudJsB70SIdtpyvMUZTuHNk0VUAZ9bqUd3LQcR WQwCxK/l5bliw1klNJcoOB5VhqClSbtCSVnq7oafOybzH1/na1Jufh2fdKhOGNdMWG1t taGQ== X-Gm-Message-State: AHYfb5inZOs4XSx4VmGV/c1ZHw74AgaNkvr3achfyjTz0PaECB1fleMD qvAgpRI28Ane2Q== X-Received: by 10.223.177.25 with SMTP id l25mr7450276wra.14.1503096413935; Fri, 18 Aug 2017 15:46:53 -0700 (PDT) Received: from lolita.yourcompany.com (190.159.62.94.rev.vodafone.pt. [94.62.159.190]) by smtp.gmail.com with ESMTPSA id f79sm2076723wmd.19.2017.08.18.15.46.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2017 15:46:52 -0700 (PDT) From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> <87vally76l.fsf@users.sourceforge.net> Date: Fri, 18 Aug 2017 23:46:49 +0100 In-Reply-To: <87vally76l.fsf@users.sourceforge.net> (npostavs's message of "Thu, 17 Aug 2017 21:51:30 -0400") Message-ID: <877ey0mr3a.fsf@lolita> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) npostavs@users.sourceforge.net writes: > Yes, I think they're good (I have just a couple of format trivia > nitpicks, below). Thanks. Done, with nitpicks fixed. Shall I archive the bug again or wait until someone does that automatically? Jo=C3=A3o From unknown Sun Jun 22 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24901: Caught mistake in elec-pair.el patch Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2017 00:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 24901@debbugs.gnu.org, Eli Zaretskii , Reuben Thomas Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.150310327316484 (code B ref 24901); Sat, 19 Aug 2017 00:42:02 +0000 Received: (at 24901) by debbugs.gnu.org; 19 Aug 2017 00:41:13 +0000 Received: from localhost ([127.0.0.1]:44759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dirpB-0004Ho-1M for submit@debbugs.gnu.org; Fri, 18 Aug 2017 20:41:13 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:36535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dirp9-0004Hb-HL for 24901@debbugs.gnu.org; Fri, 18 Aug 2017 20:41:11 -0400 Received: by mail-oi0-f47.google.com with SMTP id g131so111522859oic.3 for <24901@debbugs.gnu.org>; Fri, 18 Aug 2017 17:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=eF4TyqPn890mQFvFIsb0uImKviIKTxpSjUX1+nCSf/8=; b=CCivjnfbV48Gf/KZdCjC6X7foPjh++AUdBkTCC80QWnih3UK+byG6zanlpCTUkb7Tz vlP502mmPDOWRTH1vHiQi7x2Oo9DwB6WKCzyj6HrtuWsGiw6FIbMd2bFkTfxxtTPsR5G W6Ca0XnptqW4dFftZsThP6BBheGTUPskyFYL9m4N8lW+FqPD17Aw/kq6Dqb3DzYcQx4f X9iUBuC+I+0EiULhsdxFyTx4MKiwp+nkpu+Q1q/7WEPovyhWmFHk1Ebn1MgmwsULOIrO fKhYXtISpjM/mhP6MNyBJ4cQmZRzUmJQuxxMqq+KJ89wmDjtmV8tqO6CDoR2rvHjsohf qB3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=eF4TyqPn890mQFvFIsb0uImKviIKTxpSjUX1+nCSf/8=; b=FybSyrSPmoS+uyGXahRp9MeQvP2tg5W1kZWBGqCYAknzIxYD0lV5f4M/9AGZ6xBrFx /1FTDam5UQQ5d4owu531guxbqic2mpreRtYshKaM8WaiFOhBGF1r8Da2o6UZrz9Z9qRh QJwUJjejlBs97h6+GIHmZ7aKu7Ivp3/+L8heOLFj5sxCd7ubszMgGIHqOaN3pfVXtNKj Z39Ht7cz5o6fyqpUcwGjmhOCnLDLCqKzUEvi2EpATkL3omq97sHhwDSUsrgFSfLxQfBa U+SCppFCUPUWNkuz2Od0cok/4k6ndJ2Dksl3B1UB5/nhvWjSUC1DJfPnbT/p3cI2Hf+i lWYg== X-Gm-Message-State: AHYfb5g/cMyZPlA9Ahe1uqpV/XWhANqlYuIlSh62/p6QQabBtSItkvPN 2Qc94n8dhP/dURJIp7yTwpkl0R0gjw== X-Received: by 10.202.49.134 with SMTP id x128mr13766501oix.18.1503103265574; Fri, 18 Aug 2017 17:41:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.18.129 with HTTP; Fri, 18 Aug 2017 17:41:04 -0700 (PDT) In-Reply-To: <877ey0mr3a.fsf@lolita> References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> <87vally76l.fsf@users.sourceforge.net> <877ey0mr3a.fsf@lolita> From: Noam Postavsky Date: Fri, 18 Aug 2017 20:41:04 -0400 X-Google-Sender-Auth: 7QdohzT6EwSIarkoDQTSB2eO8XI Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Fri, Aug 18, 2017 at 6:46 PM, Jo=C3=A3o T=C3=A1vora wrote: > Shall I archive the bug again or wait until someone does that > automatically? The bug is still closed, so it will archive automatically 30 days after the last response, no need for anything else I think.