From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification Date: Sun, 7 May 2017 19:40:47 +0900 (JST) Message-ID: 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> <0E129E02-FA64-4664-825B-8854A66CA9C6@gmail.com> <3D0BA0E6-02E2-4E90-8A59-121065547E1C@gmail.com> <87o9v614bl.fsf@calancha-pc> <83y3uadpwf.fsf@gnu.org> <83o9v5e69g.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1494153665 8775 195.159.176.226 (7 May 2017 10:41:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 May 2017 10:41:05 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: mvoteiza@udel.edu, jean.christophe.helary@gmail.com, Emacs developers , Tino Calancha To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 07 12:40:59 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 1d7JcZ-0002BO-4w for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 12:40:59 +0200 Original-Received: from localhost ([::1]:54415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7Jce-0004ST-F9 for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 06:41:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7JcZ-0004SA-10 for emacs-devel@gnu.org; Sun, 07 May 2017 06:40:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7JcY-0008Hv-5S for emacs-devel@gnu.org; Sun, 07 May 2017 06:40:59 -0400 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:35099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7JcU-0008Gj-7d; Sun, 07 May 2017 06:40:54 -0400 Original-Received: by mail-pf0-x242.google.com with SMTP id u26so6213097pfd.2; Sun, 07 May 2017 03:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=jHmgJZHqT30xCli6Ue8EEDRbPj8CRJc4u2ZOpo+S88A=; b=fX/oOh3CT+WxinhcJAjaPKWU1vn6+CRA1mpqaBa2Mxx59h6QQoD6+8faA87C+//+I+ pC4JYHIeXl3Iw0MljrB2mgjgyPcD1w4UNqKmYrKNXdyuTie0ujwHmTex/9ajBPkrJNkG gtSLdDuKBQZEz4wrn4+2oGM0FuSbKunwBccTUklLTAb3tN8LBFy2Ioh5c+akuQkwW2Ix yS8IXU93z9NEAIB62CC/qgV6hDQnzFBampTBkXZtQDOAohXeJhz8zi24FsuWtCYWVKfp pMs7AyNwhoIwtDAa97EbhFuMZhBP+RYTcnhMyAOg8wK4EpY1sFvElAO8YGwE9u+1WDIG xpMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=jHmgJZHqT30xCli6Ue8EEDRbPj8CRJc4u2ZOpo+S88A=; b=MUsopbc5ExSppsZLgDPtrIFOVTLrS2EkQoZTUCvEB+Fo6Y0U5zkUsdMIKZXd98ODjW XxXb6sJivejdysER9MZtMcZK0HlEYL8lpKawv/LwMEyniSfKHDv6SZdOo/mtNYOWk/Qv kHVr2I4antnoQ3Q5mcK/V6ieYHLeOyxgL8VC/V6KViKn5qZWsXoNJ5vIjPsIO+pou7u0 8zXOPOXU9edAFr4PCBXIV4ntrrudGFMYuaRiDfF2AVYkknc0E50FPDDzViTrgZccwlim GNKbXkj3UsKdR7R/kIPbfZT0vABF1ZSjtai9ZHHDLWtaMsBFkWPB8AjVm049MAcSX+oh B8Fg== X-Gm-Message-State: AN3rC/40pz2enblBockpX2phfdsiHdGTJFdZDbXB3yBt0B0lzs3GJUSF IxCO89AemM2w+w== X-Received: by 10.84.168.131 with SMTP id f3mr77628260plb.160.1494153651705; Sun, 07 May 2017 03:40:51 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id v63sm16961658pfb.104.2017.05.07.03.40.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 May 2017 03:40:50 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <83o9v5e69g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 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:214657 Archived-At: On Sun, 7 May 2017, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Sun, 7 May 2017 11:25:41 +0900 (JST) >> cc: Tino Calancha , jean.christophe.helary@gmail.com, >> mvoteiza@udel.edu, Emacs developers >> >>>> I find it more legible written as: >>>> (string-trim-left >>>> (string-trim-right string regexp-end) >>>> regexp-beg) >>>> >>>> than as: >>>> (string-trim-left (string-trim-right string regexp-end) regexp-beg) >>> >>> Again, personal style issue, IMO. >> Just wondering what is your personal style here. > > My personal style is to use the line as much as it allows me. > > But I generally try not to impose my personal style on work done by > others. I think every one of us is entitled to have the code they > contributed keep their style. Thanks. No problem.