From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification Date: Sat, 6 May 2017 20:02:12 +0900 Message-ID: <0E129E02-FA64-4664-825B-8854A66CA9C6@gmail.com> References: <87vapij1l7.fsf@holos> <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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1494068549 17780 195.159.176.226 (6 May 2017 11:02:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 May 2017 11:02:29 +0000 (UTC) Cc: mvoteiza@udel.edu, emacs-devel@gnu.org, tino.calancha@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 06 13:02:25 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 1d6xTl-0004Vd-Fz for ged-emacs-devel@m.gmane.org; Sat, 06 May 2017 13:02:25 +0200 Original-Received: from localhost ([::1]:50854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6xTp-0006lu-Eg for ged-emacs-devel@m.gmane.org; Sat, 06 May 2017 07:02:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6xTh-0006kO-VP for emacs-devel@gnu.org; Sat, 06 May 2017 07:02:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6xTh-0006oj-8W for emacs-devel@gnu.org; Sat, 06 May 2017 07:02:22 -0400 Original-Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:36347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6xTd-0006n9-BB; Sat, 06 May 2017 07:02:17 -0400 Original-Received: by mail-pg0-x244.google.com with SMTP id q4so637118pga.3; Sat, 06 May 2017 04:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=t2ep5X8c+0YYq8T3fLMnyQbskGBJt1qf8yhvigcbMVE=; b=lvgLWYdkYwMwETtyAUTKOnjTYlam2KWyHI71dtKJjGy1EPdOmIften1ojDCndHhQZd t5HXyUJ3p6VZpiAwi02DcT6UDRCstN7wIGp+chptDyJ6tHJjK27dH82hjONZxtEf1Q7F tn5p73s4C7Qilkk3bU7bAMhDKFw2W6Taup1GhwkEmC07Q2APMhupeXsF4Ks7/zoY/c5O zBYfwGjDXMjgI4c8z7aJt7FFU7RoLlx3ykoHyOXzPHu+/Bf+jawjjQS8UVVLQP95CBto 55+oVIjjXFeufnsOGXH5RJ3MYJD8ulKQ0jLZYgTxr8MvLJZfA2Q55BMYCwpV4qA8IhO/ E7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=t2ep5X8c+0YYq8T3fLMnyQbskGBJt1qf8yhvigcbMVE=; b=XgflEKhm72RFQ9Bh8WBv8ioRpeT0WC8o+xB0U0wYtbLJwTh6URY2j3VAFgjT7AZ/wh nVvW9DUI9rC60Org0QSPgB1Ok7zYAEajNSjCzhGvUM2hi2H6qGwpUf4fB2gjXbITmmhR gAynDyxWrVLhpAwpIefJhKj4xlBm3Dz0HQOSlwazHqhwIniQEIc1OZiXA4x6aUsa83x6 GbvrLvdU447s3pfOYwRNQe57iMUifD4aPuHVciLsYbZGKoN0AjfLbsaDbF4fsfbU8AgA pPiGtFmBkUxPfyIHFHvhVQSkTIhDnXoxUT3AZlAb4zvYKA+ENbdEY0QU/NKOpE80Qlu0 xhvQ== X-Gm-Message-State: AN3rC/5iEXRn4in9nwsn9O04IVgXheNbvxAyjH4hGd6hn7S6xTuTK8Am xRJOBWJUIjFz0g== X-Received: by 10.98.8.91 with SMTP id c88mr21892687pfd.36.1494068536392; Sat, 06 May 2017 04:02:16 -0700 (PDT) Original-Received: from [192.168.24.54] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id u25sm8424119pfk.132.2017.05.06.04.02.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 04:02:15 -0700 (PDT) In-Reply-To: <8360hefepp.fsf@gnu.org> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::244 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:214615 Archived-At: Ok, I'm fine with that. Apologies for my lack of understanding of the = issues. Jean-Christophe > On May 6, 2017, at 19:43, Eli Zaretskii wrote: >=20 >> From: Jean-Christophe Helary >> Date: Sat, 6 May 2017 19:33:10 +0900 >> Cc: tino.calancha@gmail.com, >> mvoteiza@udel.edu, >> emacs-devel@gnu.org >>=20 >> My original idea was to put the regexp into a variable that *can* = eventually be overridden by a user preference. >=20 > Does this really have legitimate use cases? We are talking about a > very low-level function; overriding its default definition of > whitespace by a user option would affect every single use of this > function, and will most probably disrupt some code which uses it. >=20 > I think having a way for overriding the default programmatically > should be good enough, at least for now. Let's not provide a > defcustom unless and until we have use cases for that which we want to > support.