[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modifying many function calls
From: |
Andrea Crotti |
Subject: |
Re: Modifying many function calls |
Date: |
Wed, 27 Oct 2010 12:16:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) |
Andreas Röhler <andreas.roehler@easy-emacs.de> 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?