From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [teirllm@dms.auburn.edu: Re: patch for locate.el when called with prefix arg] Date: Wed, 25 Apr 2007 10:52:16 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1177513133 3443 80.91.229.12 (25 Apr 2007 14:58:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 14:58:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 16:58:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgixG-0005AY-DA for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 16:58:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hgj2t-0005Py-BR for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 11:04:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgizC-0003Ji-9w for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgizB-0003Ih-Bj for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgizA-0003IL-Nh for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:48 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgitX-0001q4-1b for emacs-devel@gnu.org; Wed, 25 Apr 2007 10:54:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hgiqu-0003hc-Sw; Wed, 25 Apr 2007 10:52:16 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:70109 Archived-At: Someone please install this. ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.0 Date: Tue, 24 Apr 2007 19:16:38 -0500 (CDT) From: Luc Teirlinck To: rms@gnu.org CC: emacs-pretest-bug@gnu.org, M.P.Hodges@rl.ac.uk In-reply-to: (message from Richard Stallman on Tue, 24 Apr 2007 17:36:03 -0400) Subject: Re: patch for locate.el when called with prefix arg Maybe the following slightly different patch is better. Only two words difference woth the original: GNU locate is referred to as a "program" rather than as a command, to distinguish it from the Emacs command `locate' mentioned later and `locate-in-alternate-database' is now referred to as a "command" rather than function. ===File ~/locate-diff======================================= *** locate.el 23 Apr 2007 18:54:38 -0500 1.44 - --- locate.el 24 Apr 2007 19:09:37 -0500 *************** *** 669,675 **** ;; Only for GNU locate (defun locate-in-alternate-database (search-string database) ! "Run the GNU locate command, using an alternate database." (interactive (list (progn - --- 669,680 ---- ;; Only for GNU locate (defun locate-in-alternate-database (search-string database) ! "Run the GNU locate program, using an alternate database. ! ! This command only works if you use GNU locate. It does not work ! properly if `locate-prompt-for-command' is set to t. In that ! case, you can just run the regular `locate' command and specify ! the database on the command line." (interactive (list (progn ============================================================ ------- End of forwarded message -------