help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS Word mode?


From: Tiarnan
Subject: Re: MS Word mode?
Date: 08 Nov 2002 11:24:19 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "AS" == Alex Schroeder <alex@emacswiki.org> writes:

    AS> (add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word))

    AS> (defun no-word () "Run antiword on the entire buffer."
    AS> (shell-command-on-region (point-min) (point-max) "antiword - "
    AS> t t))

Perfect. Just what I was looking for, since antiword makes a
reasonable stab at doing tables.

Many thanks...

Tiarnan

-- 
Tiarnán Ó Corráin               CMG-WDSC
Sysadmin                        Cork.
tiarnan.o'corrain@cmg.com       +353-21-4933200

"Iraq: incredible weapons - incredible weapons." How do you know that? 
"Uh, well... We looked at the receipt." -- Bill Hicks, 1992




reply via email to

[Prev in Thread] Current Thread [Next in Thread]