From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: behaviour change in cl-subseq Date: Thu, 06 Aug 2015 10:08:18 +0200 Message-ID: <87a8u4x2j1.fsf@blueberry.home> References: <87pp32orsy.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1438848548 27968 80.91.229.3 (6 Aug 2015 08:09:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 08:09:08 +0000 (UTC) To: Phillip Lord , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 10:08:58 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNGEO-0000YT-QI for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 10:08:53 +0200 Original-Received: from localhost ([::1]:43863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNGEN-0005a1-Tg for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 04:08:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNGE0-0005Ww-AI for emacs-devel@gnu.org; Thu, 06 Aug 2015 04:08:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNGDu-0003dz-KJ for emacs-devel@gnu.org; Thu, 06 Aug 2015 04:08:28 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:43730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNGDu-0003a7-HP for emacs-devel@gnu.org; Thu, 06 Aug 2015 04:08:22 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2D6EB204DB for ; Thu, 6 Aug 2015 04:08:21 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 06 Aug 2015 04:08:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=iESe0Z33x+8rJJnxbUiMRaVvNGw=; b=kg1lE 0QYEd1slaM/i4wD9U471VD7xgDeQho2x7pnHB6jUE9R4rkL/xIUiopRq240D9Acm NAUEOTZO8wG2VNVD9DjzRBPKRv+Y/mbkFwmWh+BbuYcRR69PzVK6IpWOOnOm3wCM 8j+eFFNsrlYqxO+aDejASnvOVU/deyn09wzgF4= X-Sasl-enc: Dh5Rcg1K/2fgFQ12LgQ64z98ig9vupm4jv5vkhrh7jr0 1438848500 Original-Received: from blueberry.home (arennes-658-1-85-117.w90-32.abo.wanadoo.fr [90.32.68.117]) by mail.messagingengine.com (Postfix) with ESMTPA id 8E83DC00017; Thu, 6 Aug 2015 04:08:20 -0400 (EDT) In-Reply-To: <87pp32orsy.fsf@newcastle.ac.uk> User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188481 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Phillip Lord writes: > I've just had a bug report for pabbrev. The root cause is a change in > the implementation of cl-subseq.=20 > > 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 =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJVwxXzAAoJECM1h6R8IHkQgQEH/iLCk5JuY4/uAwJ7TKjj2LxK xgUd+V1Mr3jY1lwuCrBxrtFRDt+ZvErMRyg/E3+1u/WArXtbSmz50xL/a9gop3Xj 5VD+u7LYmF2XzTIZSuxEYOqf+2UUDqsvrihQsvEphtdjdurHOa+yJvRov+oEnC9c m8woRfBdF5zRpnGulToYzqf+UpW1RCyzMAuQVD2alfea2zh90e7TzwZcxEsWvaFb ty+so2HbMux/H6VDxNS9eX48kyQJi7NcpMOzuDW0LY9WPP6QZEqTxs61fkpWo04b s5PHEKBTavZXeuvS5Lt7nt5Pg6yXm5dohQ73/fX/Sk0NUEkKwjQ9WXnwXNcXy/A= =wgup -----END PGP SIGNATURE----- --=-=-=--