From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rolf Ade Newsgroups: gmane.emacs.devel Subject: Re: scratch/command 064f146 1/2: Change command to interactive ... modes Date: Fri, 19 Feb 2021 00:57:11 +0100 Organization: Me Message-ID: <87h7m9c4ko.fsf@pointsman.de> References: <20210213141225.11309.86562@vcs0.savannah.gnu.org> <87k0r8xl7y.fsf@gnus.org> <834kic9g0a.fsf@gnu.org> <8735xwvusc.fsf@gnus.org> <83v9as7xns.fsf@gnu.org> <87pn10ueld.fsf@gnus.org> <83r1lf9apm.fsf@gnu.org> <87a6s3vrnd.fsf@gnus.org> <83o8gj9a8o.fsf@gnu.org> <871rdfvq86.fsf@gnus.org> <83h7mb98g8.fsf@gnu.org> <87o8gjuaez.fsf@gnus.org> <83ft1v97bk.fsf@gnu.org> <877dn7u7wq.fsf@gnus.org> <835z2r94zw.fsf@gnu.org> <831rdf91r1.fsf@gnu.org> <87ft1vsmf5.fsf@gnus.org> <83v9aq7m9a.fsf@gnu.org> <87y2fm1ohp.fsf@gnus.org> <83sg5u5u8n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2927"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:v+bGFkUFPR8aVoOXxJ5FZUJhdBw= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 00:58:23 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCtBf-0000f3-KS for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 00:58:23 +0100 Original-Received: from localhost ([::1]:60004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCtBe-0006cB-Jw for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 18:58:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCtAf-0005mo-P0 for emacs-devel@gnu.org; Thu, 18 Feb 2021 18:57:21 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:50738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCtAd-0008Sq-UZ for emacs-devel@gnu.org; Thu, 18 Feb 2021 18:57:21 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lCtAc-0009sj-18 for emacs-devel@gnu.org; Fri, 19 Feb 2021 00:57:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265201 Archived-At: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Eli Zaretskii writes: >> >> >> I think that in the long term, taking care to not make simple things >> >> like making a command for a mode too arduous, is important. >> > >> > I don't think using 'declare' or a plist can be characterized as >> > "arduous". >> >> I think it is. We'd be demanding that people learn about obscure things >> like `declare' just to write a little mode. That's not good language >> design. > > Neither 'declare' nor 'plist' are obscure. We use them all over the > place. So we will have to agree to disagree about this. Sure, not obscure. Almost everyone able to write a little mode can look it up with a few keystrokes, will maybe remember having seen some of the things mentioned in info node (elisp)Declare Form and all. To core developers this commands are of course familiar. Not necessarily for others which are nevertheless able to write a little mode (even if useful only for themself). Using declare for adding the feature raises the amount of what I have to remeber or lookup a little bit if I want to write another little mode.