[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MS Word mode?
From: |
Alex Schroeder |
Subject: |
Re: MS Word mode? |
Date: |
Fri, 08 Nov 2002 00:40:15 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu) |
Roger Mason <rmason@sparky2.esd.mun.ca> writes:
> There was a question about this recently on this forum. Look for
> undoc.el, I got it from the wiki (I think). It has worked very well for
> me to date, although I have not attempted ro read complex documents.
Well, it makes things readable, but it is far from perfect -- it seems
to just delete any non-ascii characters, such that sometimes you will
see words such as "Alex8" where "8" is some garbage that just looked
like being part of a real word... In other words, interfacing to
something like catdoc, antiword, or wvText (included with AbiWord)
might be cool. Actually all you need is this:
(add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word))
(defun no-word ()
"Run antiword on the entire buffer."
(shell-command-on-region (point-min) (point-max) "antiword - " t t))
Alex.
- MS Word mode?, Tiarnan, 2002/11/07
- Re: MS Word mode?, Julien Avarre, 2002/11/08
- Re: MS Word mode?, Julien Avarre, 2002/11/08
- Re: MS Word mode?, Thomas Link, 2002/11/08
- Re: MS Word mode?, Kin Cho, 2002/11/09