From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: .doc files in emacs Date: Sun, 17 Dec 2006 11:34:18 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87bqm3cqd1.fsf@lion.rapttech.com.au> References: <87slfgd55n.fsf@lion.rapttech.com.au> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166316095 22098 80.91.229.10 (17 Dec 2006 00:41:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Dec 2006 00:41:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 17 01:41:34 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gvk5s-0007QD-St for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Dec 2006 01:41:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gvk5s-0005rM-Eh for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Dec 2006 19:41:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!sn-xt-sjc-04!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:4Tb7H15fEoiaoDibV7uYQzkgErY= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 28 Original-Xref: shelby.stanford.edu gnu.emacs.help:144045 Original-To: help-gnu-emacs@gnu.org 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:39648 Archived-At: Eli Zaretskii writes: > Subject: Re: .doc files in emacs > >> From: Tim X >> Date: Sat, 16 Dec 2006 12:02:28 +1100 >> >> Let me know i you want a copy. However, note that it is pretty much my >> first elisp utility I've let out into the wild - I think the elisp is >> OK, but not great and probably could be greatly improved by a more >> experienced elisper. > > Well, one advice I can give, based on brief reading of the code, is to > keep in txutils-convert-alist only the program names, without the > leading directories (e.g., "pdftotext" instead of "/usr/bin/pdftotext"), > and use executable-find to find the program. > > This way, you will DTRT by default for more users on more platforms, > and the only users that will need to customize txutils-convert-alist > are those who install the utilities outside of their PATH. > Thanks Eli. I wasn't aware of executable-find. I will check it out. Tim -- tcross (at) rapttech dot com dot au