From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: Modifying many function calls Date: Wed, 27 Oct 2010 12:16:36 +0200 Message-ID: References: <4CC7DEB0.8040401@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1288174738 4453 80.91.229.12 (27 Oct 2010 10:18:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 10:18:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 27 12:18:57 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 1PB35o-00044C-EV for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Oct 2010 12:18:52 +0200 Original-Received: from localhost ([127.0.0.1]:57578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB35n-0002QR-M3 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Oct 2010 06:18:51 -0400 Original-Received: from [140.186.70.92] (port=35569 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB34d-0002K2-Ax for help-gnu-emacs@gnu.org; Wed, 27 Oct 2010 06:17:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB33u-0005LP-7q for help-gnu-emacs@gnu.org; Wed, 27 Oct 2010 06:16:59 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:38482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB33u-0005LF-0o for help-gnu-emacs@gnu.org; Wed, 27 Oct 2010 06:16:54 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PB33n-00038E-PC for help-gnu-emacs@gnu.org; Wed, 27 Oct 2010 12:16:47 +0200 Original-Received: from 137.226.45.110 ([137.226.45.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2010 12:16:47 +0200 Original-Received: from andrea.crotti.0 by 137.226.45.110 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2010 12:16:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 137.226.45.110 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:XRlc5TbLbX/chQ/KicIOPqy1aAo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:75248 Archived-At: Andreas Röhler writes: > Hi, > > wrote years ago the opposite: defining aliases for all prefixed > functions, The alias then was the function name with prefix turned > into suffix. Should exist in the gnu-emacs-sources@gnu.org archive > somewhere. > > Purpose was making completion of function-groups work. > However, would write that differently today probably. > > Also, if you give some info here, it should be possible to put the > script together at this list. > > Questions would be: > > - reside all files with functions to rename in the same directory? > - really all functions to rename? > - only functions to rename, not variables? - actually in the same big org-mode file (unless I call something from some yasnippet snippet, but I don't think) - yes maybe also variables But variables can be assigned to a group also (with defcustom) so it's not so bad - yes really all functions (some have the "my-" prefix but that can be changed easily I think) And since I'm here, why I can't redefine a variable with defcustom? I mean if I do (defcustom x 1) then I want to change it and I write and evaluate (defcustom x 2) then even if I set it to nil and the reevaluate again still it doesn't care. Is that normal?