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 16:32:56 +0200 Organization: GNU Message-ID: <87liijg4iv.fsf@gnu.org> References: <50038E42.1030508@yandex.ru> <87sjcskvow.fsf@gnu.org> <50041125.9060306@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342449161 30101 80.91.229.3 (16 Jul 2012 14:32:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 14:32:41 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 16:32:41 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 1SqmLo-0005LP-0U for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 16:32:40 +0200 Original-Received: from localhost ([::1]:42546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqmLn-0001Kp-Bp for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 10:32:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqmLl-0001Kg-4t for emacs-devel@gnu.org; Mon, 16 Jul 2012 10:32:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqmLZ-0005TK-D8 for emacs-devel@gnu.org; Mon, 16 Jul 2012 10:32:37 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:33134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqmLZ-0005Su-5z for emacs-devel@gnu.org; Mon, 16 Jul 2012 10:32:25 -0400 Original-Received: by wibhm11 with SMTP id hm11so2099581wib.12 for ; Mon, 16 Jul 2012 07:32:23 -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=8DjnsRuHLGpQL8eWcO9+c5WrsACnRffJ+A9m7YJD0Ck=; b=gOGl/EFAv/0QWrYpzsOmN1OGznTkRdybqyZWakmKlQmW77rKYvXs+8uBTQr/aJtV6/ T3JEdJwaD30qhrLAEOAT6DwPbWH0+cfNYCr3h242CxDn0dQ4KrFPLdiysoQGsnwMrGxa uYQGV1h/zgrjteGsBF3RfmdBP98IZrBxdf4Ud34twXCfsJUwWqoHaLxwmptpFq0HegTW nITNnt+qC02mR/oL3brGagnVLGC0GI7AvCpj3HnhdV1DcjjYVa1hYdENQecKo2djZowK VD8BCxyBaQ3xDL2U46q5N3ks3mcSUUdMYVBG+S1WIvvH/4TUzH83UQJaXimJ3uf9H78B Sa/Q== Original-Received: by 10.216.141.213 with SMTP id g63mr6602373wej.34.1342449143597; Mon, 16 Jul 2012 07:32:23 -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 fb20sm32159967wid.1.2012.07.16.07.32.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jul 2012 07:32:22 -0700 (PDT) Original-Received: by myhost.localdomain (Postfix, from userid 1000) id 16E8B8207; Mon, 16 Jul 2012 16:32:56 +0200 (CEST) In-Reply-To: <50041125.9060306@yandex.ru> (Dmitry Gutov's message of "Mon, 16 Jul 2012 17:03:33 +0400") 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: 209.85.212.177 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:151666 Archived-At: Dmitry Gutov writes: >> Which behavior? The one I expect? > > Yes. For example, JS, Ruby, Python and apparently C++ do. Good to know, thanks. -- Bastien