From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19356: electric-pair-mode painful quotes in latex-mode Date: Thu, 11 Dec 2014 21:57:05 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418358089 615 80.91.229.3 (12 Dec 2014 04:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 04:21:29 +0000 (UTC) Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: 19356@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 05:21:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzHjE-0004QP-PU for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2014 05:21:21 +0100 Original-Received: from localhost ([::1]:55427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzHjD-0007mH-TV for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 23:21:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzHj4-0007mB-2x for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 23:21:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzHiw-0002Ln-OB for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 23:21:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzHiw-0002Lh-Km for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 23:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzHiw-0000oK-1y; Thu, 11 Dec 2014 23:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: joaotavora@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Dec 2014 04:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19356 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Received: via spool by submit@debbugs.gnu.org id=B.14183580263042 (code B ref -1); Fri, 12 Dec 2014 04:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2014 04:20:26 +0000 Original-Received: from localhost ([127.0.0.1]:43430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzHiL-0000n0-Cg for submit@debbugs.gnu.org; Thu, 11 Dec 2014 23:20:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzHiH-0000mi-W6 for submit@debbugs.gnu.org; Thu, 11 Dec 2014 23:20:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzHi5-00010D-Ae for submit@debbugs.gnu.org; Thu, 11 Dec 2014 23:20:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzHi5-000100-8L for submit@debbugs.gnu.org; Thu, 11 Dec 2014 23:20:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzHhy-0007fh-Ln for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 23:20:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzHhs-0000UP-B4 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 23:20:02 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:8024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzGPk-0005hk-Ak for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 21:57:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQOAOwQflTO+ILA/2dsb2JhbABbgwcBITBZgjW0UwGPYxgFAoYhBIEoFwEBAQEBAXyEXxMBSw8EIQEcDVWIIrBBpkSQHgEBboIcD0SBQQWLAYU6iQyDe5FtgXiCAgQcgXchMIENgToBAQE X-IPAS-Result: AsQOAOwQflTO+ILA/2dsb2JhbABbgwcBITBZgjW0UwGPYxgFAoYhBIEoFwEBAQEBAXyEXxMBSw8EIQEcDVWIIrBBpkSQHgEBboIcD0SBQQWLAYU6iQyDe5FtgXiCAgQcgXchMIENgToBAQE X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="100245740" Original-Received: from 206-248-130-192.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Dec 2014 21:57:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 82A072ED4; Thu, 11 Dec 2014 21:57:06 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97249 Archived-At: Package: Emacs Version: 24.4 ./src/emacs -Q -f electric-pair-mode ~/tmp/foo.tex then type a word, go back to before this word and try: C-M-SPC " this will not surround the word in quotes as electric-pair-mode should. Similarly, type hello " " Notice how the second " inserts `""' instead of just modifying the '' into a single ". This same problem happens before a word. Stefan In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-12-10 on pastel Repository revision: 30075cf7025c17542f23610de1b54d84bbde192b Windowing system distributor `The X.Org Foundation', version 11.0.11601901 System Description: Debian GNU/Linux 8.0 (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign' PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND GPM DBUS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: Loading /home/monnier/src/elisp/ProofGeneral/generic/proof-site.el (source)...done Loading /home/monnier/etc/emacs/X11.el (source)...done Loading /home/monnier/etc/emacs/custom.el (source)...done Warning: turn-on-eldoc-mode is obsolete! Ispell-kill: nil american Starting new Ispell process /usr/bin/aspell with american dictionary... For information about GNU Emacs and the GNU system, type C-h C-a. is undefined [2 times] Quit funcall-interactively: End of buffer Load-path shadows: /home/monnier/src/emacs/elpa/packages/ada-mode/ada-ref-man hides /home/monnier/src/emacs/elpa/packages/ada-ref-man/ada-ref-man /home/monnier/src/emacs/elpa/packages/ada-mode/ada-prj hides /home/monnier/src/emacs/work/lisp/progmodes/ada-prj /home/monnier/src/emacs/elpa/packages/ada-mode/ada-stmt hides /home/monnier/src/emacs/work/lisp/progmodes/ada-stmt /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/work/lisp/progmodes/ada-mode /home/monnier/src/emacs/elpa/packages/ada-mode/ada-xref hides /home/monnier/src/emacs/work/lisp/progmodes/ada-xref /home/monnier/src/emacs/elpa/packages/crisp/crisp hides /home/monnier/src/emacs/work/lisp/obsolete/crisp Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils server noutline outline easy-mmode flyspell ispell checkdoc thingatpt help-mode load-dir elec-pair url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util time-date mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs cl gv pg-vars savehist minibuf-eldef disp-table finder-inf edmacro kmacro cl-loaddefs cl-lib advice help-fns info easymenu package epg-config bbdb-autoloads agda2 vm-autoloads tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-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 font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 8 127506 20873) (symbols 24 21454 0) (miscs 20 1455 173) (strings 16 36084 3039) (string-bytes 1 1186490) (vectors 8 17258) (vector-slots 4 478789 3036) (floats 8 107 266) (intervals 28 285 0) (buffers 520 11) (heap 1024 8693 640))