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

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

Help to view .doc files with no-word.el & antiword please


From: rpd
Subject: Help to view .doc files with no-word.el & antiword please
Date: Sun, 23 Aug 2009 03:36:11 -0700 (PDT)

Hi
I am trying to use no-word.el & antiword.exe to view .doc files in Emacs but 
unsuccessfully at the moment.
I have had a recent post with knubee on this but I still need help.

Here is my .emacs code:

;;;;==========View .DOC with noword.el & antiword====================
;;;
;;requires antiword
;(add-to-list 'load-path "C:\\antiword")
;(add-to-list 'exec-path "C:\\antiword\\antiword.exe")
;(require 'antiword)
;(load-library "C:\\Users\\Dad\\Emacs\\emacsaddons\\no-word")
;(load "C:\\Users\\Dad\\Emacs\\emacsaddons\\no-word.el")

;(when (locate-library "no-word")
;  (require 'no-word)
;  (add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word))
;;;from gnuforum emacs nabble help forum knubee code
;(load "C:\\Users\\Dad\\Emacs\\emacsaddons\\no-word.el")
(autoload 'no-word "no-word" "word to txt")
  (add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word))
  (add-to-list 'exec-path "C:\\antiword\\")
;==

As can be seen I have several repeat lines of code here (several commented
out) but no matter what combination I use I cannot get to view .doc files
(usually getting the error msg I give below).
When I try loading no-word.el it still doesn't work- I get a command in
minibuffer about coding(default) & if I [ret] then I get this error msg: 

'antiword' is not recognized as an internal or external command, 
operable program or batch file. 

I have also placed no-word.el in emacs/site-lisp directory but I still get
the same error message. 

I am most grateful if someone could advise me & help me fix this code so I
can use no-word.el & antiword to view .doc files- many thanks


-- 
View this message in context: 
http://www.nabble.com/Help-to-view-.doc-files-with-no-word.el---antiword-please-tp25102080p25102080.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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