From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.help Subject: Re: MS Word mode? Date: Fri, 08 Nov 2002 18:24:07 +0100 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87n0okug94.fsf@emacswiki.org> References: <87fzudc5k0.fsf@emacswiki.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036778590 25342 80.91.224.249 (8 Nov 2002 18:03:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 18:03:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ADTI-0006aa-00 for ; Fri, 08 Nov 2002 19:03:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ACzU-0007ed-00; Fri, 08 Nov 2002 12:32:20 -0500 Original-Newsgroups: gnu.emacs.help X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb;QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i Original-Lines: 15 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu) Cancel-Lock: sha1:tHs8guX3ABtGoq7dP5XWLx6FpmY= Original-NNTP-Posting-Host: 217.162.237.77 Original-X-Trace: news.swissonline.ch 1036775964 217.162.237.77 (8 Nov 2002 18:19:24 +0200) Original-X-Complaints-To: abuse@swissonline.ch Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!uni-erlangen.de!news.imp.ch!news.imp.ch!news-zh.switch.ch!news.swissonline.ch!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:106850 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3406 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3406 Arnaldo Mandel writes: > (defun no-word () > "Run antiword on the entire buffer." > (if (string-match "Microsoft " > (shell-command-to-string (concat "file " buffer-file-name))) > (shell-command-on-region (point-min) (point-max) "antiword - " t t))) Cool. I did not know about "file"... :) My stuff is on the wiki, btw: * http://www.emacswiki.org/cgi-bin/wiki.pl?AntiWord Alex.