From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
To: Ergus <spacibba@aol.com>, emacs-devel@gnu.org
Subject: Re: Syntax sugar question
Date: Sun, 11 Apr 2021 22:42:00 +0300 [thread overview]
Message-ID: <f728c414-c60a-b6dc-7598-4af90c3910c0@gmail.com> (raw)
In-Reply-To: <20210411030711.cpbbesqkuipt3lzc@Ergus>
Be aware that you can do (foo-mode -1) to disable foo-mode, so the
current behavior already has some complexity.
Syntactically if we start allowing parameter passage during the mode
command, why stop at 1? Why not allow arbitrary number of params? I
think the current design is fine as it is forcing every mode to work out
of box. If people would start passing params, there would eventually be
modes that would only work if you have a legit parameter declaration.
prev parent reply other threads:[~2021-04-11 19:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210411030711.cpbbesqkuipt3lzc.ref@Ergus>
2021-04-11 3:07 ` Syntax sugar question Ergus
2021-04-11 12:59 ` Stefan Monnier
2021-04-11 19:42 ` Nikolay Kudryavtsev [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
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=f728c414-c60a-b6dc-7598-4af90c3910c0@gmail.com \
--to=nikolay.kudryavtsev@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=spacibba@aol.com \
/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).