From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Hanchrow Subject: bug#21705: 25.0.50; error while entering trivial Python program Date: Mon, 19 Oct 2015 00:23:23 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d94e7d0d76105226a27d5 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyFB-00034r-Bj for bug-guix@gnu.org; Sun, 18 Oct 2015 20:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnyF9-0000Ob-8N for bug-guix@gnu.org; Sun, 18 Oct 2015 20:24:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyF9-0000OX-4W for bug-guix@gnu.org; Sun, 18 Oct 2015 20:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZnyF8-0004L2-P2 for bug-guix@gnu.org; Sun, 18 Oct 2015 20:24:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyEi-00034O-IR for bug-guix@gnu.org; Sun, 18 Oct 2015 20:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnyEg-0000LZ-Kh for bug-guix@gnu.org; Sun, 18 Oct 2015 20:23:36 -0400 Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:38329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyEg-0000LU-E0 for bug-guix@gnu.org; Sun, 18 Oct 2015 20:23:34 -0400 Received: by igbdj2 with SMTP id dj2so46571791igb.1 for ; Sun, 18 Oct 2015 17:23:33 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21705@debbugs.gnu.org --047d7b5d94e7d0d76105226a27d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable C-x C-f /tmp/wat.py RET M-x toggle-debug-on-error RET x =3D [ RET That leads to this error: 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-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 25.0.50.3 (x86_64-apple-darwin15.0.0, NS appkit-1404.11 Version 10.11 (Build 15A284)) of 2015-10-14 Repository revision: e0fa4e48c9e50b662e81dcceaa41c2842af69d6c Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --with-ns' Configured features: JPEG RSVG ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: global-hl-line-mode: t pyvenv-mode: t projectile-global-mode: t projectile-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t recentf-mode: t diff-auto-refine-mode: t ido-everywhere: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-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: guile is /usr/local/bin/guile Making completion list... [2 times] Starting Geiser REPL for guile ... There is no ElDoc support in this buffer Starting Geiser REPL for guile ... [2 times] Guile REPL up and running! Truncate long lines enabled Mark set (New file) Can=E2=80=99t guess python-indent-offset, using defaults: 4 python-indent--calculate-indentation: Wrong type argument: number-or-marker-p, nil Load-path shadows: /Users/erichanchrow/.emacs.d/elpa/shorten-20150306.517/shorten hides /Users/erichanchrow/.emacs.d/elpa/tracking-20150724.1403/shorten Features: (shadow mail-extr emacsbug sendmail geiser-mode geiser-xref geiser-chicken geiser-racket geiser-guile info-look geiser geiser-repl geiser-image geiser-compile geiser-debug geiser-company geiser-doc geiser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval geiser-connection tq geiser-syntax scheme geiser-log geiser-popup view geiser-impl geiser-custom geiser-base vc-mtn vc-hg vc-dir ewoc js imenu ix grapnel apropos github-browse-file url-handlers magit-extras sort tabify org-table cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ag s ucs-normalize compare-w pulse rect find-dired face-remap ruby-mode network-stream nsm starttls url-http tls url-gw url-auth gravatar url-cache org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs wdired sh-script smie executable dired-aux ffap markdown-mode noutline outline conf-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs git-rebase linum dabbrev tramp-cache vc vc-dispatcher warnings company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb pcmpl-unix misearch multi-isearch hl-line elisp-slime-nav bookmark twb-find-dired edit-list pp yasnippet highlight-indentation flymake company elpy pyvenv elpy-refactor python json files-x etags xref project cus-edit cus-start cus-load eww mm-url gnus gnus-ems nnheader url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap shr dom subr-x browse-url projectile thingatpt magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-process magit-popup derived magit-mode magit-git crm magit-section magit-utils git-commit log-edit message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat auth-source cl-seq gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec advice server dash ws-butler ssh recentf tree-widget wid-edit vc-git diff-mode ibuf-ext ibuffer ibuf-macs dired-x dired ido seq grep compile comint ansi-color ring find-func rx edmacro kmacro use-package diminish cl bind-key easy-mmode finder-inf eieio byte-opt bytecomp byte-compile cl-extra help-mode cconv eieio-core cl-macs gv cl-loaddefs pcase cl-lib go-mode-autoloads info package easymenu epg-config time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 603861 145246) (symbols 48 58194 0) (miscs 40 537 1476) (strings 32 140250 14471) (string-bytes 1 3982516) (vectors 16 71456) (vector-slots 8 1756014 58978) (floats 8 490 1828) (intervals 56 11645 5482) (buffers 976 49)) --047d7b5d94e7d0d76105226a27d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2=A0 =C2=A0 C-x C-f /tmp/wat.py RET
= =C2=A0 =C2=A0 M-x toggle-debug-on-error RET
=C2=A0 =C2=A0 x =3D [= RET

That leads to this error:

=C2=A0 =C2=A0 Debugger entered--Lisp error: (wrong-type-argument numb= er-or-marker-p nil)
=C2=A0 =C2=A0 =C2=A0 python-indent-context()<= /div>
=C2=A0 =C2=A0 =C2=A0 python-indent--calculate-indentation()
=
=C2=A0 =C2=A0 =C2=A0 python-indent-calculate-indentation(nil)
=C2=A0 =C2=A0 =C2=A0 python-indent-line(nil)
=C2=A0 =C2=A0 =C2= =A0 python-indent-line-function()
=C2=A0 =C2=A0 =C2=A0 indent-acc= ording-to-mode()
=C2=A0 =C2=A0 =C2=A0 electric-indent-post-self-i= nsert-function()
=C2=A0 =C2=A0 =C2=A0 self-insert-command(1)
=C2=A0 =C2=A0 =C2=A0 newline(nil 1)
=C2=A0 =C2=A0 =C2=A0 fu= ncall-interactively(newline nil 1)
=C2=A0 =C2=A0 =C2=A0 call-inte= ractively(newline nil nil)
=C2=A0 =C2=A0 =C2=A0 command-execute(n= ewline)



In GNU Emacs= 25.0.50.3 (x86_64-apple-darwin15.0.0, NS appkit-1404.11 Version 10.11 (Bui= ld 15A284))
=C2=A0of 2015-10-14
Repository revision: e0= fa4e48c9e50b662e81dcceaa41c2842af69d6c
Windowing system distribut= or 'Apple', version 10.3.1404
Configured using:
=C2=A0'configure --with-ns'

Configured fe= atures:
JPEG RSVG ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
=C2=A0 locale-coding-system= : utf-8-unix

Major mode: Text

=
Minor modes in effect:
=C2=A0 global-hl-line-mode: t
=C2=A0 pyvenv-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 projectile-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 shell-dirtrac= k-mode: t
=C2=A0 recentf-mode: t
=C2=A0 diff-auto-refin= e-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 override-glob= al-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-m= ode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file-name-shad= ow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-= lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-co= mposition-mode: 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 messages:
guile is /usr/local/bin/guile
Making completion list... [2= times]
Starting Geiser REPL for guile ...
There is no = ElDoc support in this buffer
Starting Geiser REPL for guile ... [= 2 times]
Guile REPL up and running!
Truncate long lines= enabled
Mark set
(New file)
Can=E2=80=99t gu= ess python-indent-offset, using defaults: 4
python-indent--calcul= ate-indentation: Wrong type argument: number-or-marker-p, nil
Load-path shadows:
/Users/erichanchrow/.emacs.d/elpa/= shorten-20150306.517/shorten hides /Users/erichanchrow/.emacs.d/elpa/tracki= ng-20150724.1403/shorten

Features:
(shad= ow mail-extr emacsbug sendmail geiser-mode geiser-xref
geiser-chi= cken geiser-racket geiser-guile info-look geiser geiser-repl
geis= er-image geiser-compile geiser-debug geiser-company geiser-doc
ge= iser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval
geiser-connection tq geiser-syntax scheme geiser-log geiser-popup view
geiser-impl geiser-custom geiser-base vc-mtn vc-hg vc-dir ewoc js i= menu
ix grapnel apropos github-browse-file url-handlers magit-ext= ras sort
tabify org-table cc-mode cc-fonts cc-guess cc-menus cc-c= mds cc-styles
cc-align cc-engine cc-vars cc-defs ag s ucs-normali= ze compare-w pulse
rect find-dired face-remap ruby-mode network-s= tream nsm starttls
url-http tls url-gw url-auth gravatar url-cach= e org-element org-rmail
org-mhe org-irc org-info org-gnus org-doc= view doc-view jka-compr
image-mode org-bibtex bibtex org-bbdb org= -w3m org org-macro org-footnote
org-pcomplete org-list org-faces = org-entities org-version ob-emacs-lisp
ob ob-tangle ob-ref ob-lob= ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-co= mpat org-macs org-loaddefs cal-menu calendar
cal-loaddefs wdired = sh-script smie executable dired-aux ffap
markdown-mode noutline o= utline conf-mode vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs git-r= ebase linum dabbrev tramp-cache vc vc-dispatcher
warnings company= -files company-oddmuse company-keywords company-etags
company-gta= gs company-dabbrev-code company-dabbrev company-cmake
company-xco= de company-clang company-eclim company-template company-css
compa= ny-nxml company-bbdb pcmpl-unix misearch multi-isearch hl-line
el= isp-slime-nav bookmark twb-find-dired edit-list pp yasnippet
high= light-indentation flymake company elpy pyvenv elpy-refactor python
json files-x etags xref project cus-edit cus-start cus-load eww mm-url
gnus gnus-ems nnheader url-queue url url-proxy url-privacy url-expa= nd
url-methods url-history url-cookie url-domsuf url-util url-par= se
url-vars mailcap shr dom subr-x browse-url projectile thingatp= t
magit-blame magit-stash magit-bisect magit-remote magit-commit<= /div>
magit-sequence magit magit-apply magit-wip magit-log magit-diff
smerge-mode magit-core magit-process magit-popup derived magit-mod= e
magit-git crm magit-section magit-utils git-commit log-edit mes= sage
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse = rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-util= s mailheader
pcvs-util add-log with-editor async-bytecomp async t= ramp-sh tramp
tramp-compat auth-source cl-seq gnus-util mm-util h= elp-fns mail-prsvr
password-cache tramp-loaddefs trampver shell p= complete format-spec
advice server dash ws-butler ssh recentf tre= e-widget wid-edit vc-git
diff-mode ibuf-ext ibuffer ibuf-macs dir= ed-x dired ido seq grep compile
comint ansi-color ring find-func = rx edmacro kmacro use-package diminish
cl bind-key easy-mmode fin= der-inf eieio byte-opt bytecomp byte-compile
cl-extra help-mode c= conv eieio-core cl-macs gv cl-loaddefs pcase cl-lib
go-mode-autol= oads info package easymenu epg-config time-date mule-util
tooltip= eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwhe= el ns-win term/common-win tool-bar dnd fontset image regexp-opt
f= ringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech europ= ean
ethiopic indian cyrillic chinese charscript case-table epa-ho= ok
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvi= ce
loaddefs button faces cus-face macroexp files text-properties = overlay
sha1 md5 base64 format env code-pages mule custom widget<= /div>
hashtable-print-readable backquote cocoa ns multi-tty
m= ake-network-process emacs)

Memory information:
((conses 16 603861 145246)
=C2=A0(symbols 48 58194 0)
=C2=A0(miscs 40 537 1476)
=C2=A0(strings 32 140250 14471)
=C2=A0(string-bytes 1 3982516)
=C2=A0(vectors 16 71456)<= /div>
=C2=A0(vector-slots 8 1756014 58978)
=C2=A0(floats 8 49= 0 1828)
=C2=A0(intervals 56 11645 5482)
=C2=A0(buffers = 976 49))

--047d7b5d94e7d0d76105226a27d5--