From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>,
Lucien Cartier-Tilet <lucien@phundrak.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: [PATCH] Add new csetq macro
Date: Mon, 5 Sep 2022 16:35:52 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488AD0AD1EF90A133C8B246F37F9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87y1uz73va.fsf@gnus.org>
> > My only issue with it is you still have to quote the
> > custom variable you want to set, unlike `setq'.
> > (setopt 'custom-var1 value1
> > 'custom-var2 value2)
>
> No, the setopt syntax is without quoting.
Then it's misnamed, IMO. The name should be
`setqopt' - or (better) `setq-option', or
similar.
Functions (and macros and special forms) that
set things and evaluate the first arg (the
thing to be set) use the prefix `set-', not
`set', in Emacs. [Generally, at least, and
there might be no (other) exceptions; dunno.]
Also:
https://lists.gnu.org/archive/html/emacs-devel/2022-02/msg00779.html
next prev parent reply other threads:[~2022-09-05 16:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-03 14:07 [PATCH] Add new csetq macro Lucien Cartier-Tilet
2022-09-03 15:11 ` Stefan Monnier
2022-09-04 11:40 ` Lucien Cartier-Tilet
2022-09-04 11:53 ` Lars Ingebrigtsen
2022-09-04 11:55 ` Lucien Cartier-Tilet
2022-09-05 16:35 ` Drew Adams [this message]
2022-09-03 15:16 ` Stefan Kangas
2022-09-04 11:46 ` Lucien Cartier-Tilet
2022-09-03 15:59 ` Philip Kaludercic
2022-09-04 11:48 ` Lucien Cartier-Tilet
2022-09-04 17:07 ` Philip Kaludercic
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR10MB5488AD0AD1EF90A133C8B246F37F9@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=lucien@phundrak.com \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).