GNU bug report logs - #60024
28.2; rgrep as part of function don't work

Previous Next

Package: emacs;

Reported by: Einar Largenius <jaadu <at> lysator.liu.se>

Date: Mon, 12 Dec 2022 22:15:02 UTC

Severity: normal

Tags: confirmed, patch

Found in versions 29.0.60, 28.2

Fixed in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Einar Largenius <jaadu <at> lysator.liu.se>, 60024 <at> debbugs.gnu.org
Subject: Re: bug#60024: 28.2; rgrep as part of function don't work
Date: Mon, 12 Dec 2022 16:32:30 -0800
[Message part 1 (text/plain, inline)]
tags 60024 + patch confirmed
found 60024 29.0.60
thanks

Einar Largenius <jaadu <at> lysator.liu.se> writes:

> I have the following function:
>
> (defun search-journal (regexp)
>   "Searches journal for `regexp'."
>   (interactive "sSök i journalen: ")
>   (rgrep regexp "* .*" org-directory))
>
> When I run it after startup. It gives me an error:
>
> rgrep-default-command: Wrong type argument: stringp, nil
>
> After I run M-x rgrep<RET>C-g. The above command works just fine. I
> tested with emacs -Q and the same thing happens.

Could you please test the attached patch and see if it fixes your
problem?

Thanks.
[0001-Fix-bug-when-calling-rgrep-non-interactively.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 217 days ago.

Previous Next


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