unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: how to recursively grep
Date: Tue, 21 Aug 2012 10:14:34 +0200	[thread overview]
Message-ID: <C6449B12-4DF3-4F98-8973-22B7341CE8C4@Web.DE> (raw)
In-Reply-To: <a08904a0-33ce-461b-bf14-53dddc7c6c4b@qs3g2000pbb.googlegroups.com>


Am 21.08.2012 um 05:23 schrieb rusi:

> What am I doing wrong?

Are you searching at all? Your pages long find command seems to just exclude instead of searching…

In which files do you think the string "charset-map-path" will occur? Then search for these files only:

	M-x find-grep RET
	<insert the search string at the cursor position>
	<insert '-name "*.el.gz ' appropriately>
	<adjust where the search will start, if needed>
	<adjust the grep command to deal with compressed files>
	RET

It also works to search in C source files with '-name "*.[ch]"'.

--
Greetings

  Pete

The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..."
				– Isaac Asimov




  reply	other threads:[~2012-08-21  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21  3:23 how to recursively grep rusi
2012-08-21  8:14 ` Peter Dyballa [this message]
     [not found] ` <mailman.7331.1345536887.855.help-gnu-emacs@gnu.org>
2012-08-21 12:47   ` rusi
2012-08-21 13:46     ` Peter Dyballa

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=C6449B12-4DF3-4F98-8973-22B7341CE8C4@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /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.
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).