[latex3-commits] [l3svn] 02/04: "deprecated" here causes an error ... [ci skip]

Bruno Le Floch blflatex at gmail.com
Sat May 13 19:47:29 CEST 2017


On 05/13/2017 12:44 PM, Joseph Wright wrote:
> On 13/05/2017 16:13, Bruno Le Floch wrote:
>>> I wanted to ship and the logic wasn't clear, so I've 'forced' the issue.
>>> To me, putting in the date _when something is deprecated_ seems logical:
>>> the date for removal is a policy decision that should appear at most
>>> once in any code (in l3doc).
>>>
>>> Joseph
>>>
>>
>> While I agree "deprecated = <date-where-it-will-be-removed>" is
>> illogical, I don't understand in what sense anything is duplicated by
>> doing that.  What markup would you like?  I guess one option would be to do
>>
>>    \begin{macro}[deprecated = 2017-04-05]{...}
>>
>> and make l3doc complain if the current year is > (year+1).
> 
> What's duplicated is the decision about the time gap between 'marked for
> removal' and 'actually should be removed'. If you put in the date of the
> 'marked for removal' case, any change in the time between that and the
> second case is only in l3doc. On the other hand, if you mark with 'date
> actually to be removed', any change of policy means tracking each one
> down and adjusting by hand.
> 
>> By the way, I'm not complaining about what you did removing the date,
>> just trying to figure out how to set things up better.
> 
> Understood.
> 
> Joseph

Ok, I'll change to date deprecated and make l3doc complain if current
year > year+1.  So something deprecated now is to be deleted at the end
of 2018.  Expect commits soon.

Bruno



More information about the latex3-commits mailing list