From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glen Stark Newsgroups: gmane.emacs.help Subject: Search within function for text Date: Tue, 24 Mar 2015 13:28:16 GMT Organization: Easynews - www.easynews.com Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1427203829 8997 80.91.229.3 (24 Mar 2015 13:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2015 13:30:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 24 14:30:29 2015 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 1YaOuY-0001j1-Un for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2015 14:30:27 +0100 Original-Received: from localhost ([::1]:60787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaOuX-00057Z-Nf for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2015 09:30:25 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!81.171.118.62.MISMATCH!peer02.fr7!news.highwinds-media.com!post02.fr7!fx24.am4.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Original-Lines: 12 Original-X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. X-Received-Body-CRC: 4155203089 X-Received-Bytes: 1222 Original-Xref: usenet.stanford.edu gnu.emacs.help:211006 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:103287 Archived-At: Hi Everyone. I would like to find all occurences of a bit of text that fall within a certain function name. I'm programming in C++, and several classes have their own implementations of foo(), and I'd like to find all occurrences of the string "bar" within functions named "foo()". Does anyone know of a way I can do this? cheers, Glen