[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification

From: Tino Calancha
Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification
Date: Sun, 7 May 2017 19:40:47 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Sun, 7 May 2017, Eli Zaretskii wrote:

From: Tino Calancha <address@hidden>
Date: Sun, 7 May 2017 11:25:41 +0900 (JST)
cc: Tino Calancha <address@hidden>, address@hidden,
    address@hidden, Emacs developers <address@hidden>

I find it more legible written as:
 (string-trim-right string regexp-end)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]