unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [teirllm@dms.auburn.edu: Re: patch for locate.el when called with prefix arg]
Date: Wed, 25 Apr 2007 10:52:16 -0400	[thread overview]
Message-ID: <E1Hgiqu-0003hc-Sw@fencepost.gnu.org> (raw)

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 <teirllm@dms.auburn.edu>
To: rms@gnu.org
CC: emacs-pretest-bug@gnu.org, M.P.Hodges@rl.ac.uk
In-reply-to: <E1HgSg7-0003Nr-9o@fencepost.gnu.org> (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 -------

             reply	other threads:[~2007-04-25 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 14:52 Richard Stallman [this message]
2007-04-26  3:41 ` [teirllm@dms.auburn.edu: Re: patch for locate.el when called with prefix arg] Glenn Morris
2007-04-28 19:32   ` Luc Teirlinck
2007-04-28 19:42     ` Glenn Morris
2007-04-29 21:41       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Hgiqu-0003hc-Sw@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).