[Top][All Lists]

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

Re: behaviour change in cl-subseq

From: Nicolas Petton
Subject: Re: behaviour change in cl-subseq
Date: Thu, 06 Aug 2015 10:08:18 +0200
User-agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu)

Phillip Lord <address@hidden> writes:

> I've just had a bug report for pabbrev. The root cause is a change in
> the implementation of cl-subseq. 
> In Emacs 24:
> (cl-subseq '() 10 10) ;; nil
> While in Emacs 25
> In Emacs 25 `cl-subseq' has been redefined in terms of seq-subseq.
> (seq-subseq '() 10 10) ;; errors
> (cl-subseq '() 10 10) ;; errors
> Which is a reasonably substantial change in the interface of cl-subseq.
> The actual (exceptional) behaviour of cl-subseq is not documented, so
> it's reasonable, but perhaps not sensible. It's easy to fix in pabbrev
> (and anywhere) in a way which does not require me to probe for Emacs
> versions.
> I offer no opinions, just wanted to check whether this was intended.


The change was apparently intended, and was done in commit

Nicolas Petton

Attachment: signature.asc
Description: PGP signature

reply via email to

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