GNU bug report logs - #23778
24.5; python.el Wrong type argument: number-or-marker-p, nil

Previous Next

Package: emacs;

Reported by: Steven Willis <onlynone <at> gmail.com>

Date: Fri, 17 Jun 2016 02:51:01 UTC

Severity: normal

Tags: confirmed

Merged with 21708, 21762

Found in versions 24.5, 25.0.50

Fixed in version 25.1

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23778 in the body.
You can then email your comments to 23778 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23778; Package emacs. (Fri, 17 Jun 2016 02:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steven Willis <onlynone <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 17 Jun 2016 02:51:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steven Willis <onlynone <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; python.el Wrong type argument: number-or-marker-p, nil
Date: Thu, 16 Jun 2016 22:33:42 -0400
If you type 'a = [' followed by ENTER into a buffer in python mode,
you'll get the error message:

    Wrong type argument: number-or-marker-p, nil


In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0)
 of 2015-08-11 on yosemitevm.local
Configured using:
 `configure --prefix=/usr/local/Cellar/emacs/24.5
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-xml2
 --without-dbus --without-gnutls --without-x --without-ns'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-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.
test.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

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
help-fns mail-prsvr mail-utils python easymenu json comint regexp-opt
ring cl-loaddefs cl-lib ansi-color xterm time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
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
multi-tty emacs)

Memory information:
((conses 16 80490 4482)
 (symbols 48 17520 0)
 (miscs 40 34 102)
 (strings 32 12074 4201)
 (string-bytes 1 361311)
 (vectors 16 8354)
 (vector-slots 8 345768 23301)
 (floats 8 52 514)
 (intervals 56 157 0)
 (buffers 960 12))




Forcibly Merged 21708 21762 23778. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 17 Jun 2016 06:14:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 17 Jun 2016 06:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23778; Package emacs. (Fri, 17 Jun 2016 06:58:02 GMT) Full text and rfc822 format available.

Message #12 received at 23778 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Willis <onlynone <at> gmail.com>
Cc: 23778 <at> debbugs.gnu.org
Subject: Re: bug#23778: 24.5;
 python.el Wrong type argument: number-or-marker-p, nil
Date: Fri, 17 Jun 2016 09:58:06 +0300
> From: Steven Willis <onlynone <at> gmail.com>
> Date: Thu, 16 Jun 2016 22:33:42 -0400
> 
> If you type 'a = [' followed by ENTER into a buffer in python mode,
> you'll get the error message:
> 
>     Wrong type argument: number-or-marker-p, nil

I cannot reproduce this.  Please provide a more detailed recipe,
starting from "emacs -Q".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23778; Package emacs. (Fri, 17 Jun 2016 15:38:01 GMT) Full text and rfc822 format available.

Message #15 received at 23778 <at> debbugs.gnu.org (full text, mbox):

From: Steven Willis <onlynone <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23778 <at> debbugs.gnu.org
Subject: Re: bug#23778: 24.5; python.el Wrong type argument:
 number-or-marker-p, nil
Date: Fri, 17 Jun 2016 11:37:43 -0400
On Fri, Jun 17, 2016 at 2:58 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Steven Willis <onlynone <at> gmail.com>
>> Date: Thu, 16 Jun 2016 22:33:42 -0400
>>
>> If you type 'a = [' followed by ENTER into a buffer in python mode,
>> you'll get the error message:
>>
>>     Wrong type argument: number-or-marker-p, nil
>
> I cannot reproduce this.  Please provide a more detailed recipe,
> starting from "emacs -Q".

The error was with 'emacs -Q'.

1. Start emacs with: 'emacs -Q test.py'
2. Type 'a = ['
3. Hit enter

What happens: See "Wrong type argument: number-or-marker-p, nil" at
the bottom of the screen and the cursor on line 2 at column 0.
What I expected: No errors, and cursor on line 2 at column 4.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23778; Package emacs. (Fri, 17 Jun 2016 15:45:01 GMT) Full text and rfc822 format available.

Message #18 received at 23778 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23778 <at> debbugs.gnu.org, Steven Willis <onlynone <at> gmail.com>
Subject: Re: bug#23778: 24.5;
 python.el Wrong type argument: number-or-marker-p, nil
Date: Fri, 17 Jun 2016 11:44:00 -0400
Dupe of already fixed http://debbugs.gnu.org/21762




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23778; Package emacs. (Fri, 17 Jun 2016 17:10:01 GMT) Full text and rfc822 format available.

Message #21 received at 23778 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Willis <onlynone <at> gmail.com>
Cc: 23778 <at> debbugs.gnu.org
Subject: Re: bug#23778: 24.5; python.el Wrong type argument:
 number-or-marker-p, nil
Date: Fri, 17 Jun 2016 20:10:00 +0300
> From: Steven Willis <onlynone <at> gmail.com>
> Date: Fri, 17 Jun 2016 11:37:43 -0400
> Cc: 23778 <at> debbugs.gnu.org
> 
> 1. Start emacs with: 'emacs -Q test.py'
> 2. Type 'a = ['
> 3. Hit enter
> 
> What happens: See "Wrong type argument: number-or-marker-p, nil" at
> the bottom of the screen and the cursor on line 2 at column 0.
> What I expected: No errors, and cursor on line 2 at column 4.

Thanks, this is already fixed in the current development version.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Jul 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.