From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: locate-with-filter Date: Tue, 14 Mar 2006 23:37:16 -0600 (CST) Message-ID: <200603150537.k2F5bGA04660@raven.dms.auburn.edu> References: <200603122359.k2CNxE111892@raven.dms.auburn.edu> <200603140255.k2E2tFs05130@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142401406 15134 80.91.229.2 (15 Mar 2006 05:43:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 05:43:26 +0000 (UTC) Cc: pbreton@cs.umb.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 15 06:43:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJOmx-0006zU-33 for ged-emacs-devel@m.gmane.org; Wed, 15 Mar 2006 06:43:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJOmw-0001VK-Gj for ged-emacs-devel@m.gmane.org; Wed, 15 Mar 2006 00:43:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJOmY-0001R9-Et for emacs-devel@gnu.org; Wed, 15 Mar 2006 00:42:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJOmW-0001QQ-Pp for emacs-devel@gnu.org; Wed, 15 Mar 2006 00:42:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJOmV-0001QG-Rs for emacs-devel@gnu.org; Wed, 15 Mar 2006 00:42:48 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FJOqo-0004b3-Hq; Wed, 15 Mar 2006 00:47:14 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.13.3+Sun/8.13.3) with ESMTP id k2F5gXbg002234; Tue, 14 Mar 2006 23:42:33 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id k2F5bGA04660; Tue, 14 Mar 2006 23:37:16 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 14 Mar 2006 11:09:48 -0500) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.1 (manatee.dms.auburn.edu [131.204.53.104]); Tue, 14 Mar 2006 23:42:33 -0600 (CST) 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:51644 Archived-At: Richard Stallman wrote: Could you check what the current version does? It treats the search string as a shell pattern in a non-standard way, which is different from both the way `bash' and `find' treat shell patterns. But there are several other maintained and widely used locate variants out there that treat the search string as an ordinary string and optionally as a regexp. Basically, if people use a locate program, they should either pass it only strings without any special characters or read the docs. In my latest patches, which I send separately, I just talk about "matching" SEARCH-STRING and refer to the docs for details. Anything else is just likely to cause a lot more confusion than help to most people. The Info documentation I have installed says that locate treats SEARCH-STRING as a shell pattern. The man page says that it treats it as a literal string, but that it has an option to treat it as a POSIX regular expression instead. The actual behavior matches the man page. Would you please report this bug? I believe that it is a local problem rather than a bug. I somehow just have Info files installed that do not match my actual locate variant. Sincerely, Luc.