all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Dahl <mathias.dahl@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Po Lu <luangruo@yahoo.com>,
	Philip Kaludercic <philipk@posteo.net>,
	Richard Stallman <rms@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: Comments on setopt
Date: Sat, 19 Feb 2022 12:52:00 +0100	[thread overview]
Message-ID: <CABrcCQ42bCNQVaZOKGRWRPoo-d6HqZCMqErxOBSud6FoQzUX3g@mail.gmail.com> (raw)
In-Reply-To: <87a6enkt2k.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

setuopt?

On Sat, Feb 19, 2022 at 12:17 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> 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.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
>

[-- Attachment #2: Type: text/html, Size: 1532 bytes --]

  reply	other threads:[~2022-02-19 11:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14 23:01 Comments on setopt Philip Kaludercic
2022-02-15  3:40 ` Po Lu
2022-02-16  4:12   ` Richard Stallman
2022-02-16  7:04     ` Rudolf Adamkovič
2022-02-16  9:52       ` Phil Sainty
2022-02-16 13:23         ` Stefan Monnier
2022-02-16 22:34           ` Phil Sainty
2022-02-16 22:42             ` Stefan Monnier
2022-02-16 22:57           ` Philip Kaludercic
2022-02-16  7:13     ` Po Lu
2022-02-19  4:54       ` Richard Stallman
2022-02-19  5:07         ` Po Lu
2022-02-19  8:47           ` Eli Zaretskii
2022-02-19 11:13         ` Lars Ingebrigtsen
2022-02-19 11:52           ` Mathias Dahl [this message]
2022-02-19 12:35             ` Dmitry Gutov
2022-02-19 14:41           ` Name for `setopt` (was: Comments on setopt) Stefan Monnier
2022-02-19 18:31           ` Comments on setopt Philip Kaludercic
2022-02-19 23:42           ` [External] : " Drew Adams
2022-02-15  9:32 ` Lars Ingebrigtsen
2022-02-15 13:15   ` Stefan Monnier
2022-02-15 17:20     ` Philip Kaludercic
2022-02-17 11:27     ` Lars Ingebrigtsen
2022-02-15 17:17   ` Philip Kaludercic
2022-02-15 19:22   ` Juri Linkov
2022-02-17 11:28     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABrcCQ42bCNQVaZOKGRWRPoo-d6HqZCMqErxOBSud6FoQzUX3g@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.com \
    --cc=philipk@posteo.net \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.