From: poti@potis.org
To: help-gnu-emacs@gnu.org
Subject: no-word.el fails on Windows NT
Date: Wed, 23 May 2007 18:17:03 -0400 [thread overview]
Message-ID: <20070523221703.GA17408@mail.potis.org> (raw)
I am looking for an emacs interface for reading Microsoft Word
documents. I have been using antiword, which is fine and has
an emacs mode provided by no-word.el. This works fine on OSX and
Linux. However, when I visit a doc file on Windows NT, I get the
following error:
- is not a Word Document.
This appears to be related to the following elisp code:
(if file (replace-regexp-in-string " " "\\ " file t t) "-")
which is concatenated to the command "antiword" and options.
This is in the no-word function, where file is optional.
Apparently, visiting the file does not pass a file to this function.
This is as much as I can figure out. Why is the behavior different on
Windows, is there a fix that will work as expected across platforms?
Also, is there a mode for Wv? If not, I thought if I could understand
how no-word.el works, I would try modifying it to work for Wv.
The problem persists as of the following Emacs:
GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600)
of 2007-05-20 on NEUTRINO
next reply other threads:[~2007-05-23 22:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-23 22:17 poti [this message]
2007-05-24 7:21 ` no-word.el fails on Windows NT Eli Zaretskii
2007-05-24 20:07 ` poti
2007-05-25 5:31 ` Eli Zaretskii
2007-05-25 6:22 ` poti
2007-05-25 12:45 ` Eli Zaretskii
2007-05-31 6:33 ` poti
2007-06-01 14:05 ` Kevin Rodgers
2007-06-06 1:40 ` poti
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=20070523221703.GA17408@mail.potis.org \
--to=poti@potis.org \
--cc=help-gnu-emacs@gnu.org \
/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).