From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#40865: 26.3; Electric pair mode and syntax class $ Date: Sun, 26 Apr 2020 12:18:32 +0200 Message-ID: <993210aab0f5abcac7e2e84e4289468431c5b5f5.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="52892"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) To: 40865@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 26 12:40:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSehm-000DfN-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 12:40:10 +0200 Original-Received: from localhost ([::1]:56578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSehl-0004xT-Cj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 06:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47888) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSehe-0004xK-Lc for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:40:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSehe-00045X-2r for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSehd-00045R-Nn for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSehd-00072T-LZ for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Apr 2020 10:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40865 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158789756126837 (code B ref -1); Sun, 26 Apr 2020 10:40:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2020 10:39:21 +0000 Original-Received: from localhost ([127.0.0.1]:60934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSegy-0006ya-1v for submit@debbugs.gnu.org; Sun, 26 Apr 2020 06:39:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSeMx-0006Ms-A2 for submit@debbugs.gnu.org; Sun, 26 Apr 2020 06:18:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSeMw-0002EU-LR for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:18:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSeMv-0007ly-Ue for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:18:38 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:35025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSeMv-0007ln-Fx for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 06:18:37 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id x18so16912894wrq.2 for ; Sun, 26 Apr 2020 03:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=Lddyk2sttBlqR6qZAPsL3+WuULDflEbNE9EjQcW9Op0=; b=nvaOWtcpUcxdq3ibKXSYluJbg3E+exumh7xO99SHif2ErOQDAyrUjg3naUqysce+Z8 Gme42UqKgM1j+hBCyn3JsqqKPuzu09XVTKYBhRtfOZ0VxuQgeLK45PMUTd0Ou5vX1guZ v9ayBo0S7M2Nz6n6Lkfp8eat6o4hLJD46EizTukCWfElEV6hpb9FVzhMEkZ4PmMMES4z HHKz+KEALZn+byodg0bIBLXmvzqzVHmocVmX6mR771SeWeWi9oT+oJK9AvTvOd5rkYUu 27mEWPlFyvKmsgCnWgD2BITXpgbrPY6UOVFYK/yWCKCAMg9n0Y0zt+cstZbq5luBSl5e T4XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:user-agent :mime-version:content-transfer-encoding; bh=Lddyk2sttBlqR6qZAPsL3+WuULDflEbNE9EjQcW9Op0=; b=PRk95YGW6Rke2Io+OQt8YCbdVj7OkLm/nw4uao0YjBwsqR1aLZoAFrnIGo3rOETVaN bu5okVvYA+Lr+yZ5pcRQfJ1340J/va/hUP/v6gJyu7jntP9NRp7tjZ7MSy+yyfW+Mo3N yfB4CbSAVxH7q6rJfpE5WQ6WLCgxyGye2SvKmqd1KF4vWh/+WIKqvoeoK+ySkvJimTDj t2xYI3jaz77leoeFYtKyvWVm9pyRSyQTP02+DdRCxPteFZqaqhJnWJAEDeLyjN1Ypuy+ +26j7me3vCVLe0qgB5yz4OwXIrKBL4jypRdOPjng0TjTc5j7KS2Dlk6hIgLcLvQaH3w/ ScJg== X-Gm-Message-State: AGi0PubgQME1rBqqayDeyupJlO8l8NmCKYS0JaL2eh4+E0JyjiFkpvef 9id9j+BksHGaztmSWamvXmUC7Tq6 X-Google-Smtp-Source: APiQypL75xdnRj0QWaze37WCpd1yPsa+EXh0DFcxRgVsM/2Wc+WQ3Bl/h/PvqANaldnVC2vsIj2FKw== X-Received: by 2002:a5d:464d:: with SMTP id j13mr21840249wrs.269.1587896314789; Sun, 26 Apr 2020 03:18:34 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2210:8d60:5f6d:b463:4bd5:6b76]) by smtp.gmail.com with ESMTPSA id l4sm16586379wrv.60.2020.04.26.03.18.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2020 03:18:34 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=arstoffel@gmail.com; helo=mail-wr1-x42d.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Mailman-Approved-At: Sun, 26 Apr 2020 06:39:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179056 Archived-At: Electric pair mode does not treat string quote characters and paired delimiters (syntax class "$") in the same way, but it should probably do so. For instance, in TeX mode with electric pair mode active, typing a dollar sign in the situation $a$ shold result in $a$ but instead results in $a$$$ The issue seems to be related with the function `electric-pair-skip-if-helps-balance'. In GNU Emacs 26.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.13) of 2019-12-10 built on buildhw-07.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12006000 Recent messages: Quit [2 times] Making completion list... [2 times] next-line: End of buffer Quit (New file) Making completion list... Auto-saving...done delete-backward-char: Beginning of buffer Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with- png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2 Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t electric-pair-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp wid-edit descr-text cl-extra help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib cus-start cus-load tex-mode compile shell pcomplete comint ansi-color ring elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 119197 10577) (symbols 48 34191 1) (miscs 40 85 126) (strings 32 90141 1712) (string-bytes 1 2065674) (vectors 16 16375) (vector-slots 8 917191 21162) (floats 8 65 235) (intervals 56 429 0) (buffers 992 14))