Message3599
Since lots of our source files contain vim magical comments (at the top
or bottom), I reckon vim is more common in our community than emacs (-*-
coding: ... -*- being an "emacs cookie").
Python looks for something like "coding[:=]\s*([-\w.]+)" (pep 0263, see
http://www.python.org/dev/peps/pep-0263/; 'coding', a ':' or '=',
optional whitespace, and the encoding spec.).
Vim looks for 'enc=' or 'encoding='; the latter works for Python, too.
The emacs cookie is not recognised by vim (by default). |
|
Date |
User |
Action |
Args |
2009-02-26 19:32:14 | tobias-herp | set | messageid: <1235676734.87.0.757730131683.issue2550520@psf.upfronthosting.co.za> |
2009-02-26 19:32:14 | tobias-herp | set | recipients:
+ tobias-herp, richard, stefan |
2009-02-26 19:32:14 | tobias-herp | link | issue2550520 messages |
2009-02-26 19:32:14 | tobias-herp | create | |
|