From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rpd Newsgroups: gmane.emacs.help Subject: Help to view .doc files with no-word.el & antiword please Date: Sun, 23 Aug 2009 03:36:11 -0700 (PDT) Message-ID: <25102080.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251023811 11211 80.91.229.12 (23 Aug 2009 10:36:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 10:36:51 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 23 12:36:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MfARH-0007ie-5q for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2009 12:36:43 +0200 Original-Received: from localhost ([127.0.0.1]:38509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfARG-0000WM-Dm for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2009 06:36:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfAQv-0000W4-I7 for help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 06:36:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfAQq-0000Vg-7D for Help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 06:36:20 -0400 Original-Received: from [199.232.76.173] (port=58300 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfAQq-0000Vd-1s for Help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 06:36:16 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:52463) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfAQp-0002QL-KN for Help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 06:36:15 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MfAQl-0007tK-Ts for Help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 03:36:11 -0700 X-Nabble-From: richard@dickinson350.freeserve.co.uk X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67442 Archived-At: 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.