On 10 Oct 2015 8:50 am, "David Kastrup" <dak@gnu.org> wrote:
> > 2. You need to depend on cl-lib 0.5 and require it (probably at compile
> > time).
>
> Why? It's autoloaded.
Sorry, didn't realise those macros are autoloaded. Só you only need to depend on it (or on a recent enough emacs version).
> The problem is more that I am fuzzy on what
> Emacs versions to require here if any. Until rather recently, Emacs
> tended to lose events placed into unread-command-events when they were
> arriving not one-by-one. With many MIDI input applications (but not
> necessarily all) that's going to end up a problem.
I see. If this bug is bearable, I would require an emacs version as low as possible. If the bug is game breaking, I would depend on a version that fixed the bug. Ultimately it's up to you.
If you choose the second option and there's no released version without the bug, then it would be polite to wait for the next release.
> If I require a sufficiently new Emacs version, the cl-lib dependency should be a non-issue.
Yes. I _think_ 24.3 was the first to bundle cl-lib. But I never know for sure, so I just include cl-lib in my dependencies and move on with it. There's really no harm in being expressive.
Best,
Artur