[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Imports / inclusion of s.el into Emacs
From: |
Stefan Monnier |
Subject: |
Re: Imports / inclusion of s.el into Emacs |
Date: |
Tue, 05 May 2020 13:23:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> You'll always
>> get a group of people that really expected it to be multibyte-string and
>> group of people that expect string-multibyte.
> If there is an actual naming standard, the people can learn.
There is a naming standard that every Elisp programmer must learn, it's
the use of a namespace prefix to group elements. Sadly, this standard
is only taken half-seriously for non-core Elisp definitions.
Of course that standard doesn't say on what basis to group.
But currently, if you look at the "string-" and "multibyte-" prefixes,
it's immediately clear that "multibyte-" has not been really used as
a namespace prefix whereas "string-" has been used as a namespace prefix
for several function (for some function it's been used as a namespace
prefix but not all, e.g. `string-rectangle`).
Which is why I propose to rename `multibyte-string-p` to
`string-multibyte-p`, since it would feel at home inside the
"string" group. Then Elisp programmers would benefit from the
naming convention for that function as well.
Stefan
- Re: Imports / inclusion of s.el into Emacs, (continued)
- Re: Imports / inclusion of s.el into Emacs, Richard Stallman, 2020/05/06
- Re: Imports / inclusion of s.el into Emacs, Dmitry Gutov, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Dmitry Gutov, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, 조성빈, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs,
Stefan Monnier <=
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Stefan Monnier, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Dmitry Gutov, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Dmitry Gutov, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Stefan Monnier, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, João Távora, 2020/05/05
- Re: Imports / inclusion of s.el into Emacs, Stefan Monnier, 2020/05/05