From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: `rgrep' not working Date: Mon, 01 Dec 2014 03:17:03 +0100 Organization: Aioe.org NNTP Server Message-ID: <87zjb8t8ps.fsf@debian.uxu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417400425 7007 80.91.229.3 (1 Dec 2014 02:20:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 02:20:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 03:20:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XvGb4-0000uP-1A for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2014 03:20:18 +0100 Original-Received: from localhost ([::1]:52528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvGb3-0002ij-Gk for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 21:20:17 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:1lWgewA/VKsxc+0CGYyYFs5Vmo0= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:209061 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101340 Archived-At: Massimo Gengarelli writes: > Everytime I try to run it, I receive a weird error > like: `Symbol's function definition is void: \,' What input do you give it? (When the prompt says "Search for (something): ", what do you type before you hit RET?) > Please note that `grep-find', `lgrep' and `ag' are > all working properly. I am not using any weird > plugin for grep, and the issue is reproducible even > without loading my init.el file (i.e., running emacs > -Q). If you provide us with more information, we'll try to reproduce it as well :) > Since I'm quite a newbie with Emacs, could you > please help me in debugging? I thought that rgrep > was an user-friendly version of `grep-find', but I > think I was wrong since the latter is working. :-) I don't think that is it. `rgrep' has another interface. The "r" is either "recursive" or, more likely, "regular expression" or "regexp" as it is called in the help for rgrep. Which I think is the key to your problem, because you probably gave it some strange input which isn't interpreted literally. > I also tried the following: > >> C-h f rgrep With C-u prefix, you can edit the >> constructed shell command line before it is >> executed. With two C-u prefixes, directly edit and >> run `grep-find-command'. Meta: It is a good idea to find some other way to quote arbitrary material, because that which you just used will be interpreted as a citation from a previous poster and by some clients even hidden by default. > But apparently the issue is at an higher level as I > am not able to edit the constructed shell command > line. The two C-u prefixes are working fine though. > > Is there something I am missing? I think so: again, what input do you give it? I think if you tell us that the problem will be instantly solved :) -- underground experts united