From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: Why (substring "abc" 0 4) does not return "abc" instead of an error? Date: Mon, 16 Jul 2012 17:49:49 +0200 Organization: GNU Message-ID: <87629nd7tu.fsf@gnu.org> References: <50038E42.1030508@yandex.ru> <87liij3l8f.fsf@kuiper.lan.informatimago.com> <87r4sbeplm.fsf@altern.org> <87hat73g4l.fsf@kuiper.lan.informatimago.com> <87ehobd7zi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342453771 5573 80.91.229.3 (16 Jul 2012 15:49:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 15:49:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Pascal J. Bourguignon" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 17:49:30 2012 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 1SqnY9-0003vk-T0 for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 17:49:30 +0200 Original-Received: from localhost ([::1]:35054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqnY9-0006Ov-8I for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 11:49:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqnY3-0006Nd-U2 for emacs-devel@gnu.org; Mon, 16 Jul 2012 11:49:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqnXx-0003Br-C7 for emacs-devel@gnu.org; Mon, 16 Jul 2012 11:49:23 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:58871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqnXx-0003Bm-6y for emacs-devel@gnu.org; Mon, 16 Jul 2012 11:49:17 -0400 Original-Received: by wgbez12 with SMTP id ez12so3690908wgb.30 for ; Mon, 16 Jul 2012 08:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references :user-agent:date:message-id:mime-version:content-type; bh=Koi3VNOubI7AQFQAaMwfDTxBH6iW2cTUlSmr1dxCgWQ=; b=u7I0nqI5QQLOIM6WGESugPZwEuV8TIJWQSkyvzz4G6KY30bR0zUi/5IfyYFdo62drV 5Aw82Be1558rnslLgJbwP5bimew13hrOOM24Mu6Fltsk3Rk+Xnx3QXLAZ+ykBv0qVbo4 CvKbtjbdBKKPnt+Cl8p7LQxT55gJRVMbamRqXQwUXfi5sLJ/AJ2CIZAvx74Gk7ZCn+nW 34ZRzNBMl/DIJBRPPG3PeT125e8BliDzWnsUYCU+39fnV2cb4HYnFxa9qdQm8d1js8lr aY3W0IqM3FzRGhzI8JmUJn5Kooc/yw/DQepkcRYVuKkuyQ6jI6yzoGfw6tnJrykfm5pn diPw== Original-Received: by 10.180.93.68 with SMTP id cs4mr19189041wib.14.1342453756413; Mon, 16 Jul 2012 08:49:16 -0700 (PDT) Original-Received: from myhost.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPS id bc2sm32582138wib.0.2012.07.16.08.49.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jul 2012 08:49:15 -0700 (PDT) Original-Received: by myhost.localdomain (Postfix, from userid 1000) id E63988207; Mon, 16 Jul 2012 17:49:49 +0200 (CEST) In-Reply-To: <87ehobd7zi.fsf@gnu.org> (Bastien's message of "Mon, 16 Jul 2012 17:46:25 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 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:151673 Archived-At: Bastien writes: > I'm not interested in doing crazy stuff, I'm interested in > > (substring "abc" 0 4 t) > => "abc" > > where `t' is the value of an option third NOERROR argument. ^^^^^ Fourth, actually. -- Bastien