[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments on setopt
From: |
Philip Kaludercic |
Subject: |
Re: Comments on setopt |
Date: |
Sat, 19 Feb 2022 18:31:27 +0000 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Richard Stallman <rms@gnu.org> writes:
>
>> Since it isn't meant for the command line options that `getopt' examines,
>> the name `setopt' is misleading. (It already misled me!)
>> This name should be changed to something longer and clearer.
>
> You mean you thought this had something to do with getopt.h? I don't
> thing confusing `setopt' with that has potential to confuse many people
> writing Lisp code -- most people haven't heard of getopt.h, there is no
> `getopt' function in Emacs Lisp, and what would setting a command line
> switch even mean?
>
> The point is that we need a variant of `setq' for user options that
> people can use when saying `M-:' and in init files, so it needs to be
> short and snappy. `seto' and `setc' were proposed, but I thought those
> were too confusing.
While I do see that there is potential for confusion between seto and
oset, I'd like to argue once more for setc. It is no less confusing
from a non-lisp-hacker perspective than setq (that also only makes sense
when you understand set).
--
Philip Kaludercic
- Re: Comments on setopt, (continued)
- Re: Comments on setopt, Stefan Monnier, 2022/02/16
- Re: Comments on setopt, Philip Kaludercic, 2022/02/16
- Re: Comments on setopt, Po Lu, 2022/02/16
- Re: Comments on setopt, Richard Stallman, 2022/02/18
- Re: Comments on setopt, Po Lu, 2022/02/19
- Re: Comments on setopt, Eli Zaretskii, 2022/02/19
- Re: Comments on setopt, Lars Ingebrigtsen, 2022/02/19
- Re: Comments on setopt, Mathias Dahl, 2022/02/19
- Re: Comments on setopt, Dmitry Gutov, 2022/02/19
- Name for `setopt` (was: Comments on setopt), Stefan Monnier, 2022/02/19
- Re: Comments on setopt,
Philip Kaludercic <=
- RE: [External] : Re: Comments on setopt, Drew Adams, 2022/02/19
Re: Comments on setopt, Lars Ingebrigtsen, 2022/02/15