johnsu01 (johnsu01) wrote,
  • Music: Rush -- Bastille Day

Reading Word documents in Emacs

How did I not know about no-word.el until now?

I added to my .emacs:

;;;_ , Word documents

(when (locate-library "no-word")
  (require 'no-word)
  (add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word)))

Now any .doc file I visit in Emacs is run through antiword, so I can read it as plain text.

Tags: emacs, microsoft, word
  • Post a new comment

    Error

    default userpic
  • 4 comments