On 05-May-08, at 4:38 PM, Anand Balachandran Pillai wrote:

As an added customization, you could make sure you remove
any additional Ctrl-Ms which are seen when you open a file edited
in DOS/Windows in Unix.

;; Remove all Ctrl-Ms from a region
(defun ^m-region (min max)

[snip lotsa parenthesis]

And bind it to a global key.

(global-set-key [f2] '^m-untabify-save-buffer)

Ah, the beauties of Elisp...


No wonder you folks get RSI. Contrast:

set ff=dos

_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to