From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#26070: 26.0.50; js-mode slash insertion bug Date: Sun, 12 Mar 2017 10:23:28 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1489314312 11539 195.159.176.226 (12 Mar 2017 10:25:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2017 10:25:12 +0000 (UTC) To: 26070@debbugs.gnu.org, tom@tromey.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 12 11:25:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn0gS-0002Fi-DU for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 11:25:04 +0100 Original-Received: from localhost ([::1]:46433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn0gY-00052a-Bu for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 06:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn0gS-00052I-4I for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn0gR-0005z1-06 for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:25:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cn0gQ-0005yx-Ty for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cn0gQ-0005XX-Lh for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Mar 2017 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26070 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" , tom@tromey.com Original-Received: via spool by submit@debbugs.gnu.org id=B.148931425221215 (code B ref -1); Sun, 12 Mar 2017 10:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Mar 2017 10:24:12 +0000 Original-Received: from localhost ([127.0.0.1]:51982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn0fb-0005W7-Lc for submit@debbugs.gnu.org; Sun, 12 Mar 2017 06:24:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn0fa-0005Vt-Fs for submit@debbugs.gnu.org; Sun, 12 Mar 2017 06:24:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn0fT-0005i3-Th for submit@debbugs.gnu.org; Sun, 12 Mar 2017 06:24:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43730) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cn0fT-0005ht-QP for submit@debbugs.gnu.org; Sun, 12 Mar 2017 06:24:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn0fS-00050S-HL for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:24:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn0fR-0005fw-CA for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:24:02 -0400 Original-Received: from mail-ua0-x230.google.com ([2607:f8b0:400c:c08::230]:36050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cn0fR-0005fP-7S for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 06:24:01 -0400 Original-Received: by mail-ua0-x230.google.com with SMTP id 72so139739979uaf.3 for ; Sun, 12 Mar 2017 03:23:59 -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=Lwvzdrr2FJyfiamCXbguvXLMJ2TKv4VtFa3iZIekkHU=; b=nyfQX0Z6d74vfINp+aEOyAxsUHQFoHrR4wA/tkPiuyricjMpHg4N1LmExdWRRkm39R 5irYVOXNUxX+8EMDc8lz/DQCeK2kz8k0Nls7JGJI5falSMxoecECJQvoY4Bv8/gIo+C8 83bLQsC2oaVzu7I4mJtBXOe2C510oqjZGjfBE2uftp4hIf8GnzQrl0M2rB3Tc22X9Wgv URrlESGG+iAeDu5OdmliqFMswyzJ5XVt48GhQsb5ycXdcu+ifWiuIGqd4wcfKpNzRNwx QOztBNTcLtzg5dBgDJtuckl7ha+aUnVeSgYitdVaIC2SpHkWVHMyHIJHYWD75+gbVYlQ BzSg== 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=Lwvzdrr2FJyfiamCXbguvXLMJ2TKv4VtFa3iZIekkHU=; b=WbEHC6pEUwWhuy/YNoiu8x+VTZe5HvD9Gtf6Mv9rCX9BWDhv/jtFw7HlIhWYvWobXT VcXrLvWkCanXE51XoNHqd/R9QM4PK36wx//ZEBHKUInwcWRd3CLIPHIu+Vx8D0OPLuxf +zHNPOrgj+IIcjU15uKYAFckKaM5/rGnaZh8Kjpd332aV2uofUHyzZLNyHlQ/3BUnb4/ D5+7vSDIyqDHUzf4XtmNwkYgAwQgwgnVIKyuSTU25cnIKHZB0iPC1n4EGOE7kZ/h9dlm nmMHUwy+JbL1jwT5/D8nt/ifGFKTAuegIi66FVGIYJL3ft+/d/NXkTpKjsSKlDHzL9Fp vapQ== X-Gm-Message-State: AMke39lvRJrKpsdwWwqnFXZHu2g1gQ2kIAZHP1RyaDRr9I8EQfZnt0q0OwC2B7FRUtTRKLIvtFZUXvlHLhiy8w== X-Received: by 10.176.82.8 with SMTP id i8mr12101448uaa.77.1489314238938; Sun, 12 Mar 2017 03:23:58 -0700 (PDT) Original-Received: by 10.176.71.214 with HTTP; Sun, 12 Mar 2017 03:23:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130509 Archived-At: After inserting a slash before other text in a js-mode buffer, typing more characters has no effect, until you type C-g to quit. Recipe to reproduce from 'emacs -Q': M-x js-mode RET x ;; inserts "x" C-b ;; backward char / ;; inserts "/" x ;; --- no effect! --- C-g ;; quit I couldn't see what code is running, because C-g doesn't enter the debugger in this situation even when debug-on-quit is true, but I bisected it to this commit: commit 862d6438cfa6c6c035033697751f3d002357b024 Author: Tom Tromey Date: Sun Feb 5 11:40:18 2017 -0700 Recognize JS regexp literals more correctly In GNU Emacs 26.0.50 (build 6, x86_64-w64-mingw32) of 2017-03-12 built on MACHINE Repository revision: 026c2cbf354fab138a65ad7093f17fbb23edb23c Windowing system distributor 'Microsoft Corp.', version 10.0.14393 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/mingw64 --with-modules --enable-locallisppath=/c/emacs/site-lisp 'CFLAGS=-O0 -g -ggdb'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-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 puny seq byte-opt subr-x gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu 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 time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 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 w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 99056 6862) (symbols 56 20091 1) (miscs 48 48 87) (strings 32 19084 4910) (string-bytes 1 584358) (vectors 16 14743) (vector-slots 8 478865 4018) (floats 8 54 62) (intervals 56 230 0) (buffers 976 11))