[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Policy for obsolete funcitons
From: |
Andrea Corallo |
Subject: |
Re: Policy for obsolete funcitons |
Date: |
Fri, 03 Nov 2023 08:41:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <acorallo@gnu.org>
>> Cc: emacs-devel@gnu.org
>> Date: Fri, 03 Nov 2023 06:33:29 -0400
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > It's hard to tell something this general. I suggest to discuss
>> > specific functions you want to rename, if you have a list of them
>> > already.
>>
>> Yes in comp-cstr.el the ones named without the doulbe dash and not
>> mentioned enywhere outside comp-cstr.el itself. To a quick scan using
>> some scripting:
>>
>> comp-cstr-intersection-make, comp-cstr-union-make, comp-cstr-symbol-p,
>> comp-cstr-union-1, comp-cstr-union-homogeneous,
>> comp-cstr-union-homogeneous-no-range, comp-cstr-sub-2, comp-cstr-add-2
>> comp-range-negation, comp-range-intersection, comp-range-union,
>> comp-intersect-typesets, comp-intersect-two-typesets,
>> comp-union-typesets comp-supertypes, comp-normalize-typeset,
>> comp-intersection-valsets comp-union-valsets, comp-normalize-valset,
>> comp-split-pos-neg comp-cstrs-homogeneous, comp-cstr-copy.
>>
>> And similarly in comp.el:
>
> Which one(s) would you want to rename, to what names, and why?
I'd like to rename them all to the comp-- convention. So it's even more
clear they are not for public use, the code will have an homogeneous
naming convention and I'll never have to raise again this discussion
each time I do some maintenance that requires renaming/removal.
Thanks
Andrea