Barry Warsaw [Thu, 26 Mar 1998 16:08:59 +0000 (16:08 +0000)]
(py-postprocess-output-buffer): Return t if an exception was found,
otherwise return nil.
(py-execute-region): When executing the buffer asynchronously in a
subprocess, if an exception occurred, show both the output buffer and
the file containing the exception, leaving point on the source line
containing bottom-most error in the traceback. If no exception
occurred, jump to the output buffer (no change).
Fred Drake [Wed, 25 Mar 1998 14:53:43 +0000 (14:53 +0000)]
Change uses of \pdfinfo and \pdfcatalog to use the new syntax from the
latest pdftex. (Which we have here at CNRI.) This makes the PDF targets
work again.
Barry Warsaw [Fri, 20 Mar 1998 17:06:11 +0000 (17:06 +0000)]
Removed all the mixed indentation face stuff. It's not as helpful as
it at first seems. I think we've got a good idea of what to do, but
it'll be a bit of work... for later.
Barry Warsaw [Thu, 19 Mar 1998 22:48:02 +0000 (22:48 +0000)]
(py-in-literal, py-fast-in-literal): New functions (mostly) stolen
from CC Mode.
(py-guess-indent-offset): Teach it about colons in `literals'
(e.g. comments and strings). Don't false hit colons in literals; keep
searching for a real block introducing line.
Barry Warsaw [Thu, 19 Mar 1998 22:33:06 +0000 (22:33 +0000)]
#minor change to eval-while-compile so that it must both find
#custom.el and have an up-to-date version (i.e. one that defines
#defcustom -- which Emacs 19.34's by default does not).
Barry Warsaw [Thu, 19 Mar 1998 21:52:06 +0000 (21:52 +0000)]
(py-tab-face, python-font-lock-keywords): Color all tabs at the start
of a line in py-tab-face to aid in seeing mixed tab/space indentation.
This face defaults to the `default' face so it is unobtrusive until
you `M-x customize-face' py-tab-face to something obnoxious like
"Yellow".
Guido van Rossum [Tue, 17 Mar 1998 14:46:43 +0000 (14:46 +0000)]
Prefer clock() over times() for timer function, except on the Mac,
where we use GetTicks() -- its clock() is a crock, with only 1 second
accuracy, I believe.
Fred Drake [Tue, 17 Mar 1998 06:33:25 +0000 (06:33 +0000)]
Change "\," to just "," in function signatures. This is easier to maintain,
works better with LaTeX2HTML, and allows some simplification of the python.sty
macros.
Fred Drake [Tue, 17 Mar 1998 06:22:12 +0000 (06:22 +0000)]
Reverting some the index stuff to use tools/newind.py again; this works
better with LaTeX2HTML.
Run pdflatex twice to generate the PDF files, even though LaTeX has already
been run a couple of times. This ensures that font metrics for the final
run match those for the first run, and seesm to get (somewhat) better
outline results.
Barry Warsaw [Fri, 13 Mar 1998 18:53:15 +0000 (18:53 +0000)]
(python-mode): Removed vi vi vi hack for setting the tab width from a
magic comment. Now Guido only has to worry about the northern
Wisconsin Braces Freedom Fighter Militia.
Fred Drake [Thu, 12 Mar 1998 06:41:40 +0000 (06:41 +0000)]
\withsubitem{}: New macro. Change indexsubitem temporarily for another
macro. Intended usage:
\withsubitem{(in module foo)}{\ttindex{myfunc()}}
This allows indexing functions from other modules/class/whatnot
without being dependent on the exact expansions of several macros
internal to python.sty. It's also easier to read in the source!
Some new "logical" macros that seem to be useful:
\regexp{}: For regular expressions. To make it easier to keep the appearance
consistent.
\mimetype{}: Don't use \code{}!
\envvar{}: Environment variable. This does some indexing as well.
\character{}: Just a character we want to talk about in the text, but not
a Python constant.
Fred Drake [Wed, 11 Mar 1998 15:41:21 +0000 (15:41 +0000)]
*Sigh*
Add a -q option for "quiet" operation. Nothing gets out (not even stderr,
since that's tossed to stdout for capture in the .how file). It's a good
idea to use -l to get the log in case there are problems. Maybe this should
be the default and add a --verbose option to get the stdout? There's way
too much junk output.