[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lisp/term/ns-win.el modification
From: |
Jean-Christophe Helary |
Subject: |
Re: lisp/term/ns-win.el modification |
Date: |
Mon, 1 May 2017 07:23:55 +0900 |
> On Apr 30, 2017, at 23:12, Eli Zaretskii <address@hidden> wrote:
>
>>> Besides, it doesn't trim non-breakable spaces.
>>
>> That's a pity. Is there a reason why non-breakable spaces would not be
>> considered for trimming purposes?
>
> What's the rationale for adding NBSP? Also, is it only the NBSP
> character that's missing, or there are others?
It depends on what the definition of "trimming a string" is.
The regex used in subr-x is: "\\`[ \t\n\r]+"
If we use the Unicode definition of white space, we need to add a lot more
strings:
https://en.wikipedia.org/wiki/Whitespace_character#Unicode
Jean-Christophe
- Re: lisp/term/ns-win.el modification, (continued)
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/27
- Re: lisp/term/ns-win.el modification, Anders Lindgren, 2017/04/29
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/29
- Re: lisp/term/ns-win.el modification, Anders Lindgren, 2017/04/30
- Re: lisp/term/ns-win.el modification, Noam Postavsky, 2017/04/30
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/30
- Re: lisp/term/ns-win.el modification, Eli Zaretskii, 2017/04/30
- Re: lisp/term/ns-win.el modification, Clément Pit-Claudel, 2017/04/30
- Re: lisp/term/ns-win.el modification, Eli Zaretskii, 2017/04/30
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/30
- Re: lisp/term/ns-win.el modification,
Jean-Christophe Helary <=
- Re: lisp/term/ns-win.el modification, Noam Postavsky, 2017/04/27
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/27
- Re: lisp/term/ns-win.el modification, mituharu, 2017/04/27
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/27
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/27
- Re: lisp/term/ns-win.el modification, mituharu, 2017/04/27
- Re: lisp/term/ns-win.el modification, Jean-Christophe Helary, 2017/04/27