From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification Date: Tue, 09 May 2017 16:05:05 +0200 Message-ID: <87y3u6t9bi.fsf@drachen> References: <6870A2B6-F685-4955-9C0A-256601DB47BC@gmail.com> <51D5E92C-F125-4ADE-8C55-E3513C00ECDC@gmail.com> <8F6958D6-3E13-4C31-B1F8-AF10A8FC8FC6@gmail.com> <838tmafigi.fsf@gnu.org> <7C79DA34-96F2-4D9F-9E9C-01574AE00F12@gmail.com> <8360hefepp.fsf@gnu.org> <0E129E02-FA64-4664-825B-8854A66CA9C6@gmail.com> <3D0BA0E6-02E2-4E90-8A59-121065547E1C@gmail.com> <87ziepho0q.fsf@gnu.org> <83vapderm3.fsf@gnu.org> <87vapdhi9j.fsf@gnu.org> <83tw4xeorf.fsf@gnu.org> <83vapbctij.fsf@gnu.org> <87vapb9dd8.fsf@gnu.org> <877f1qutfq.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494338727 21252 195.159.176.226 (9 May 2017 14:05:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 May 2017 14:05:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: mvoteiza@udel.edu, Eli Zaretskii , emacs-devel@gnu.org, Johan =?utf-8?Q?Bockg=C3=A5rd?= , tino.calancha@gmail.com To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 09 16:05:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d85lN-0005FL-PN for ged-emacs-devel@m.gmane.org; Tue, 09 May 2017 16:05:17 +0200 Original-Received: from localhost ([::1]:37435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d85lR-00024J-Nf for ged-emacs-devel@m.gmane.org; Tue, 09 May 2017 10:05:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d85lD-0001vh-K5 for emacs-devel@gnu.org; Tue, 09 May 2017 10:05:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d85lA-0007Ts-G6 for emacs-devel@gnu.org; Tue, 09 May 2017 10:05:07 -0400 Original-Received: from mout.web.de ([212.227.17.11]:62859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d85lA-0007Te-51; Tue, 09 May 2017 10:05:04 -0400 Original-Received: from drachen.dragon ([84.63.126.150]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Ljrlt-1dj4Ko1pqj-00bpuf; Tue, 09 May 2017 16:04:59 +0200 In-Reply-To: (Jean-Christophe Helary's message of "Tue, 9 May 2017 22:09:00 +0900") X-Provags-ID: V03:K0:sIHWtt0+LxBLIMdYegQ7VyGfibbNpcC8lGxkv1oRObts3pipX62 hjiOAttRpzbzA2paKxaNpE9SNblxZGCHQkOUD86VNzhBTxFavglNh5XgLpEwoOdOL37I37h 1rOINwXLGY4O4lZQ4fbQNuXYMEERjsqreDlhwCJqnj8CEVgViAQ2Do9cO8IBpU0p0LQTads P6t34ZZqQ2yJWH1r3l/HQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:LveN35viJ80=:qp5+Z4CA1e5NDPEtZzwFT3 lfHyV/+qVNlUiRwIxul0sZSbtPwuS00n1Us+KYIi46i8NuQNQ4x0GxXZY6RR2yqkde0VPVn1c BgBVcOomfP9V9biZlLqhK36XeooubN1sL6sDgFVU+yGXQSYUvabLASZvQA5a/wI6xPtX59XtD KsKTPMgqNvcPmZOQFU14ouRMWc9wG0Bwmnt3XUASzZIOzeUpepx0fod4V5FgwJWsHVn07HzPp uwYgMN3AHF8YP8BsInr/mBMJnh4lFYLgecitNa/ue//IVYndLp3zy6NeeKCt4LApQK9trMUcp YDrteJVnfnD/FeeF4vCcHCZ3yjhIBsvZUlfzfT2/+vTIjT6Zg7ajxmnD5hU7wDgxzYSbyY1VR d06uJRwuXkjt/ZqzhQ5/hYIcLZ5FLVitDdgoN/059Uvo3TKzAo1UkKFRblmfAOtRa3DKbsoLF g0hFmoxHmuvwnYRGldpD7XGvD4+fTE9WYW6W4d+pPOMCC2Of9N3K2Q8oPd6cnegXoV6rGc+eR X39p9y2+sGM/2Z218hyGW4dXa9+RKcmn/KlCOG1FFS1gEH5bONs6j10YswYkLet72cZgNXIcT 64hySKqG8iZyse00lsH0ta1h8oAnrsuSj7v6ickzg7DezX6rji97eOmQickdiIbpk+UWl/r6T tdSZLwjhIyvB6WVu/w6Hoj4chiMh4C5G/N3REBFKgK5/EF0K4HaF2DLTyJnCynELDxaqYUwhq ui7P3ywsaX03Jzvgv6TJLakIjtt1tnMWOP/xdjdrfIZ384nkVR33w2sLg3MEN5OtkIhbImSv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:214715 Archived-At: Jean-Christophe Helary writes: > > I'm curious what could be reasons not to fix this (in the code). > > Because split-string is used all over the place in Emacs and we'd have > to check that the fix is not breaking some code somewhere in ways that > we can't always guess? I see. OTOH we would probably also fix a lot of use cases that were broken until now, unrecognized, in subtle ways. Also in code outside of the Emacs repository. > > Allowing only a subset of possible regexps would be quite strange. > > Not if you document the strangeness. Per definitionem. In the long term, it might still be less work to fix it. Michael.