From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Taylor Venable Newsgroups: gmane.emacs.bugs Subject: bug#19399: 24.4; fill-paragraph always errors on second slash of // in js-mode Date: Wed, 17 Dec 2014 14:41:24 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bea3a342f1445050a6ea95e X-Trace: ger.gmane.org 1418847026 14232 80.91.229.3 (17 Dec 2014 20:10:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2014 20:10:26 +0000 (UTC) To: 19399@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 21:10:20 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 1Y1KvG-00054q-NB for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2014 21:10:14 +0100 Original-Received: from localhost ([::1]:51383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1KvF-0007tU-Ox for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2014 15:10:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Kv7-0007sf-9I for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 15:10:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1Kv5-0004UC-9r for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 15:10:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Kv5-0004Tr-5X for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 15:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y1Kv4-0004mQ-Qt for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 15:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Taylor Venable Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Dec 2014 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141884695918313 (code B ref -1); Wed, 17 Dec 2014 20:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Dec 2014 20:09:19 +0000 Original-Received: from localhost ([127.0.0.1]:49287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1KuM-0004lI-99 for submit@debbugs.gnu.org; Wed, 17 Dec 2014 15:09:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47319) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1KTW-00044i-SX for submit@debbugs.gnu.org; Wed, 17 Dec 2014 14:41:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1KTU-0000B9-Qr for submit@debbugs.gnu.org; Wed, 17 Dec 2014 14:41:34 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:44974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1KTU-0000B5-O2 for submit@debbugs.gnu.org; Wed, 17 Dec 2014 14:41:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1KTQ-0002oO-7N for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 14:41:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1KTN-00008z-Ol for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 14:41:28 -0500 Original-Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:64010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1KTN-00008o-I8 for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2014 14:41:25 -0500 Original-Received: by mail-qa0-f41.google.com with SMTP id f12so11742293qad.0 for ; Wed, 17 Dec 2014 11:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=rpbLzYRNbwLXe6T+CRPX1cdzgKZ4mxO4A+RgwDHLB8I=; b=QRiV9KfsM/eUptquAvkfdiGyUNqjIQUyzTPg35uRWRYRNjGbJAfxiBGFI2IeqRS7js PaAKjPvA8xIeE2GJdKSxgXvzNkNGcErI2/UJGe0rYkldoP83usDTV7vMuQKYsJXWQ/s2 7ZLm/PKJ0xJJV5memoXCIwXH89BboFtVAsGKS1KyI+fBe8iHrAVTlBhNFMvbDIt0w0XJ yjfDnf+jdiAZT+rXH02/lqA7SrxK4VN7P8yEq2OOGGMkZNx3lWuW7EQaHsgzw/mCKt22 bJLccfT0Fov1qYvAlZ+76s/pfAmkX8Q5k0rUDDCMrwo8LUgpTK5cRid8HlhRzzp9DGfL Wl+w== X-Received: by 10.224.114.81 with SMTP id d17mr78383630qaq.27.1418845284666; Wed, 17 Dec 2014 11:41:24 -0800 (PST) Original-Received: by 10.140.20.119 with HTTP; Wed, 17 Dec 2014 11:41:24 -0800 (PST) X-Google-Sender-Auth: 6tEZ7BbVTLI2Qm0VNOZE5Z49Bk4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 17 Dec 2014 15:09:16 -0500 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:97467 Archived-At: --047d7bea3a342f1445050a6ea95e Content-Type: text/plain; charset=UTF-8 #1 Visit a file: C-x C-f test.js #2 Type this line: // emacs #3 Put the cursor on the second slash and type M-q (fill-paragraph) #4 Get an error: Wrong type argument: stringp, nil Here's the debugger backtrace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) c-literal-limits(nil t) c-mask-paragraph(t nil fill-paragraph nil) c-fill-paragraph(nil) js-c-fill-paragraph(nil) fill-paragraph(nil t) call-interactively(fill-paragraph nil nil) command-execute(fill-paragraph) Thanks for your time. In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3) of 2014-10-21 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11602000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_COLLATE: POSIX value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Javascript Minor modes in effect: tooltip-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 Recent input: C-x C-f t e s t . j s M-q Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. c-literal-limits: Wrong type argument: stringp, nil Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils js advice help-fns byte-opt bytecomp byte-compile cconv json imenu thingatpt cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-date tooltip 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 lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 99799 9585) (symbols 48 20607 0) (miscs 40 38 135) (strings 32 18066 4471) (string-bytes 1 618611) (vectors 16 12570) (vector-slots 8 422502 3583) (floats 8 64 268) (intervals 56 197 0) (buffers 960 12) (heap 1024 40578 947)) --047d7bea3a342f1445050a6ea95e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
#1 Visit a file: C-x C-f test.js
#2 Type this line: // = emacs
#3 Put the cursor on the second slash and type M-q (fill-paragraph= )
#4 Get an error: Wrong type argument: stringp, nil

