all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org,  Daniel Mendler <mail@daniel-mendler.de>
Subject: Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function
Date: Thu, 16 Jun 2022 14:50:56 +0200	[thread overview]
Message-ID: <87v8t0db67.fsf@gnus.org> (raw)
In-Reply-To: <jwvbkuv5smb.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 14 Jun 2022 08:44:58 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> You don't need to understand the subtleties of <blabla>, because you
> just move the code as-is and then the compiler will tell you if there's
> a problem (typically because <blabla> uses vars from the context, which
> you then need to pass as additional arguments).

Sounds good to me, but I think it'd be better if you did the adjustments
here.  😀

> [ For the same reason, most/all `<foo>-function` variables should
>   ideally have a non-nil default value.  ]

I don't agree with that in general.  As a user, it's easier to reason
about nil-as-some-default-function than an explicit one.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



      reply	other threads:[~2022-06-16 12:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165484935985.12525.14065631018362412932@vcs2.savannah.gnu.org>
     [not found] ` <20220610082240.A7222C01683@vcs2.savannah.gnu.org>
2022-06-10 14:15   ` master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function Stefan Monnier
2022-06-11 10:57     ` Lars Ingebrigtsen
2022-06-11 15:03       ` Stefan Monnier
2022-06-11 16:11         ` Lars Ingebrigtsen
2022-06-11 16:29           ` Stefan Monnier
2022-06-12  9:59             ` Lars Ingebrigtsen
2022-06-12 13:18               ` Stefan Monnier
2022-06-13 12:12                 ` Lars Ingebrigtsen
2022-06-13 16:37                   ` Stefan Monnier
2022-06-14 12:02                     ` Lars Ingebrigtsen
2022-06-14 12:44                       ` Stefan Monnier
2022-06-16 12:50                         ` Lars Ingebrigtsen [this message]

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=87v8t0db67.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=mail@daniel-mendler.de \
    --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 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.