[Top][All Lists]

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

Re: project.el semantics

From: Dmitry Gutov
Subject: Re: project.el semantics
Date: Sun, 22 Nov 2015 07:58:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0

On 11/22/2015 07:43 AM, John Wiegley wrote:

Could you clarify? I thought the metadata approach give us a freedom that
implied the exact opposite, compared to a recursive vs. non-recursive only

A sloppy consumer of the API can disregard the "recursiveness" metadata key, and traverse the directories in only one of the possible ways. For instance, Stephen is used to non-recursive traversal of directories, in Ada projects. So he could write commands that do not support recursive traversal (maybe left as a TODO), but would still work fine with his Ada project backend. As a result, their universal applicability would be limited.

Or, vice versa, some other third-party package can only expect the "recursive" kind of directories, and traverse them that way. That would work fine on most projects out there, but would lead to undesirable effects if someone tried to use it with the Ada backend.

IME, freedom rarely implies correctness.

reply via email to

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