[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: title-case function
From: |
Jean-Christophe Helary |
Subject: |
Re: title-case function |
Date: |
Sun, 21 Apr 2019 21:59:07 +0900 |
> On Apr 21, 2019, at 21:45, Paul W. Rankin <hello@paulwrankin.com> wrote:
>
>
> On Sun, Apr 21 2019, Jean-Christophe Helary wrote:
>> I'm not aware that we have title-case needs in French, or in any other
>> language I know, but just as a precaution I renamed "title-case-minor-words"
>> to "title-case-minor-english-words".
>
> This seems a little redundant to me if title case is an English-only thing.
*That*, we don't know. And even if it's an English only thing, it's better to
identify the thing the strings have in common. They are not just arbitrary
short strings.
> But also it's a defcustom, so the user is free to make the words any other
> language (which would then make the name quite silly).
No, if would make the user conscious that the list is for English and instead
of just adding a string to the list, she would create a defcustom for her
language and modify the rest of the code, thus introducing her to simple elisp
code modifications.
And the next step could be for her to imagine a way to identify the contents of
a given string to know which defcustom she should use, etc.
> That said, anyone pasting this into their init file is more than welcome to
> rename the option whatever they like!
Definitely, but you asked for suggestions...
And honestly, the fact that developers generally don't consider english strings
as exceptions in the world of symbolic expressions is the main reason why
emacs's internationalization lags so far behind other projects. So why not
start where it is easy to start ?
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
- Re: title-case function, (continued)
Re: title-case function, Eli Zaretskii, 2019/04/21
Re: title-case function, Jean-Christophe Helary, 2019/04/21
- Re: title-case function, Paul W. Rankin, 2019/04/21
- Re: title-case function,
Jean-Christophe Helary <=
- Re: title-case function, Paul W. Rankin, 2019/04/21
- the English language part 2 (was: Re: title-case function), Emanuel Berg, 2019/04/21
- Re: the English language part 2, Ralph Seichter, 2019/04/21
- Re: the English language part 2, Emanuel Berg, 2019/04/21
- Re: the English language part 2, Ralph Seichter, 2019/04/21
- Re: the English language part 2, Emanuel Berg, 2019/04/21
- Re: the English language part 2, Ralph Seichter, 2019/04/21
- Re: the English language part 2, Marcin Borkowski, 2019/04/22
- Re: the English language part 2, Paul W. Rankin, 2019/04/22
- Re: the English language part 2, Emanuel Berg, 2019/04/22