From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: compile.el::grep-program - should it use egrep instead of grep? Date: Wed, 07 Sep 2005 22:41:30 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1126148458 23613 80.91.229.2 (8 Sep 2005 03:00:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2005 03:00:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 08 05:00:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDCds-000867-Pm for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2005 05:00:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDCds-0003Lr-9W for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2005 23:00:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDCSv-0006zv-Rg for emacs-devel@gnu.org; Wed, 07 Sep 2005 22:48:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDCSh-0006q8-He for emacs-devel@gnu.org; Wed, 07 Sep 2005 22:48:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDCSg-0006m3-6d for emacs-devel@gnu.org; Wed, 07 Sep 2005 22:48:27 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EDCRv-00086D-8Z for emacs-devel@gnu.org; Wed, 07 Sep 2005 22:47:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EDCLy-00040U-My; Wed, 07 Sep 2005 22:41:30 -0400 Original-To: Jari Aalto In-reply-to: (message from Jari Aalto on Wed, 07 Sep 2005 10:05:13 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42735 Archived-At: There is (defvar grep-program "egrep" ...) in compile.el, No there isn't. The default value of grep-program is "grep" or "zgrep". What version are you looking at? but in some systems the grep is the old one, which does not provide the extended syntax. Would it be possible to set this by default to 'egrep'? Sorry, no. Emacs's regexp syntax is based on the grep syntax rather than the egrep syntax.