GNU bug report logs -
#50502
grep-command cannot be set as a cons of the command and the point position
Previous Next
Reported by: Yuchen Pei <hi <at> ypei.me>
Date: Fri, 10 Sep 2021 10:31:02 UTC
Severity: normal
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 50502 <at> debbugs.gnu.org (full text, mbox):
Yuchen Pei <hi <at> ypei.me> writes:
> But not the following:
>
> (setq grep-command '("grep -inRH --color -A1 -B1 -E ." . 31))
>
> as emacs would complain that grep-command is not a string, even though
> both use read-shell-command for the command reading.
Extending grep-command to allow it to specify where point should be
sounds like a good idea, but `grep-command' is used extensively both in
Emacs and (I'd guess) in external packages, so I think adding that
functionality that way is probably a lot of work. (But I could be
wrong.)
Adding a new user option that says where point should be is probably a
lot less work -- `grep-command-point' or something.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.