summary: you are definitely making progress, but > test/python-mode-test.el:27:1:Error: Cannot open load file: py-bug-numbered-tests ... > Done (Total of 9 files compiled, 1 failed in 5 directories) Am I doing something wrong? details: $ lsb_release -ds Linux Mint Debian Edition $ uname -rv 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 $ which emacs /usr/bin/emacs $ emacs --version GNU Emacs 23.3.1 ... $ which python /opt/EPD/epd-7.1-2-rh5-x86_64/bin/python $ python --version Python 2.7.2 -- EPD 7.1-2 (64-bit) I also have pymacs already installed, which perhaps makes this test invalid, and certainly makes it incomplete. I had python-mode=6.0.2 installed @ ~/.emacs.d/site-lisp/python/python-mode so I did me@it:~/.emacs.d/site-lisp/python$ rm -fr python-mode me@it:~/.emacs.d/site-lisp/python$ bzr branch lp:python-mode > You have not informed bzr of your Launchpad ID, and you must do this to > write to Launchpad or access private data. See "bzr help launchpad-login". > Branched 580 revision(s). me@it:~/.emacs.d/site-lisp/python$ cd python-mode/tools/ me@it:~/.emacs.d/site-lisp/python/python-mode/tools$ chmod a+x ./byte-compile-directory.sh me@it:~/.emacs.d/site-lisp/python/python-mode/tools$ ./byte-compile-directory.sh > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) > of 2011-04-10 on brahms, modified by Debian > Cannot open load file: /home/me/.emacs.d/site-lisp/python/python-mode/tools/pymacs/pymacs.el Perhaps it should tell the user that it wants to be run like $ tools/byte-compile-directory.sh ? me@it:~/.emacs.d/site-lisp/python/python-mode/tools$ cd .. me@it:~/.emacs.d/site-lisp/python/python-mode$ tools/byte-compile-directory.sh > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) > of 2011-04-10 on brahms, modified by Debian > Checking /home/me/.emacs.d/site-lisp/python/python-mode/... > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/highlight-indentation.el... > In highlight-indentation: > highlight-indentation.el:70:43:Warning: reference to free variable > `highlight-indent-offset' > highlight-indentation.el:94:28:Warning: assignment to free variable > `highlight-indent-offset' > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/highlight-indentation.elc > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/python-mode.el... > In py-choose-shell-by-shebang: > python-mode.el:1502:40:Warning: assignment to free variable `erg' > python-mode.el:1502:72:Warning: reference to free variable `erg' > In py-execute-file: > python-mode.el:1865:19:Warning: `save-excursion' defeated by `set-buffer' > In py-pdbtrack-overlay-arrow: > python-mode.el:1899:1:Warning: reference to free variable `arrow-position' > python-mode.el:1898:16:Warning: assignment to free variable `overlay-' > python-mode.el:1900:42:Warning: variable assignment to constant `nil' > In py-pdbtrack-get-source-buffer: > python-mode.el:1998:20:Warning: `save-excursion' defeated by `set-buffer' > In py-pdbtrack-grub-for-buffer: > python-mode.el:2019:44:Warning: `save-excursion' defeated by `set-buffer' > python-mode.el:2023:42:Warning: `save-excursion' defeated by `set-buffer' > In py-postprocess-output-buffer: > python-mode.el:2040:15:Warning: `save-excursion' defeated by `set-buffer' > In py-execute-intern: > python-mode.el:2324:7:Warning: reference to free variable `async' > python-mode.el:2324:7:Warning: `save-excursion' defeated by `set-buffer' > In py-execute-region-in-shell: > python-mode.el:2449:15:Warning: `save-excursion' defeated by `set-buffer' > python-mode.el:2461:7:Warning: `save-excursion' defeated by `set-buffer' > python-mode.el:2498:36:Warning: `save-excursion' defeated by `set-buffer' > In py-execute-def-or-class: > python-mode.el:2700:8:Warning: function py-execute-def-or-class used to take > 0-1 arguments, now takes 0 > python-mode.el:2700:8:Warning: function `py-execute-def-or-class' defined > multiple times in this file > In py-find-next-exception: > python-mode.el:2853:17:Warning: `save-excursion' defeated by `set-buffer' > In py-indent-line-forward: > python-mode.el:3011:17:Warning: reference to free variable > `py-indent-comments' > In py-find-imports: > python-mode.el:5126:42:Warning: assignment to free variable `python-imports' > python-mode.el:5126:62:Warning: reference to free variable `python-imports' > In py-close-intern: > python-mode.el:5139:6:Warning: py-end-base called with 2 arguments, but > requires 3 > In end of data: > python-mode.el:5667:1:Warning: the function `ipython-send-and-indent' is not > known to be defined. > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/python-mode.elc > Checking /home/me/.emacs.d/site-lisp/python/python-mode/completion... > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/completion/pycomplete.el... > In end of data: > completion/pycomplete.el:51:1:Warning: the following functions are not known > to be defined: pycomplete-pycomplete, py-symbol-near-point > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/completion/pycomplete.elc > Checking /home/me/.emacs.d/site-lisp/python/python-mode/pymacs... > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/pymacs/pymacs.el... > In toplevel form: > pymacs/pymacs.el:53:13:Warning: variable assignment to constant > `enable-multibyte-characters' > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/pymacs/pymacs.elc > Checking /home/me/.emacs.d/site-lisp/python/python-mode/test... > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/test/doctest-mode.el... > In doctest-results-selection-matcher: > test/doctest-mode.el:594:14:Warning: reference to free variable > `doctest-selected-failure' > In doctest-indent-source-line: > test/doctest-mode.el:619:12:Warning: `delete-backward-char' used from Lisp code > That command is designed for interactive use only > test/doctest-mode.el:629:28:Warning: `delete-backward-char' used from Lisp code > That command is designed for interactive use only > test/doctest-mode.el:629:10:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > In doctest-electric-backspace: > test/doctest-mode.el:845:54:Warning: `delete-backward-char' used from Lisp code > That command is designed for interactive use only > test/doctest-mode.el:847:12:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > In doctest-execute-region: > test/doctest-mode.el:942:33:Warning: reference to free variable > `doctest-async-process' > test/doctest-mode.el:971:38:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > test/doctest-mode.el:982:46:Warning: `save-excursion' defeated by `set-buffer' > test/doctest-mode.el:988:13:Warning: assignment to free variable > `doctest-results-buffer' > test/doctest-mode.el:988:13:Warning: `save-excursion' defeated by `set-buffer' > test/doctest-mode.el:990:21:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:994:15:Warning: assignment to free variable > `doctest-source-buffer' > test/doctest-mode.el:1008:22:Warning: assignment to free variable > `doctest-async-process-buffer' > test/doctest-mode.el:1009:22:Warning: assignment to free variable > `doctest-async-process' > test/doctest-mode.el:1012:35:Warning: reference to free variable > `doctest-async-process-tempfiles' > test/doctest-mode.el:1012:35:Warning: assignment to free variable > `doctest-async-process-tempfiles' > test/doctest-mode.el:1023:34:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > In doctest-handle-output: > test/doctest-mode.el:1046:30:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1051:29:Warning: reference to free variable > `doctest-example-markers' > In doctest-async-process-sentinel: > test/doctest-mode.el:1067:29:Warning: reference to free variable > `doctest-async-process' > test/doctest-mode.el:1068:29:Warning: reference to free variable > `doctest-async-process-buffer' > test/doctest-mode.el:1071:34:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1084:14:Warning: reference to free variable > `doctest-async-process-tempfiles' > test/doctest-mode.el:1085:27:Warning: assignment to free variable > `doctest-async-process-tempfiles' > test/doctest-mode.el:1086:13:Warning: assignment to free variable > `doctest-async-process' > In doctest-cancel-async-process: > test/doctest-mode.el:1091:33:Warning: reference to free variable > `doctest-async-process' > In doctest-postprocess-results: > test/doctest-mode.el:1101:8:Warning: `save-excursion' defeated by `set-buffer' > test/doctest-mode.el:1108:17:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1113:13:Warning: assignment to free variable > `doctest-results-py-version' > In doctest-mark-examples: > test/doctest-mode.el:1132:24:Warning: reference to free variable > `doctest-example-markers' > test/doctest-mode.el:1140:13:Warning: assignment to free variable > `doctest-example-markers' > In doctest-filter-example-markers: > test/doctest-mode.el:1163:11:Warning: reference to free variable > `doctest-example-markers' > test/doctest-mode.el:1158:35:Warning: `save-excursion' defeated by > `set-buffer' > test/doctest-mode.el:1148:19:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1151:24:Warning: `string-to-int' is an obsolete function > (as of Emacs 22.1); use `string-to-number' instead. > test/doctest-mode.el:1152:24:Warning: reference to free variable > `doctest-results-py-version' > test/doctest-mode.el:1162:24:Warning: assignment to free variable > `doctest-example-markers' > In doctest-prev-example-marker: > test/doctest-mode.el:1175:30:Warning: reference to free variable > `doctest-example-markers' > In doctest-next-failure: > test/doctest-mode.el:1192:48:Warning: reference to free variable > `doctest-async-process' > test/doctest-mode.el:1239:20:Warning: reference to free variable > `doctest-example-markers' > test/doctest-mode.el:1200:43:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1222:25:Warning: `save-excursion' defeated by > `set-buffer' > test/doctest-mode.el:1205:24:Warning: reference to free variable > `doctest-selected-failure' > test/doctest-mode.el:1217:33:Warning: `string-to-int' is an obsolete function > (as of Emacs 22.1); use `string-to-number' instead. > test/doctest-mode.el:1218:28:Warning: reference to free variable > `doctest-results-py-version' > test/doctest-mode.el:1231:35:Warning: assignment to free variable > `doctest-selected-failure' > In doctest-first-failure: > test/doctest-mode.el:1254:22:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1254:22:Warning: `save-excursion' defeated by > `set-buffer' > test/doctest-mode.el:1257:37:Warning: reference to free variable > `doctest-selected-failure' > test/doctest-mode.el:1258:17:Warning: assignment to free variable > `doctest-selected-failure' > In doctest-last-failure: > test/doctest-mode.el:1266:22:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1266:22:Warning: `save-excursion' defeated by > `set-buffer' > test/doctest-mode.el:1269:37:Warning: reference to free variable > `doctest-selected-failure' > test/doctest-mode.el:1270:17:Warning: assignment to free variable > `doctest-selected-failure' > In doctest-select-failure: > test/doctest-mode.el:1280:31:Warning: reference to free variable > `doctest-selected-failure' > test/doctest-mode.el:1282:27:Warning: assignment to free variable > `doctest-selected-failure' > test/doctest-mode.el:1284:18:Warning: reference to free variable > `doctest-source-buffer' > In doctest-replace-output: > test/doctest-mode.el:1301:48:Warning: reference to free variable > `doctest-async-process' > test/doctest-mode.el:1304:6:Warning: `save-excursion' defeated by `set-buffer' > test/doctest-mode.el:1305:33:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1306:28:Warning: reference to free variable > `doctest-results-py-version' > test/doctest-mode.el:1368:41:Warning: insert-char called with 1 argument, but > requires 2-3 > test/doctest-mode.el:1407:22:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > test/doctest-mode.el:1411:20:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > test/doctest-mode.el:1411:20:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > test/doctest-mode.el:1425:41:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > test/doctest-mode.el:1425:41:Warning: `insert-string' is an obsolete function > (as of Emacs 22.1); use `insert' instead. > In doctest-fixed-mmm-fontify-region: > test/doctest-mode.el:1560:18:Warning: reference to free variable > `mmm-current-overlay' > In doctest-results-loc-re: > test/doctest-mode.el:1684:12:Warning: reference to free variable > `doctest-results-py-version' > In doctest-hide-example-source: > test/doctest-mode.el:1715:8:Warning: `save-excursion' defeated by `set-buffer' > test/doctest-mode.el:1719:17:Warning: reference to free variable > `doctest-results-buffer' > In doctest-results-buffer-valid-p: > test/doctest-mode.el:1733:25:Warning: reference to free variable > `doctest-results-buffer' > test/doctest-mode.el:1733:25:Warning: `save-excursion' defeated by > `set-buffer' > test/doctest-mode.el:1736:27:Warning: reference to free variable > `doctest-source-buffer' > In doctest-update-mode-line: > test/doctest-mode.el:1742:9:Warning: assignment to free variable > `doctest-mode-line-process' > In end of data: > test/doctest-mode.el:2062:1:Warning: the following functions are not known to > be defined: doctest-looking-back, doctest-process-live-p, > doctest-line-number, doctest-replace-regexp-in-string, mmm-add-classes, > mmm-add-mode-ext-class, mmm-fontify-region, mmm-update-submode-region, > mmm-overlay-at > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/test/doctest-mode.elc > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/test/pars-part-output.el... > In end of data: > test/pars-part-output.el:101:1:Warning: the function > `defun-beginning-position' is not known to be defined. > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/test/pars-part-output.elc > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/test/py-bug-numbered-tests.el... > In py-current-defun-lp:328846-test: > test/py-bug-numbered-tests.el:248:21:Warning: reference to free variable > `python-mode-teststring' > In hungry-delete-backwards-lp:328853-test: > test/py-bug-numbered-tests.el:566:21:Warning: reference to free variable > `python-mode-teststring' > In hungry-delete-forward-lp:328853-test: > test/py-bug-numbered-tests.el:579:21:Warning: reference to free variable > `python-mode-teststring' > In master-file-not-honored-lp:794850-base: > test/py-bug-numbered-tests.el:1370:8:Warning: `save-excursion' defeated by > `set-buffer' > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/test/py-bug-numbered-tests.elc > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/test/python-mode-syntax-test.el... > In toplevel form: > test/python-mode-syntax-test.el:31:7:Warning: assignment to free variable > `python-mode-tests' > In py-run-tests: > test/python-mode-syntax-test.el:37:16:Warning: reference to free variable > `python-mode-tests' > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/test/python-mode-syntax-test.elc > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/test/python-mode-test.el... > In toplevel form: > test/python-mode-test.el:27:1:Error: Cannot open load file: py-bug-numbered-tests > Checking /home/me/.emacs.d/site-lisp/python/python-mode/tools... > Compiling /home/me/.emacs.d/site-lisp/python/python-mode/tools/python-mode-shell-install.el... > Wrote /home/me/.emacs.d/site-lisp/python/python-mode/tools/python-mode-shell-install.elc > Checking /home/me/.emacs.d/site-lisp/python/python-mode/website... > Checking /home/me/.emacs.d/site-lisp/python/python-mode/website/docs... > Done (Total of 9 files compiled, 1 failed in 5 directories) So what needs to be done to open/run py-bug-numbered-tests? Once that is done, I'm guessing that this FR is complete. FWIW, Tom Roche