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: Re: behaviour change in cl-subseq Date: Fri, 07 Aug 2015 16:51:25 +0100 Message-ID: <87wpx785c2.fsf@newcastle.ac.uk> References: <87pp32orsy.fsf@newcastle.ac.uk> <87zj242224.fsf@newcastle.ac.uk> <87si7v9p1l.fsf@newcastle.ac.uk> <87fv3v89af.fsf@blueberry.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438962711 15571 80.91.229.3 (7 Aug 2015 15:51:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2015 15:51:51 +0000 (UTC) Cc: Leo Liu , emacs-devel@gnu.org To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 07 17:51:46 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 1ZNjvu-0002C7-0p for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 17:51:46 +0200 Original-Received: from localhost ([::1]:49638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNjvt-0000gb-C3 for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 11:51:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNjvg-0000gS-JD for emacs-devel@gnu.org; Fri, 07 Aug 2015 11:51:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNjvb-00062P-4B for emacs-devel@gnu.org; Fri, 07 Aug 2015 11:51:32 -0400 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:51219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNjva-00061e-U3 for emacs-devel@gnu.org; Fri, 07 Aug 2015 11:51:27 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZNjvZ-0005OR-Co; Fri, 07 Aug 2015 16:51:26 +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 1ZNjvZ-0001IU-Rk; Fri, 07 Aug 2015 16:51:25 +0100 In-Reply-To: <87fv3v89af.fsf@blueberry.home> (Nicolas Petton's message of "Fri, 7 Aug 2015 16:26:00 +0200") 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.12 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:188561 Archived-At: Nicolas Petton writes: > Phillip Lord writes: > >> Was working through this, and found this behaviour. >> >> ;; error >> (seq-subseq '() 10 10) >> >> ;; nil >> (seq-subseq '() -10 -10) >> >> So, a bounding box error when the index is too large, but it is silently >> ignored when too low. >> >> Not convinced this makes sense. > > Indeed, it doesn't. Do you want to push a patch for it? Yes, will do. My expectation is this: ;; error (seq-subseq '() 10 10) ;; (same) error (seq-subseq '() -10 -10) You agree? Phil