Using today's verson (3/16/12) of python-mode under Windows, I opened a python file and got the following error:
Debugger entered--Lisp error: (void-variable window-full-height-p)
(and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p)
(or (and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p) (and (eq py-split-windows-on-execute-function (quote split-window-horizontally)) window-full-width-p))
(and py-split-windows-on-execute-p (or (and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p) (and (eq py-split-windows-on-execute-function (quote split-window-horizontally)) window-full-width-p)))
(if (and py-split-windows-on-execute-p (or (and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p) (and (eq py-split-windows-on-execute-function (quote split-window-horizontally)) window-full-width-p))) (progn (funcall py-split-windows-on-execute-function)))
(when (and py-split-windows-on-execute-p (or (and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p) (and (eq py-split-windows-on-execute-function (quote split-window-horizontally)) window-full-width-p))) (funcall py-split-windows-on-execute-function))
(cond ((or (eq switch (quote switch)) (and (not (eq switch (quote noswitch))) py-shell-switch-buffers-on-execute-p)) (switch-to-buffer (current-buffer))) ((and py-split-windows-on-execute-p (or (eq switch (quote noswitch)) (not (eq switch (quote switch))))) (pop-to-buffer (current-buffer)) (delete-other-windows) (when (and py-split-windows-on-execute-p (or (and (eq py-split-windows-on-execute-function (quote split-window-vertically)) window-full-height-p) (and (eq py-split-windows-on-execute-function (quote split-window-horizontally)) window-full-width-p))) (funcall py-split-windows-on-execute-function)) (set-buffer oldbuf) (switch-to-buffer (current-buffer))))
(let* ((buffer (when argprompt (cond ((eq 4 (prefix-numeric-value argprompt)) (setq buffer (prog1 ... ...))) ((and (eq 2 ...) (fboundp ...)) (setq args (split-string ...)))))) (py-process-name (cond (buffer (if (get-process (replace-regexp-in-string "<\\([0-9]+\\)>" "" buffer)) (py-delete-numbers-and-stars-from-string buffer))) (pyshellname pyshellname) ((stringp py-shell-name) py-shell-name) ((or (string= "" py-shell-name) (null py-shell-name)) (py-choose-shell)))) (py-use-local-default (if (not (string= "" py-shell-local-path)) (expand-file-name py-shell-local-path) (when py-use-local-default (error "Abort: `py-use-local-default' is set to `t' but `py-shell-local-path' is empty. Maybe call `py-toggle-local-default-use'")))) (py-buffer-name-prepare (unless buffer (py-buffer-name-prepare py-process-name sepchar))) (py-buffer-name (or buffer py-buffer-name-prepare)) (executable (cond (buffer (downcase (replace-regexp-in-string "<\\([0-9]+\\)>" "" (replace-regexp-in-string "*" "" py-buffer-name buffer)))) (pyshellname pyshellname) (t py-shell-name)))) (py-set-shell-completion-environment executable) (if buffer (set-buffer (get-buffer-create (apply (quote make-comint-in-buffer) executable py-buffer-name executable nil args))) (set-buffer (apply (quote make-comint-in-buffer) executable py-buffer-name executable nil args))) (set (make-local-variable (quote comint-prompt-regexp)) (concat "\\(" (mapconcat (quote identity) (delq nil (list py-shell-input-prompt-1-regexp py-shell-input-prompt-2-regexp ipython-de-input-prompt-regexp ipython-de-output-prompt-regexp py-pdbtrack-input-prompt py-pydbtrack-input-prompt)) "\\|") "\\)")) (add-hook (quote comint-output-filter-functions) (quote py-comint-output-filter-function)) (setq comint-input-sender (quote py-shell-simple-send)) (setq comint-input-ring-file-name (if (or (string-match "ipython" py-buffer-name) (string-match "IPython" py-buffer-name)) (if (getenv "IPYTHONDIR") (concat (getenv "IPYTHONDIR") "/history") "~/.ipython/history") (if (getenv "PYTHONHISTORY") (concat (getenv "PYTHONHISTORY") "/" py-buffer-name "_history") (concat "~/." py-buffer-name "_history")))) (comint-read-input-ring t) (set-process-sentinel (get-buffer-process (current-buffer)) (function shell-write-history-on-exit)) (setq proc (get-buffer-process (current-buffer))) (add-hook (quote comint-output-filter-functions) (quote py-pdbtrack-track-stack-file)) (setq py-pdbtrack-do-tracking-p t) (set-syntax-table python-mode-syntax-table) (ansi-color-for-comint-mode-on) (use-local-map py-shell-map) (add-hook (quote py-shell-hook) (quote py-dirstack-hook)) (run-hooks (quote py-shell-hook)) (cond ((or (eq switch (quote switch)) (and (not (eq switch (quote noswitch))) py-shell-switch-buffers-on-execute-p)) (switch-to-buffer (current-buffer))) ((and py-split-windows-on-execute-p (or (eq switch (quote noswitch)) (not (eq switch (quote switch))))) (pop-to-buffer (current-buffer)) (delete-other-windows) (when (and py-split-windows-on-execute-p (or (and (eq py-split-windows-on-execute-function ...) window-full-height-p) (and (eq py-split-windows-on-execute-function ...) window-full-width-p))) (funcall py-split-windows-on-execute-function)) (set-buffer oldbuf) (switch-to-buffer (current-buffer)))) (goto-char (point-max)) (when (and py-verbose-p (interactive-p)) (message py-buffer-name)) proc)
(let ((sepchar (or sepchar (py-separator-char))) (args py-python-command-args) (oldbuf (current-buffer)) proc) (let* ((buffer (when argprompt (cond ((eq 4 ...) (setq buffer ...)) ((and ... ...) (setq args ...))))) (py-process-name (cond (buffer (if (get-process ...) (py-delete-numbers-and-stars-from-string buffer))) (pyshellname pyshellname) ((stringp py-shell-name) py-shell-name) ((or (string= "" py-shell-name) (null py-shell-name)) (py-choose-shell)))) (py-use-local-default (if (not (string= "" py-shell-local-path)) (expand-file-name py-shell-local-path) (when py-use-local-default (error "Abort: `py-use-local-default' is set to `t' but `py-shell-local-path' is empty. Maybe call `py-toggle-local-default-use'")))) (py-buffer-name-prepare (unless buffer (py-buffer-name-prepare py-process-name sepchar))) (py-buffer-name (or buffer py-buffer-name-prepare)) (executable (cond (buffer (downcase (replace-regexp-in-string "<\\([0-9]+\\)>" "" ...))) (pyshellname pyshellname) (t py-shell-name)))) (py-set-shell-completion-environment executable) (if buffer (set-buffer (get-buffer-create (apply (quote make-comint-in-buffer) executable py-buffer-name executable nil args))) (set-buffer (apply (quote make-comint-in-buffer) executable py-buffer-name executable nil args))) (set (make-local-variable (quote comint-prompt-regexp)) (concat "\\(" (mapconcat (quote identity) (delq nil (list py-shell-input-prompt-1-regexp py-shell-input-prompt-2-regexp ipython-de-input-prompt-regexp ipython-de-output-prompt-regexp py-pdbtrack-input-prompt py-pydbtrack-input-prompt)) "\\|") "\\)")) (add-hook (quote comint-output-filter-functions) (quote py-comint-output-filter-function)) (setq comint-input-sender (quote py-shell-simple-send)) (setq comint-input-ring-file-name (if (or (string-match "ipython" py-buffer-name) (string-match "IPython" py-buffer-name)) (if (getenv "IPYTHONDIR") (concat (getenv "IPYTHONDIR") "/history") "~/.ipython/history") (if (getenv "PYTHONHISTORY") (concat (getenv "PYTHONHISTORY") "/" py-buffer-name "_history") (concat "~/." py-buffer-name "_history")))) (comint-read-input-ring t) (set-process-sentinel (get-buffer-process (current-buffer)) (function shell-write-history-on-exit)) (setq proc (get-buffer-process (current-buffer))) (add-hook (quote comint-output-filter-functions) (quote py-pdbtrack-track-stack-file)) (setq py-pdbtrack-do-tracking-p t) (set-syntax-table python-mode-syntax-table) (ansi-color-for-comint-mode-on) (use-local-map py-shell-map) (add-hook (quote py-shell-hook) (quote py-dirstack-hook)) (run-hooks (quote py-shell-hook)) (cond ((or (eq switch (quote switch)) (and (not (eq switch ...)) py-shell-switch-buffers-on-execute-p)) (switch-to-buffer (current-buffer))) ((and py-split-windows-on-execute-p (or (eq switch (quote noswitch)) (not (eq switch ...)))) (pop-to-buffer (current-buffer)) (delete-other-windows) (when (and py-split-windows-on-execute-p (or (and ... window-full-height-p) (and ... window-full-width-p))) (funcall py-split-windows-on-execute-function)) (set-buffer oldbuf) (switch-to-buffer (current-buffer)))) (goto-char (point-max)) (when (and py-verbose-p (interactive-p)) (message py-buffer-name)) proc))
py-shell()
(save-excursion (py-shell) (set-buffer oldbuf))
(let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf)))
(if (get-process (py-process-name)) nil (let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf))))
(unless (get-process (py-process-name)) (let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf))))
(progn (window-configuration-to-register 213465879) (unless (get-process (py-process-name)) (let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf)))) (jump-to-register 213465879))
(if py-start-run-py-shell (progn (window-configuration-to-register 213465879) (unless (get-process (py-process-name)) (let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf)))) (jump-to-register 213465879)))
(when py-start-run-py-shell (window-configuration-to-register 213465879) (unless (get-process (py-process-name)) (let ((oldbuf (current-buffer))) (save-excursion (py-shell) (set-buffer oldbuf)))) (jump-to-register 213465879))
(let ((delay-mode-hooks t)) (kill-all-local-variables) (setq major-mode (quote python-mode)) (setq mode-name "Python") nil (use-local-map python-mode-map) (set-syntax-table python-mode-syntax-table) (setq local-abbrev-table python-mode-abbrev-table) (set (make-local-variable (quote font-lock-defaults)) (quote (python-font-lock-keywords nil nil nil nil (font-lock-syntactic-keywords . python-font-lock-syntactic-keywords)))) (set (make-local-variable (quote parse-sexp-lookup-properties)) t) (set (make-local-variable (quote parse-sexp-ignore-comments)) t) (set (make-local-variable (quote comment-start)) "# ") (set (make-local-variable (quote comment-start-skip)) "^[ ]*#+ *") (set (make-local-variable (quote comment-column)) 40) (set (make-local-variable (quote comment-indent-function)) (function py-comment-indent-function)) (set (make-local-variable (quote indent-region-function)) (quote py-indent-region)) (set (make-local-variable (quote indent-line-function)) (quote py-indent-line)) (set (make-local-variable (quote hs-hide-comments-when-hiding-all)) (quote py-hide-comments-when-hiding-all)) (add-to-list (quote hs-special-modes-alist) (list (quote python-mode) (concat (if py-hide-show-hide-docstrings "^\\s-*\"\"\"\\|" "") (mapconcat (quote identity) (mapcar (function (lambda ... ...)) py-hide-show-keywords) "\\|")) nil "#" (lambda (arg) (py-goto-beyond-block) (skip-chars-backward " \n")) nil)) (set (make-local-variable (quote outline-heading-end-regexp)) ":\\s-*\n") (set (make-local-variable (quote outline-level)) (function python-outline-level)) (set (make-local-variable (quote open-paren-in-column-0-is-defun-start)) nil) (set (make-local-variable (quote outline-regexp)) (concat (mapconcat (quote identity) (mapcar (function (lambda (x) (concat "^\\s-*" x "\\_>"))) py-outline-mode-keywords) "\\|"))) (set (make-local-variable (quote add-log-current-defun-function)) (quote py-current-defun)) (set (make-local-variable (quote paragraph-start)) "\\s-*$") (set (make-local-variable (quote fill-paragraph-function)) (quote py-fill-paragraph)) (set (make-local-variable (quote require-final-newline)) mode-require-final-newline) (make-local-variable (quote python-saved-check-command)) (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)) (add-hook (quote which-func-functions) (quote python-which-func) nil t) (remove-hook (quote python-mode-hook) (quote imenu-add-menubar-index)) (remove-hook (quote python-mode-hook) (lambda nil "Turn off Indent Tabs mode." (setq indent-tabs-mode nil))) (remove-hook (quote python-mode-hook) (quote python-setup-brm)) (add-hook (quote python-mode-hook) (lambda nil (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)))) (custom-add-option (quote python-mode-hook) (quote py-imenu-create-index-new)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (when (and imenu-create-index-p (fboundp (quote imenu-add-to-menubar)) (ignore-errors (require (quote imenu)))) (setq imenu-create-index-function (function py-imenu-create-index-new)) (setq imenu-generic-expression py-imenu-generic-expression) (imenu-add-to-menubar "PyIndex") (add-hook (quote python-mode-hook) imenu-create-index-function)) (set (make-local-variable (quote eldoc-documentation-function)) (function python-eldoc-function)) (add-hook (quote eldoc-mode-hook) (lambda nil (run-python nil t)) nil t) (add-hook (quote completion-at-point-functions) py-complete-function nil (quote local)) (set (make-local-variable (quote skeleton-further-elements)) (quote ((< (quote (backward-delete-char-untabify (min py-indent-offset ...)))) (^ (quote (- (1+ ...))))))) (add-hook (quote python-mode-hook) (quote (lambda nil (setq indent-tabs-mode py-indent-tabs-mode)))) (set (make-local-variable (quote tab-width)) py-indent-offset) (when py-smart-indentation (if (bobp) (save-excursion (save-restriction (widen) (while (and (not ...) (or ... ...)) (forward-line 1)) (back-to-indentation) (py-guess-indent-offset))) (py-guess-indent-offset))) (when py-load-pymacs-p (py-load-pymacs)) ...)
(progn (make-local-variable (quote delay-mode-hooks)) (let ((delay-mode-hooks t)) (kill-all-local-variables) (setq major-mode (quote python-mode)) (setq mode-name "Python") nil (use-local-map python-mode-map) (set-syntax-table python-mode-syntax-table) (setq local-abbrev-table python-mode-abbrev-table) (set (make-local-variable (quote font-lock-defaults)) (quote (python-font-lock-keywords nil nil nil nil (font-lock-syntactic-keywords . python-font-lock-syntactic-keywords)))) (set (make-local-variable (quote parse-sexp-lookup-properties)) t) (set (make-local-variable (quote parse-sexp-ignore-comments)) t) (set (make-local-variable (quote comment-start)) "# ") (set (make-local-variable (quote comment-start-skip)) "^[ ]*#+ *") (set (make-local-variable (quote comment-column)) 40) (set (make-local-variable (quote comment-indent-function)) (function py-comment-indent-function)) (set (make-local-variable (quote indent-region-function)) (quote py-indent-region)) (set (make-local-variable (quote indent-line-function)) (quote py-indent-line)) (set (make-local-variable (quote hs-hide-comments-when-hiding-all)) (quote py-hide-comments-when-hiding-all)) (add-to-list (quote hs-special-modes-alist) (list (quote python-mode) (concat (if py-hide-show-hide-docstrings "^\\s-*\"\"\"\\|" "") (mapconcat (quote identity) (mapcar (function ...) py-hide-show-keywords) "\\|")) nil "#" (lambda (arg) (py-goto-beyond-block) (skip-chars-backward " \n")) nil)) (set (make-local-variable (quote outline-heading-end-regexp)) ":\\s-*\n") (set (make-local-variable (quote outline-level)) (function python-outline-level)) (set (make-local-variable (quote open-paren-in-column-0-is-defun-start)) nil) (set (make-local-variable (quote outline-regexp)) (concat (mapconcat (quote identity) (mapcar (function (lambda ... ...)) py-outline-mode-keywords) "\\|"))) (set (make-local-variable (quote add-log-current-defun-function)) (quote py-current-defun)) (set (make-local-variable (quote paragraph-start)) "\\s-*$") (set (make-local-variable (quote fill-paragraph-function)) (quote py-fill-paragraph)) (set (make-local-variable (quote require-final-newline)) mode-require-final-newline) (make-local-variable (quote python-saved-check-command)) (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)) (add-hook (quote which-func-functions) (quote python-which-func) nil t) (remove-hook (quote python-mode-hook) (quote imenu-add-menubar-index)) (remove-hook (quote python-mode-hook) (lambda nil "Turn off Indent Tabs mode." (setq indent-tabs-mode nil))) (remove-hook (quote python-mode-hook) (quote python-setup-brm)) (add-hook (quote python-mode-hook) (lambda nil (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)))) (custom-add-option (quote python-mode-hook) (quote py-imenu-create-index-new)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (when (and imenu-create-index-p (fboundp (quote imenu-add-to-menubar)) (ignore-errors (require (quote imenu)))) (setq imenu-create-index-function (function py-imenu-create-index-new)) (setq imenu-generic-expression py-imenu-generic-expression) (imenu-add-to-menubar "PyIndex") (add-hook (quote python-mode-hook) imenu-create-index-function)) (set (make-local-variable (quote eldoc-documentation-function)) (function python-eldoc-function)) (add-hook (quote eldoc-mode-hook) (lambda nil (run-python nil t)) nil t) (add-hook (quote completion-at-point-functions) py-complete-function nil (quote local)) (set (make-local-variable (quote skeleton-further-elements)) (quote ((< (quote (backward-delete-char-untabify ...))) (^ (quote (- ...)))))) (add-hook (quote python-mode-hook) (quote (lambda nil (setq indent-tabs-mode py-indent-tabs-mode)))) (set (make-local-variable (quote tab-width)) py-indent-offset) (when py-smart-indentation (if (bobp) (save-excursion (save-restriction (widen) (while (and ... ...) (forward-line 1)) (back-to-indentation) (py-guess-indent-offset))) (py-guess-indent-offset))) (when py-load-pymacs-p (py-load-pymacs)) ...))
(delay-mode-hooks (kill-all-local-variables) (setq major-mode (quote python-mode)) (setq mode-name "Python") nil (use-local-map python-mode-map) (set-syntax-table python-mode-syntax-table) (setq local-abbrev-table python-mode-abbrev-table) (set (make-local-variable (quote font-lock-defaults)) (quote (python-font-lock-keywords nil nil nil nil (font-lock-syntactic-keywords . python-font-lock-syntactic-keywords)))) (set (make-local-variable (quote parse-sexp-lookup-properties)) t) (set (make-local-variable (quote parse-sexp-ignore-comments)) t) (set (make-local-variable (quote comment-start)) "# ") (set (make-local-variable (quote comment-start-skip)) "^[ ]*#+ *") (set (make-local-variable (quote comment-column)) 40) (set (make-local-variable (quote comment-indent-function)) (function py-comment-indent-function)) (set (make-local-variable (quote indent-region-function)) (quote py-indent-region)) (set (make-local-variable (quote indent-line-function)) (quote py-indent-line)) (set (make-local-variable (quote hs-hide-comments-when-hiding-all)) (quote py-hide-comments-when-hiding-all)) (add-to-list (quote hs-special-modes-alist) (list (quote python-mode) (concat (if py-hide-show-hide-docstrings "^\\s-*\"\"\"\\|" "") (mapconcat (quote identity) (mapcar (function (lambda ... ...)) py-hide-show-keywords) "\\|")) nil "#" (lambda (arg) (py-goto-beyond-block) (skip-chars-backward " \n")) nil)) (set (make-local-variable (quote outline-heading-end-regexp)) ":\\s-*\n") (set (make-local-variable (quote outline-level)) (function python-outline-level)) (set (make-local-variable (quote open-paren-in-column-0-is-defun-start)) nil) (set (make-local-variable (quote outline-regexp)) (concat (mapconcat (quote identity) (mapcar (function (lambda (x) (concat "^\\s-*" x "\\_>"))) py-outline-mode-keywords) "\\|"))) (set (make-local-variable (quote add-log-current-defun-function)) (quote py-current-defun)) (set (make-local-variable (quote paragraph-start)) "\\s-*$") (set (make-local-variable (quote fill-paragraph-function)) (quote py-fill-paragraph)) (set (make-local-variable (quote require-final-newline)) mode-require-final-newline) (make-local-variable (quote python-saved-check-command)) (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)) (add-hook (quote which-func-functions) (quote python-which-func) nil t) (remove-hook (quote python-mode-hook) (quote imenu-add-menubar-index)) (remove-hook (quote python-mode-hook) (lambda nil "Turn off Indent Tabs mode." (setq indent-tabs-mode nil))) (remove-hook (quote python-mode-hook) (quote python-setup-brm)) (add-hook (quote python-mode-hook) (lambda nil (set (make-local-variable (quote beginning-of-defun-function)) (quote py-beginning-of-def-or-class)) (set (make-local-variable (quote end-of-defun-function)) (quote py-end-of-def-or-class)))) (custom-add-option (quote python-mode-hook) (quote py-imenu-create-index-new)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (custom-add-option (quote python-mode-hook) (lambda nil "Toggle Indent Tabs mode." (setq indent-tabs-mode py-indent-tabs-mode))) (custom-add-option (quote python-mode-hook) (quote abbrev-mode)) (when (and imenu-create-index-p (fboundp (quote imenu-add-to-menubar)) (ignore-errors (require (quote imenu)))) (setq imenu-create-index-function (function py-imenu-create-index-new)) (setq imenu-generic-expression py-imenu-generic-expression) (imenu-add-to-menubar "PyIndex") (add-hook (quote python-mode-hook) imenu-create-index-function)) (set (make-local-variable (quote eldoc-documentation-function)) (function python-eldoc-function)) (add-hook (quote eldoc-mode-hook) (lambda nil (run-python nil t)) nil t) (add-hook (quote completion-at-point-functions) py-complete-function nil (quote local)) (set (make-local-variable (quote skeleton-further-elements)) (quote ((< (quote (backward-delete-char-untabify (min py-indent-offset ...)))) (^ (quote (- (1+ ...))))))) (add-hook (quote python-mode-hook) (quote (lambda nil (setq indent-tabs-mode py-indent-tabs-mode)))) (set (make-local-variable (quote tab-width)) py-indent-offset) (when py-smart-indentation (if (bobp) (save-excursion (save-restriction (widen) (while (and (not ...) (or ... ...)) (forward-line 1)) (back-to-indentation) (py-guess-indent-offset))) (py-guess-indent-offset))) (when py-load-pymacs-p (py-load-pymacs)) (define-key inferior-python-mode-map (kbd "<tab>") (quote python-shell-completion-complete-or-indent)) ...)
python-mode()
set-auto-mode-0(python-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer run.py> "c:/projects/run.py" nil nil "c:/projects/run.py" ((7168 11 . 20848) (38139 . 7487)))
find-file-noselect("c:/projects/run.py" nil nil nil)
find-file("c:/projects/run.py")
steve-ido-choose-from-recentf()
call-interactively(steve-ido-choose-from-recentf nil nil)
fixed, thanks