From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dixon Ryan (ETAS/ERS-PD2)" Newsgroups: gmane.emacs.bugs Subject: bug#21762: 24.5; python.el indentation error Date: Mon, 26 Oct 2015 12:00:04 +0000 Message-ID: <500758cc17b5439597082f0f9214972f@FE-MBX1012.de.bosch.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_500758cc17b5439597082f0f9214972fFEMBX1012deboschcom_" X-Trace: ger.gmane.org 1445869168 17825 80.91.229.3 (26 Oct 2015 14:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2015 14:19:28 +0000 (UTC) To: 21762@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 26 15:19:14 2015 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 1ZqicD-00053X-96 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Oct 2015 15:19:13 +0100 Original-Received: from localhost ([::1]:53264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqicC-0004HX-Hc for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Oct 2015 10:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqic6-0004Gw-Sa for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 10:19:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqic3-0000Ny-9Y for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 10:19:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqic3-0000Nu-6J for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 10:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zqic2-0008AK-Pd for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 10:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Dixon Ryan (ETAS/ERS-PD2)" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Oct 2015 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21762 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.144586910831322 (code B ref -1); Mon, 26 Oct 2015 14:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2015 14:18:28 +0000 Original-Received: from localhost ([127.0.0.1]:39285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqibT-000892-6B for submit@debbugs.gnu.org; Mon, 26 Oct 2015 10:18:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50580) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqgXH-0004sQ-FV for submit@debbugs.gnu.org; Mon, 26 Oct 2015 08:06:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqgXC-0005VH-OP for submit@debbugs.gnu.org; Mon, 26 Oct 2015 08:05:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqgXC-0005VD-Kg for submit@debbugs.gnu.org; Mon, 26 Oct 2015 08:05:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqgXA-0005Mt-VY for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 08:05:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqgX5-0005Uf-Tx for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 08:05:52 -0400 Original-Received: from imta21.fe.bosch.de ([139.15.243.226]:20899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqgX5-0005UN-HJ for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2015 08:05:47 -0400 Original-Received: from smtp6-v.fe.bosch.de (imta24.fe.bosch.de [139.15.243.27]) by imta21.fe.bosch.de (Postfix) with ESMTP id 21A8DC0584 for ; Mon, 26 Oct 2015 13:00:17 +0100 (CET) Original-Received: from vsmta12.fe.internet.bosch.com (unknown [10.4.98.52]) by imta24.fe.bosch.de (Postfix) with ESMTP id AF502D80002 for ; Mon, 26 Oct 2015 13:00:05 +0100 (CET) Original-Received: from SI-MBX1011.de.bosch.com (vsgw23.fe.internet.bosch.com [10.4.98.23]) by vsmta12.fe.internet.bosch.com (Postfix) with ESMTP id 53A821B8046A for ; Mon, 26 Oct 2015 13:00:05 +0100 (CET) Original-Received: from FE-MBX1012.de.bosch.com (10.3.230.70) by SI-MBX1011.de.bosch.com (10.3.230.49) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 26 Oct 2015 13:00:05 +0100 Original-Received: from FE-MBX1012.de.bosch.com ([fe80::310c:6b49:1d6e:47a]) by FE-MBX1012.de.bosch.com ([fe80::310c:6b49:1d6e:47a%18]) with mapi id 15.00.1104.000; Mon, 26 Oct 2015 13:00:05 +0100 Thread-Topic: 24.5; python.el indentation error Thread-Index: AdEP5b41ZD4ImwuOQVSmye4Mfqy6eA== Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.96.173.174] X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-7.5.0.1018-21882.006 X-TMASE-MatchedRID: lNq1k11zAjpKDZlLBSf8q4TBkzbkEx2zIIZSXi8RR7OyTxBu30uushwq 5XT2PYhMcNYSUftaGULQyMBx6JGg+mmXMi7Ntyo2T7jCYv2QJPF+K68qL2G5pkENV4Lwnu7Bqxe HaPVXKIDfjUYlmDaY3kA7c8b0H7uuVQgHRSIOVBHU3m2KoscyC1o1rFkFFs1aEB0PuwJG07E8nt +B5JoJMK0Rucyv7een6ZbtSPIz0baXv2xdWsrNkovNlIrJDKnMTJDl9FKHbrn7MFtwZ+YVjpFcT 6vuGBgRM+nnsEaleMpc2ay38K8mJVN5kIZnYeEYrQBIZGCeAH7mdC4WbBxTJEdmDSBYfnJRmCCL XIa/Op2b94vVMqmn33LJRSnOD5xWkai/l9R8UmHpjshNT1fCCsuQh+S+h5trLsN5f1CPVxSRuF5 0328X9q6pilDpNEsvGcqRvuFMKK0c3SvWQfKYQNtkEpZdBqoN4HDFr9EO5+IwplGJ7NxS09O69X jPkf2X1Xg9UQMknQOvxSlbcA6wU1+Oee9yZTmg/Sl5cYQQGW+DddlymG7iS0rRZP/NcCCSizrFp WHTBvcEdWbTGHnxVjwu4/5s6Qxa3eMXZ9Vw93MMH4SsGvRsA1qvZZ9/gpIhpRezBf/GshJo4tOB Mzo2OO+6vWQCjRtKlET/T7VXa5sOVaHFOAhc6tsfxZpQv2qMtPGelsKOu4ijnkp/HAlLXORqQAx bWD9+4vM1YF6AJbZO+3uGNcav9/rSLxk84zj9sjvNV98mpPPPBLy73m0nOmEwBq2Ub/JNO23nXn hp0U82xFbbUdSCem85QNQuGSmbOcoWBtnIofAG7huBoz3O/A70as 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-Mailman-Approved-At: Mon, 26 Oct 2015 10:18:19 -0400 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108044 Archived-At: --_000_500758cc17b5439597082f0f9214972fFEMBX1012deboschcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =3D=3D=3D Steps =3D=3D=3D i. I downloaded http://ftp.gnu.org/gnu/emacs/windows/emacs-24.5-bin-i686-mi= ngw32.zip. ii. I extracted zip file to temp folder; completely unmodified. iii. I opened an MSYS shell and cd'd into the temp/bin folder. iv. I ran ./emacs.exe -Q. v. I C-x C-f and call the new file temp.py vi. I type the following up UNTIL % - which represents the cursor position: import re as myre var =3D [ % vii. I then press TAB and get the minibuffer message: Wrong type argument: = number-or-marker-p, nil =3D=3D=3D END Steps =3D=3D=3D In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32' Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Python 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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit temp.py has auto save data; consider M-x recover-this-file Can't guess python-indent-offset, using defaults: 4 python-indent--calculate-indentation: Wrong type argument: number-or-marker= -p, nil [2 times] Quit Making completion list... [2 times] 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 help-mode help-fns python easymenu json comint ring cl-loaddefs cl-lib ansi-color 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 82235 6215) (symbols 32 18449 0) (miscs 32 37 107) (strings 16 13853 3976) (string-bytes 1 388853) (vectors 8 10917) (vector-slots 4 395071 4878) (floats 8 59 257) (intervals 28 216 41) (buffers 508 13)) Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) python-indent-context() python-indent--calculate-indentation() python-indent-calculate-indentation(nil) python-indent-line(nil) python-indent-line-function() indent-for-tab-command(nil) call-interactively(indent-for-tab-command nil nil) command-execute(indent-for-tab-command) --_000_500758cc17b5439597082f0f9214972fFEMBX1012deboschcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

=3D=3D=3D Steps =3D=3D=3D

i. I downloaded http://ftp.gnu.org/gnu/emacs/windows= /emacs-24.5-bin-i686-mingw32.zip.

ii. I extracted zip file to temp folder; completely = unmodified.

iii. I opened an MSYS shell and cd'd into the temp/b= in folder.

iv. I ran ./emacs.exe -Q.

v. I C-x C-f and call the new file temp.py

vi. I type the following up UNTIL % - which represen= ts the cursor position:

import re as myre

var =3D [

%

vii. I then press TAB and get the minibuffer message= : Wrong type argument: number-or-marker-p, nil

=3D=3D=3D END Steps =3D=3D=3D

 

In GNU Emacs 24.5.1 (i686-pc-mingw32)

of 2015-04-11 on LEG570

Windowing system distributor `Microsoft Corp.', vers= ion 6.1.7601

Configured using:

`configure --prefix=3D/c/usr --host=3Di686-pc-mingw3= 2'

 

Important settings:

  value of $LANG: ENG

  locale-coding-system: cp1252

 

Major mode: Python

 

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 messages:

For information about GNU Emacs and the GNU system, = type C-h C-a.

Quit

temp.py has auto save data; consider M-x recover-thi= s-file

Can't guess python-indent-offset, using defaults: 4<= o:p>

python-indent--calculate-indentation: Wrong type arg= ument: number-or-marker-p, nil [2 times]

Quit

Making completion list... [2 times]

 

Load-path shadows:

None found.

 

Features:

(shadow sort gnus-util mail-extr emacsbug message fo= rmat-spec rfc822 mml

mml-sec mm-decode mm-bodies mm-encode mail-parse rfc= 2231 mailabbrev

gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-d= rums mm-util

mail-prsvr mail-utils help-mode help-fns python easy= menu json comint

ring cl-loaddefs cl-lib ansi-color time-date tooltip= electric uniquify

ediff-hook vc-hooks lisp-float-type mwheel dos-w32 l= s-lisp

w32-common-fns disp-table w32-win w32-vars tool-bar = dnd fontset image

regexp-opt fringe tabulated-list newcomment lisp-mod= e prog-mode register

page menu-bar rfn-eshadow timer select scroll-bar mo= use jit-lock

font-lock syntax facemenu font-core frame cham georg= ian utf-8-lang

misc-lang vietnamese tibetan thai tai-viet lao korea= n 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-p= roperties overlay

sha1 md5 base64 format env code-pages mule custom wi= dget

hashtable-print-readable backquote make-network-proc= ess w32notify w32

multi-tty emacs)

 

Memory information:

((conses 8 82235 6215)

(symbols 32 18449 0)

(miscs 32 37 107)

(strings 16 13853 3976)

(string-bytes 1 388853)

(vectors 8 10917)

(vector-slots 4 395071 4878)

(floats 8 59 257)

(intervals 28 216 41)

(buffers 508 13))

 

Debugger entered--Lisp error: (wrong-type-argument n= umber-or-marker-p nil)

  python-indent-context()

  python-indent--calculate-indentation()

  python-indent-calculate-indentation(nil)=

  python-indent-line(nil)

  python-indent-line-function()

  indent-for-tab-command(nil)

  call-interactively(indent-for-tab-command nil= nil)

  command-execute(indent-for-tab-command)<= /o:p>

--_000_500758cc17b5439597082f0f9214972fFEMBX1012deboschcom_--