emacs-devel
[Top][All Lists]
Advanced

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

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


From: Jean-Christophe Helary
Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification
Date: Sat, 6 May 2017 20:06:45 +0900

>> My original idea was to put the regexp into a variable that *can* eventually 
>> be overridden by a user preference.
> 
> 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.

By the way, the idea I had was like what we have in Applescript for the split 
function.
AS provides the system with a default list of splitters and the user can 
locally change it for specific purposes and then revert it to it's original 
value.

In AS, this is used very frequently.

Jean-Christophe 


reply via email to

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