unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tiarnan <tiarnan.ocorrain@cmg.com>
Subject: Re: MS Word mode?
Date: 08 Nov 2002 11:24:19 +0000	[thread overview]
Message-ID: <861y5wmhi4.fsf@wintermute.att.cmg.nl> (raw)
In-Reply-To: <87fzudc5k0.fsf@emacswiki.org>

>>>>> "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

  parent reply	other threads:[~2002-11-08 11:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1036696597.23451.help-gnu-emacs@gnu.org>
2002-11-07 23:40 ` MS Word mode? Alex Schroeder
2002-11-08 10:48   ` Christian Lemburg
2002-11-08 11:24   ` Tiarnan [this message]
2002-11-08 13:52   ` Arnaldo Mandel
     [not found]   ` <mailman.1036765729.27121.help-gnu-emacs@gnu.org>
2002-11-08 17:24     ` Alex Schroeder
     [not found] <mailman.1036693626.13090.help-gnu-emacs@gnu.org>
2002-11-07 18:59 ` Bruce Mobarry
2002-11-08  6:18 ` Julien Avarre
2002-11-08  9:15 ` Thomas Link
2002-11-09 18:40 ` Kin Cho
2002-11-07 18:01 Tiarnan
2002-11-07 18:48 ` Roger Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861y5wmhi4.fsf@wintermute.att.cmg.nl \
    --to=tiarnan.ocorrain@cmg.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).