From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sun, 03 May 2020 00:12:07 -0400 Message-ID: References: <266155d4-f9c0-8ed3-8df5-32feea171076@yandex.ru> <542564DC-6DD0-41E5-A9CC-365673D68BE0@gmail.com> <93FA1F56-A056-4E17-A468-17829D638FF5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96455"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: joaotavora@gmail.com, Yuan Fu , emacs-devel@gnu.org, dgutov@yandex.ru To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 06:12:49 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jV5zl-000P11-A2 for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 06:12:49 +0200 Original-Received: from localhost ([::1]:60116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV5zk-0000Iy-Co for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 00:12:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV5zF-0008Kp-HI for emacs-devel@gnu.org; Sun, 03 May 2020 00:12:17 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV5zE-0006vi-Gp; Sun, 03 May 2020 00:12:17 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5EB0E100F6C; Sun, 3 May 2020 00:12:15 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4C0EA10077D; Sun, 3 May 2020 00:12:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1588479129; bh=Jm0IeSTocCB6y+u64oexhNvjrmMZo/uq8I1EJV3F+/c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OsovO6s3yrH05r039GlPGUTzh9F0QjH2h1mfGOxJk9IfDIc4Cxm5ryCzGn5v1hcUi Zn0OovtHduM3gkBsxJXz5SO/PKCktFmD0XjbUShHZ3ulI3i6QOQuo9+1saOdB7SZpw MQx9ZRtmjVb1/nDOuU//0vevJx8j4SC66auiMMdzjz+QY8KIdpTsEBabVrnnxyyScq Xc2lOxggJph27+aE+Ii14owhWxHO4AN9a0UeZN8QckVtY0KEElH3fyTF3MQlB/RrON 45slPLWpIRVuj4tBK5eYpgsQAl8wtLTlochNMs0muWwzQebweK1wZgVWvMy3wy098l Pml3vETUZuEKQ== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BADC51204BB; Sun, 3 May 2020 00:12:08 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Sat, 02 May 2020 23:39:11 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 23:26:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248633 Archived-At: > I think this is mostly good. However, string-match does not search > the string. It tries to match only at the start of the string. No, it searches. M-: (and (string-match "a." "Richard") (match-string 0 "Richard")) "ar" -- Stefan