From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: behaviour change in cl-subseq Date: Wed, 05 Aug 2015 13:14:53 +0100 Message-ID: <87pp32orsy.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438776927 7551 80.91.229.3 (5 Aug 2015 12:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2015 12:15:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 14:15:27 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 1ZMxbS-0005Hn-Sc for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 14:15:27 +0200 Original-Received: from localhost ([::1]:40275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMxbN-0006I6-36 for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 08:15:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMxb2-0006Gb-UK for emacs-devel@gnu.org; Wed, 05 Aug 2015 08:15:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMxax-0001kP-VE for emacs-devel@gnu.org; Wed, 05 Aug 2015 08:15:00 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:58325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMxax-0001jw-Ok for emacs-devel@gnu.org; Wed, 05 Aug 2015 08:14:55 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZMxaw-0002MV-Cz for emacs-devel@gnu.org; Wed, 05 Aug 2015 13:14:54 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZMxav-0004rc-Ui for emacs-devel@gnu.org; Wed, 05 Aug 2015 13:14:53 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 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:188439 Archived-At: 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