unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* behaviour change in cl-subseq
@ 2015-08-05 12:14 Phillip Lord
  2015-08-06  0:10 ` Leo Liu
  2015-08-06  8:08 ` Nicolas Petton
  0 siblings, 2 replies; 14+ messages in thread
From: Phillip Lord @ 2015-08-05 12:14 UTC (permalink / raw)
  To: emacs-devel


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.

Phil




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-08-21  0:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 12:14 behaviour change in cl-subseq Phillip Lord
2015-08-06  0:10 ` Leo Liu
2015-08-06  6:11   ` Tassilo Horn
2015-08-06  9:34   ` Phillip Lord
2015-08-06  9:48     ` Leo Liu
2015-08-07 14:00       ` Phillip Lord
2015-08-07 14:26         ` Nicolas Petton
2015-08-07 15:51           ` Phillip Lord
2015-08-07 16:08             ` Nicolas Petton
2015-08-07 21:23               ` Phillip Lord
2015-08-08 19:56                 ` Nicolas Petton
2015-08-20 20:50           ` Phillip Lord
2015-08-21  0:02             ` Artur Malabarba
2015-08-06  8:08 ` Nicolas Petton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).