[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-mode patch
From: |
Slawomir Nowaczyk |
Subject: |
Re: python-mode patch |
Date: |
Wed, 23 Aug 2006 22:10:56 +0200 |
On Tue, 22 Aug 2006 15:31:33 -0500
Peter Lee <address@hidden> wrote:
#> Can "self" be made a keyword?
I hope so :)
Here is a patch.
**********************************************************************
--- m:/EmacsCVS/EmacsCVS/lisp/progmodes/python.el 2006-08-22
19:49:58.809940800 +0200
+++ c:/Emacs/lisp/progmodes/python.el 2006-08-23 22:07:21.844835200 +0200
@@ -94,7 +94,9 @@
"import" "in" "is" "lambda" "not" "or" "pass" "print"
"raise" "return" "try" "while" "yield"
;; Future keywords
- "as" "None")
+ "as" "None"
+ ;; Not real keywords, but close enough to be fontified as such
+ "self" "True" "False")
symbol-end)
;; Definitions
(,(rx symbol-start (group "class") (1+ space) (group (1+ (or word ?_))))
**********************************************************************
--
Best wishes,
Slawomir Nowaczyk
( address@hidden )
In 10 minutes, a hurricane releases more energy than all of the world's
nuclear weapons combined.
- Re: python-mode patch, (continued)
- Re: python-mode patch, Edward O'Connor, 2006/08/20
- Re: python-mode patch, Piet van Oostrum, 2006/08/21
- Re: python-mode patch, Slawomir Nowaczyk, 2006/08/21
- Re: python-mode patch, Peter Lee, 2006/08/21
- Re: python-mode patch, Stefan Monnier, 2006/08/21
- Re: python-mode patch, Peter Lee, 2006/08/22
- Re: python-mode patch, Slawomir Nowaczyk, 2006/08/22
- Re: python-mode patch, Peter Lee, 2006/08/22
- Re: python-mode patch,
Slawomir Nowaczyk <=
- Re: python-mode patch, Nick Roberts, 2006/08/20
- Re: python-mode patch, Slawomir Nowaczyk, 2006/08/21
- Re: python-mode patch, Stefan Monnier, 2006/08/20
- Re: python-mode patch, Slawomir Nowaczyk, 2006/08/21
- Re: python-mode patch, Stefan Monnier, 2006/08/21
- Re: python-mode patch, Richard Stallman, 2006/08/21
- Re: python-mode patch, Slawomir Nowaczyk, 2006/08/23
- Re: python-mode patch, Richard Stallman, 2006/08/25
- Re: python-mode patch, Nick Roberts, 2006/08/25
- Re: python-mode patch, Richard Stallman, 2006/08/26