GNU bug report logs - #23219
25.0.92; Find command cannot be customized for grep-find

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 4 Apr 2016 20:39:02 UTC

Severity: normal

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 23219 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23219 <at> debbugs.gnu.org
Subject: Re: bug#23219: 25.0.92; Find command cannot be customized for
 grep-find
Date: Tue, 5 Apr 2016 18:12:46 +0300
On 04/05/2016 06:01 PM, Eli Zaretskii wrote:

> -(defvar grep-program (purecopy "grep")
> +(defcustom grep-grep-program (purecopy "grep")

I didn't mean to suggest renaming the variables. At the very least, we'd 
need obsolete aliases, as they're likely to be used in some third party 
code.

Also, grep-grep-program looks weird.

>    "The default grep program for `grep-command' and `grep-find-command'.
> -This variable's value takes effect when `grep-compute-defaults' is called.")
> +This variable's value takes effect when `grep-compute-defaults' is called."
> +  :type 'string
> +  :set 'grep-apply-setting

Does grep-apply-setting expect the new variables? Its docstring disagrees.




This bug report was last modified 9 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.