Here's t= he debugger backtrace:

Debugger entered--Lisp error: (wrong-type-arg= ument stringp nil)
=C2=A0 looking-at(nil)
=C2=A0 c-literal-limits(nil= t)
=C2=A0 c-mask-paragraph(t nil fill-paragraph nil)
=C2=A0 c-fill-p= aragraph(nil)
=C2=A0 js-c-fill-paragraph(nil)
=C2=A0 fill-paragraph(n= il t)
=C2=A0 call-interactively(fill-paragraph nil nil)
=C2=A0 comman= d-execute(fill-paragraph)

Thanks for your time.



In GN= U Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3)
=C2=A0of = 2014-10-21 on bitzer.hoetzel.info
Windowing system distributor `The X.Org Foundation', version 11.0.= 11602000
System Description: =C2=A0 =C2=A0Arch Linux

Configured u= sing:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir= =3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-= xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fsta= ck-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4' CPPFLAGS=3D= -D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,= -z,relro'

Important settings:
=C2=A0 value of $LC_COLLATE: PO= SIX
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: u= tf-8-unix

Major mode: Javascript

Minor modes in effect:
= =C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wh= eel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0= file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font= -lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mod= e: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent= input:
C-x C-f t e s t . j s <return> <right> M-q <help-= echo>
<help-echo> <help-echo> <help-echo> <help-= echo> <help-echo>
<help-echo> <menu-bar> <help-m= enu> <send-emacs-bug
-report>

Recent messages:
For in= formation about GNU Emacs and the GNU system, type C-h C-a.
c-literal-li= mits: Wrong type argument: stringp, nil

Load-path shadows:
None f= ound.

Features:
(shadow sort gnus-util mail-extr emacsbug message= format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse= rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-d= rums mm-util
mail-prsvr mail-utils js advice help-fns byte-opt bytecomp = byte-compile
cconv json imenu thingatpt cc-mode cc-fonts easymenu cc-gue= ss cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-da= te tooltip
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
lisp-mode prog-mode register page menu-bar rfn-eshadow timer = select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core fra= me cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet l= ao
korean japanese hebrew greek romanian slovak czech european ethiopic<= br>indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simpleabbrev minibuffer nadvice loaddefs button faces cus-face macroexp filestext-properties overlay sha1 md5 base64 format env code-pages mule
cust= om widget hashtable-print-readable backquote make-network-process
dbusbi= nd gfilenotify dynamic-setting system-font-setting
font-render-setting m= ove-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
= ((conses 16 99799 9585)
=C2=A0(symbols 48 20607 0)
=C2=A0(miscs 40 38= 135)
=C2=A0(strings 32 18066 4471)
=C2=A0(string-bytes 1 618611)
= =C2=A0(vectors 16 12570)
=C2=A0(vector-slots 8 422502 3583)
=C2=A0(fl= oats 8 64 268)
=C2=A0(intervals 56 197 0)
=C2=A0(buffers 960 12)
= =C2=A0(heap 1024 40578 947))
--047d7bea3a342f1445050a6ea95e--