summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-14 18:17:22 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-14 18:17:22 (GMT)
commit3c294caa7ac8957aea008c547beb41c714e84a56 (patch)
tree23c956453e89d644045b823b07ab300dd8f7c47f /README
parent5d9acb6b9e64f8109e8f17cfef4908df864796ab (diff)
downloadcpython-3c294caa7ac8957aea008c547beb41c714e84a56.zip
cpython-3c294caa7ac8957aea008c547beb41c714e84a56.tar.gz
cpython-3c294caa7ac8957aea008c547beb41c714e84a56.tar.bz2
add note about font-lock and fix doc URL
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 11 insertions, 2 deletions
diff --git a/README b/README
index 8e2d658..a2a337b 100644
--- a/README
+++ b/README
@@ -380,6 +380,15 @@ Misc/python-mode.el. Originally written by Tim Peters, who's no
longer on the net, it is now maintained by Barry Warsaw
<bwarsaw@cnri.reston.va.com>.
+BTW, if you want to use font-lock for Python sources, here's something
+to put in your .emacs file:
+
+ (defun my-python-mode-hook ()
+ (setq font-lock-keywords python-font-lock-keywords)
+ (font-lock-mode 1))
+ (add-hook 'python-mode-hook 'my-python-mode-hook)
+
+
Bug reports
-----------
@@ -430,8 +439,8 @@ have to edit the first line as well to fix the -I and -L options.)
See the Build Instructions above for more details.
There is little documentation. Begin with fetching the "Tk Lifesaver"
-document, e.g. <URL:ftp://ftp.cwi.nl/pub/python/tkinter-doc.tar.gz> (a
-gzipped tar file containing a PostScript file). There are demos in
+document, e.g. <URL:ftp://ftp.cwi.nl/pub/python/doc/tkinter-doc.tar.gz>
+(a gzipped tar file containing a PostScript file). There are demos in
the Demo/tkinter directory, in the subdirectories guido, matt and www.
Note that there's a Python module called "Tkinter" (capital T) which