[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.
Hi,
The change was apparently intended, and was done in commit
253d44bd27b7d90b614b6b968a3b125eeb0a48f2
Cheers,
Nico
--
Nicolas Petton
http://nicolas-petton.fr
signature.asc
Description: PGP signature
- Re: behaviour change in cl-subseq, (continued)
- Re: behaviour change in cl-subseq, Phillip Lord, 2015/08/06
- Re: behaviour change in cl-subseq, Leo Liu, 2015/08/06
- Re: behaviour change in cl-subseq, Phillip Lord, 2015/08/07
- Re: behaviour change in cl-subseq, Nicolas Petton, 2015/08/07
- Re: behaviour change in cl-subseq, Phillip Lord, 2015/08/07
- Re: behaviour change in cl-subseq, Nicolas Petton, 2015/08/07
- Re: behaviour change in cl-subseq, Phillip Lord, 2015/08/07
- Re: behaviour change in cl-subseq, Nicolas Petton, 2015/08/08
- Re: behaviour change in cl-subseq, Phillip Lord, 2015/08/20
- Re: behaviour change in cl-subseq, Artur Malabarba, 2015/08/20
Re: behaviour change in cl-subseq,
Nicolas Petton <=