unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil
@ 2016-06-17  2:33 Steven Willis
  2016-06-17  6:58 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Willis @ 2016-06-17  2:33 UTC (permalink / raw)
  To: 23778

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))





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil
  2016-06-17  2:33 bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil Steven Willis
@ 2016-06-17  6:58 ` Eli Zaretskii
  2016-06-17 15:37   ` Steven Willis
  2016-06-17 15:44   ` Glenn Morris
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2016-06-17  6:58 UTC (permalink / raw)
  To: Steven Willis; +Cc: 23778

> From: Steven Willis <onlynone@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".





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil
  2016-06-17  6:58 ` Eli Zaretskii
@ 2016-06-17 15:37   ` Steven Willis
  2016-06-17 17:10     ` Eli Zaretskii
  2016-06-17 15:44   ` Glenn Morris
  1 sibling, 1 reply; 5+ messages in thread
From: Steven Willis @ 2016-06-17 15:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 23778

On Fri, Jun 17, 2016 at 2:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Steven Willis <onlynone@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil
  2016-06-17  6:58 ` Eli Zaretskii
  2016-06-17 15:37   ` Steven Willis
@ 2016-06-17 15:44   ` Glenn Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2016-06-17 15:44 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 23778, Steven Willis


Dupe of already fixed http://debbugs.gnu.org/21762





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil
  2016-06-17 15:37   ` Steven Willis
@ 2016-06-17 17:10     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2016-06-17 17:10 UTC (permalink / raw)
  To: Steven Willis; +Cc: 23778

> From: Steven Willis <onlynone@gmail.com>
> Date: Fri, 17 Jun 2016 11:37:43 -0400
> Cc: 23778@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-17 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17  2:33 bug#23778: 24.5; python.el Wrong type argument: number-or-marker-p, nil Steven Willis
2016-06-17  6:58 ` Eli Zaretskii
2016-06-17 15:37   ` Steven Willis
2016-06-17 17:10     ` Eli Zaretskii
2016-06-17 15:44   ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).