Re: [Python-mode] Hey

2010-03-17 Thread Deniz Dogan
thonMode > > Could use lots of clean up though. > -Barry > I think the main problem about that wiki entry is that it's on EmacsWiki. Most EmacsWiki entries look just like that, everything ends up a discussion board and/or bunch of r

Re: [Python-mode] Hey

2010-03-17 Thread Deniz Dogan
2010/3/17 Andreas Roehler : > Deniz Dogan wrote: >> 2010/3/16 Barry Warsaw : >>> On Mar 16, 2010, at 09:39 AM, m h wrote: >>> >>>> On this note, it might be nice to create a wiki page (python.el vs >>>> python-mode.el) elaborating the dif

Re: [Python-mode] simple comment/string-tweak branch

2010-03-18 Thread Deniz Dogan
all, just drop this file into a directory on your load-path and ;; byte-compile it. To set up Emacs to automatically edit files ending in ;; ".py" using python-mode add the following to your ~/.emacs file (GNU ;; Emacs) or ~/.xemacs/init.el file (XEmacs): ;; ;;(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode)) ;;(add-to-list 'interpreter-mode-alist '("python" . python-mode)) ;;(autoload 'python-mode "python-mode" "Python editing mode." t) ;; ;; In XEmacs syntax highlighting should be enabled automatically. In GNU ;; Emacs you may have to add these lines to your ~/.emacs file: ;; ;;(global-font-lock-mode t) ;;(setq font-lock-maximum-decoration t) Cheers, Deniz Dogan ___ Python-mode mailing list [email protected] http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] Don't bind C-c C-h

2010-03-18 Thread Deniz Dogan
Please, don't bind C-c C-h to anything. This prevents people from viewing all the bindings that start with C-c, which C-c C-h would normally display. -- Deniz Dogan ___ Python-mode mailing list [email protected] http://mail.python.org/ma

Re: [Python-mode] Don't bind C-c C-h

2010-03-18 Thread Deniz Dogan
2010/3/18 Andreas Roehler : > Deniz Dogan wrote: >> Please, don't bind C-c C-h to anything. This prevents people from >> viewing all the bindings that start with C-c, which C-c C-h would >> normally display. >> > > Hi Deniz, > > it may help, if you write

Re: [Python-mode] Don't bind C-c C-h

2010-03-19 Thread Deniz Dogan
2010/3/19 Reinout van Rees : > On 03/19/2010 07:27 AM, Andreas Roehler wrote: >> >> Deniz Dogan wrote: >>> >>> 2010/3/18 Andreas Roehler: >>>> >>>> Deniz Dogan wrote: >>>>> >>>>> Please, don't bind C-c C

Re: [Python-mode] Don't bind C-c C-h

2010-03-19 Thread Deniz Dogan
2010/3/19 Reinout van Rees : > On 03/19/2010 10:57 AM, Deniz Dogan wrote: >> >> 2010/3/19 Reinout van Rees: >>> >>> (What I don't know is where in python mode he found a ctrl-h binding, >>> btw). >>> >> >> In python-mode.el with p

Re: [Python-mode] OT: web-based color theme creator

2010-03-22 Thread Deniz Dogan
http://mail.python.org/mailman/listinfo/python-mode > Brilliant! -- Deniz Dogan ___ Python-mode mailing list [email protected] http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] can't get variable syntax highlighting to work

2010-06-17 Thread Deniz Dogan
-mode.el? > That regular expression only matches (non-augmented) top-level variable assignment statements. It's also a legible regular expression - silly to say the least! This regex should be better: "^ *\\([a-zA-Z0-9_]+\\) *\\(?:+\\|*\\|/\\|//\\|%\\|**\\|>>\\|<<\\|&\\|\\^\\||\\)?=" I haven't tried this