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 15:00:22 +0100 Message-ID: <87si7v9p1l.fsf@newcastle.ac.uk> References: <87pp32orsy.fsf@newcastle.ac.uk> <87zj242224.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438956065 31492 80.91.229.3 (7 Aug 2015 14:01:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2015 14:01:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 07 16:00:54 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 1ZNiCc-0006RY-3M for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 16:00:54 +0200 Original-Received: from localhost ([::1]:49279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiCb-00012t-N7 for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 10:00:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiCB-00011l-A5 for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:00:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNiC8-00072J-1Z for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:00:27 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:40162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiC7-000724-RK for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:00:23 -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 1ZNiC6-0004JW-Fi; Fri, 07 Aug 2015 15:00:22 +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 1ZNiC6-0006vG-PW; Fri, 07 Aug 2015 15:00:22 +0100 In-Reply-To: (Leo Liu's message of "Thu, 6 Aug 2015 17:48:59 +0800") 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:188541 Archived-At: Leo Liu writes: > On 2015-08-06 17:34 +0800, Phillip Lord wrote: >> Fortunately, Tassilo has answered this; I've never used CL. > > I answered it in a hurry before going to work :( > >> I agree that this change is entirely justifiable. I'm generally not a >> huge fan of silently ignoring inaccurate arguments. If you are happy >> with the changed interface, then I have no major problem, although it >> may break packages besides mine. > > The old behaviour was odd and inconsistent (try it on []). > >> Do you mind if I patch the docstrings, though? > > Not at all. 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. Phil