emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add an option to not reduce vocabulary of the Japanese


From: Taiju HIGASHI
Subject: Re: [PATCH] Add an option to not reduce vocabulary of the Japanese
Date: Sun, 05 Jun 2022 01:39:00 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

>> > I thought no changes were needed, because one could already say
>> > something like
>> >
>> >   make ja-dic.el JA_DIC_REDUCTION=''
>> >
>> > Wouldn't that work?  Perhaps in lisp/Makefile.in one should make sure
>> > the JA_DIC_REDUCTION value was propagated to the sub-make running in
>> > leim/, but that's all.
>> >
>> > Am I missing something?
>> >
>> > Thanks.
>>
>> I may not have understood it properly.
>>
>> Did you imagine that the special rules for re-generating would be
>> implemented in lisp/Makefile?
>
> The rules for re-generating with and without reduction should be in
> one place, in the same Makefile.
>
>> In that case, are you saying that there is no need to modify the
>> leim/Makefile?
>> Certainly, if that is the case, you may be right.
>>
>> For example, what about the idea of adding regenerate-ja-dic and
>> regenerate-ja-dic-without-reductoin as new special rules in
>> lisp/Makefile?
>
> I'm saying that the same rule could serve both kinds of re-generation,
> because the only difference is the single option passed to the Emacs
> invocation.  We can rely on the user who want to re-generate the
> dictionary to supply the option manually, when invoking Make.
>
> So no separate rules should be necessary.
I see. If that is the case, then the v1 patch may be sufficient. With
the current rules, the dictionary file has to be deleted beforehand by a
gen-clean rule or something to regenerate it, but should I add a rule to
force regeneration even if the dictionary file has already been
generated?

Sorry for my lack of understanding :’(

-- 
Taiju



reply via email to

[Prev in Thread] Current Thread [Next in Thread]