From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David R Newsgroups: gmane.emacs.help Subject: Re: egrep error: egrep: /usr/dict/words: No such file or directory Date: Wed, 20 Jun 2007 09:48:35 +0100 Message-ID: <4678e9dc$1_1@mk-nntp-2.news.uk.tiscali.com> References: <46778b23$1_1@mk-nntp-2.news.uk.tiscali.com> <46785077$1_1@mk-nntp-2.news.uk.tiscali.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182332449 11176 80.91.229.12 (20 Jun 2007 09:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2007 09:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 11:40:48 2007 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 1I0wgB-0002X3-RZ for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2007 11:40:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0wgB-0008OW-5c for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2007 05:40:47 -0400 User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 42 X-Original-NNTP-Posting-Host: 80.43.146.211 Original-NNTP-Posting-Host: mk-nntp-2.news.uk.tiscali.com Original-X-Trace: 20 Jun 2007 09:48:30 +0100, mk-nntp-2.news.uk.tiscali.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!news.astraweb.com!newsrouter-eu.astraweb.com!tiscali!newsfeed2.ip.tiscali.net!212.74.112.120.MISMATCH!mk-nntp-1.news.uk.tiscali.com!mk-nntp-2.news.uk.tiscali.com Original-Xref: shelby.stanford.edu gnu.emacs.help:149589 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:45177 Archived-At: Eli Zaretskii wrote: >> Date: Tue, 19 Jun 2007 22:54:07 +0100 >> From: David R >> >> Is there any way I tell tell emacs to use egrep through a cygwin shell >> not a cmd shell? > > Try customizing shell-file-name. > > I have tried for an hour now (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(pr-gs-command "c:\\Program Files\\gs\\gs8.56\\bin\\gswin32c.exe") '(pr-gv-command "C:\\Program Files\\Ghostgum\\gsview\\gsview32.exe") '(ps-paper-type "a4") '(w32shell-add-emacs-to-path nil) '(w32shell-cygwin-bin "C:\\cygwin\\bin") '(w32shell-dynamic-complete-sync-dirs t) '(w32shell-msys-bin "C:\\msys\\1.0\\bin") '(w32shell-shell (quote cygwin) nil nil "this was cygwin and egrep used dos path .now is cmd")) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (require 'w32shell) (setq shell-file-name "cygwin") (setq w32shell-set-shell "cygwin") yet still in the menu are listed in the following order cmd cygwin msys