[Python-mode] modeline "Py" or "Python"

Barry Warsaw barry at python.org
Sun Jun 17 00:13:18 CEST 2012


On Jun 16, 2012, at 09:35 AM, Andreas Röhler wrote:

>As space is precious in modeline, what about offering "Py" as default
>instead?

From my .emacs files:

(defun baw-python-mode-hook ()
  (setq comment-column 50
        fill-column 78)
  (setq mode-name "Py")
  (flyspell-prog-mode)
  (define-key python-mode-map [(meta f)] 'py-forward-into-nomenclature)
  (define-key python-mode-map [(meta b)] 'py-backward-into-nomenclature))
(add-hook 'python-mode-hook 'baw-python-mode-hook)

time-machine-ly y'rs,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-mode/attachments/20120616/9aa1b57e/attachment.pgp>


More information about the Python-mode mailing list