EMACS users might like to use the following to convert code to spaces only. If you know a way to make it tabs only, please tell me. I use Vim, so I don't know how this stuff works.


(defun untabify-buffer () (interactive)
  "Untabify buffer"
    (save-excursion
      (untabify (point-min) (point-max))))

Someone please tell me the algorithm I need to insert into my brain so that I can edit this file without getting a message from the author saying I messed up the indentation.

I've highlighted TABs with '>-------'

You need to see the image to get the effect.

No comments