From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18764: 24.4; electric-indent in *scratch* signals an error Date: Sat, 18 Oct 2014 17:59:12 +0300 Message-ID: <83a94te85b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413644439 12462 80.91.229.3 (18 Oct 2014 15:00:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 15:00:39 +0000 (UTC) To: 18764@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 17:00:32 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 1XfVUc-0002Z8-7O for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 17:00:30 +0200 Original-Received: from localhost ([::1]:36913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVUb-0003xD-P0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 11:00:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVUM-0003x4-Jd for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 11:00:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfVUC-0005gp-Oa for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 11:00:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVUC-0005g9-M5 for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 11:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XfVUB-0007F2-UR for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 11:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Oct 2014 15:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18764 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.141364439827790 (code B ref -1); Sat, 18 Oct 2014 15:00:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Oct 2014 14:59:58 +0000 Original-Received: from localhost ([127.0.0.1]:48578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfVU4-0007E8-VB for submit@debbugs.gnu.org; Sat, 18 Oct 2014 10:59:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40983) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfVU1-0007Dz-SL for submit@debbugs.gnu.org; Sat, 18 Oct 2014 10:59:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfVTr-0005XF-Kt for submit@debbugs.gnu.org; Sat, 18 Oct 2014 10:59:53 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVTr-0005X9-IS for submit@debbugs.gnu.org; Sat, 18 Oct 2014 10:59:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVTj-0003mu-VD for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 10:59:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfVTc-0005Tq-72 for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 10:59:35 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:42359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfVTb-0005Si-Q0 for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 10:59:28 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NDN00P00A214N00@mtaout25.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 17:54:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDN00NL8AR8WT30@mtaout25.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 17:54:44 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:94733 In "emacs -Q": 1) Insert the following long sequence of left parens followed by a somewhat shorter sequence of right parens: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 2) Put cursor after the last right parenthesis, and type RET 3) Emacs signals an error: lisp-indent-line: Wrong type argument: number-or-marker-p, nil Here's the Lisp backtrace: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) calculate-lisp-indent() lisp-indent-line() indent-according-to-mode() electric-indent-post-self-insert-function() self-insert-command(1) newline(nil 1) funcall-interactively(newline nil 1) call-interactively(newline nil nil) command-execute(newline) In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-17 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr' Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction 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-/ ) C-/ ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) C-/ ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) C-/ ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ( ( ( ( ( ( ( ( ( ( ( ( ( ) ) ) ) ) ) ) ) ) ) ) C-/ ) C-/ ) C-/ ) C-y C-/ M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Undo! [4 times] Mark set Undo! [3 times] Mark set [2 times] lisp-indent-line: Wrong type argument: number-or-marker-p, nil Undo! Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars 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 w32notify w32 multi-tty emacs) Memory information: ((conses 8 74585 7049) (symbols 32 17521 0) (miscs 32 45 339) (strings 16 10814 3613) (string-bytes 1 269937) (vectors 8 9552) (vector-slots 4 385033 4696) (floats 8 58 351) (intervals 28 279 94) (buffers 508 11))