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

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

Re: view .docx files as text?


From: rpd
Subject: Re: view .docx files as text?
Date: Sat, 22 Aug 2009 04:22:28 -0700 (PDT)

Hi

Thanks for your reply.
Unfortunately your code didn't work as it threw this error msg:

Debugger entered--Lisp error: (file-error "Cannot open load file" "no-word")
  no-word()
  set-auto-mode-0(no-word nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer Charlie missing - slips 14 03 09.doc>
"~/Documents/Charlie missing - slips 14 03 09.doc" nil nil
"~/Documents/Charlie missing - slips 14 03 09.doc" (55748 (22774 . 28458)))
  find-file-noselect("c:/Users/Dad/Documents/Charlie missing - slips 14 03
09.doc" nil nil nil)
  find-file("c:/Users/Dad/Documents/Charlie missing - slips 14 03 09.doc")
  find-file-existing("c:/Users/Dad/Documents/Charlie missing - slips 14 03
09.doc")
  menu-find-file-existing()
  call-interactively(menu-find-file-existing)

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 wonder if you or anyone else can offer some more help please?


knubee wrote:
> 
>> your help please to show me how to use no-word.el with antiword to view
>> .doc
>> files!?
> 
> i don't use win32, but i believe you only need the following:
> 
>   (autoload 'no-word "no-word" "word to txt")
>   (add-to-list 'auto-mode-alist '("\\.doc\\'" . no-word))
>   (add-to-list 'exec-path "C:\\antiword\\")
> 
> the last line differs from yours. it does not include the actual
> executable -- just the path to the directory where it resides.
> 
> hth.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/view-.docx-files-as-text--tp25090346p25092917.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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