From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glauber Alex Dias Prado Newsgroups: gmane.emacs.help Subject: Re: Modifying many function calls Date: Tue, 26 Oct 2010 17:07:00 -0200 Message-ID: <87r5fcwz6z.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288123419 8435 80.91.229.12 (26 Oct 2010 20:03:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 20:03:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andrea Crotti Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 26 22:03:38 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PApji-0007BO-0G for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Oct 2010 22:03:36 +0200 Original-Received: from localhost ([127.0.0.1]:54210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PApjT-0006pa-Bm for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Oct 2010 16:02:55 -0400 Original-Received: from [140.186.70.92] (port=34455 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PApd9-0006xn-77 for help-gnu-emacs@gnu.org; Tue, 26 Oct 2010 15:56:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PApcz-0005l0-FB for help-gnu-emacs@gnu.org; Tue, 26 Oct 2010 15:56:14 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:43773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PApcz-0005kq-Cu for help-gnu-emacs@gnu.org; Tue, 26 Oct 2010 15:56:13 -0400 Original-Received: by gwb11 with SMTP id 11so256835gwb.0 for ; Tue, 26 Oct 2010 12:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :face:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=eQVGQzuZ19NKzxE9D0jaZDzsEOt+f17uCsTsW474qNE=; b=g+YIpuL0ul5/8lv95bZAvtp+OvX2cDRwJExP+YBg38K7QwSIrclSgQ/Bg7LX0PRKPM nELdf0y3uxE6J1EeEYAMW2qC5TucozJlkacB7N++Ba51fE/PMsAZDAqWoEQ3/oCOX2R7 YDmkq7iFjE/9CIHbzTCTipp1VLCDR9RLssRAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=TGNCmZ259fyfFupx9o+o6X6h6sz4dHUgHuAHSyy1KC2ItI0OUiGtbna7wOaAK6ucTD nKMU90PAaLheCExZfuPwop3tJjHxvRpx3Npp6kAjecEqinyn+w/G4sBsPG1yZAAsmpPo PXkPRoFQYodMAAjHDmB3rpxgW/s//wWTTzL20= Original-Received: by 10.151.110.8 with SMTP id n8mr14167209ybm.86.1288122972226; Tue, 26 Oct 2010 12:56:12 -0700 (PDT) Original-Received: from localhost ([200.234.211.142]) by mx.google.com with ESMTPS id f50sm6886551yhc.38.2010.10.26.12.56.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 Oct 2010 12:56:11 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEX9/Py9sZ6FcE5gCec3 AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAwAAAAMADO7oxXAAABGklEQVQoz02RPW6E MBCFx6uQwlWKJQUHSJFTUKUmUowiVylWSOtT7BEoshRUKQCt3ykz4x+wKfCnGea9eRDxUX8UjzIX qpYMDlsPE6EC0ANjBL5NwBqg7j36Fb4LAIPZAGHGG8PG4AXeeQBmfsYdvA2gBbBaLGcWtQEc/FPL tU8hx9IC1AhZTEFK8U3gFjd4BQYgtKmf2Nmm3ZQIB6+aF3VsPUAzipEIA3gMNsiLDbWk5jSgeVD3 bDMsvOEVse1FDP2ecijUoyNMKcoTJ+AyEH+r55yrmLoXQKaE+lFAU1b0tYSyTfsCqq8S0u87h9EJ hpB6Gq0vopOMKtlyF3XdUSH9TZW90d5XuzaLuOl+GNDYDtMqJpXOBzv7B2mugjLxx2cLAAAAQnRF WHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVh bGl0eSA9IDEwMAowBf9PAAAAJXRFWHRjcmVhdGUtZGF0ZQAyMDA5LTA1LTI2VDA3OjM2OjUwLTAz OjAw8P7KDgAAABF0RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5n LWZhY3RvcgAyeDIsMXgxLDF4MUn6prQAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDUtMjZUMDc6 MzY6NTAtMDM6MDCvT7w6AAAAAElFTkSuQmCC In-Reply-To: (Andrea Crotti's message of "Tue, 26 Oct 2010 11:55:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75240 Archived-At: the easiest but perhaps not the best is replace-string there is also some command that can do the same but recursing on a dir, i dont remember which. Andrea Crotti writes: > Andrea Crotti writes: > >> I would like to finally prepend a prefix to all my personal functions. >> Since they are 80 at the moment I would like to do it automatically. >> >> For the (defun fun) part is easy, but what about all the places when >> they are called? >> >> I should loop on all the >> (defun fun) and substitute all the occurrences of fun every time, what's >> the best way to do it with Emacs? >> >> Thanks, >> Andrea > > I was also seeing if semantic can help, but if I go on any of the > functions and I try > M-x RET semantic-symref, I don't anything, even if there are actually > calls to that function and semantic is working fine.