From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#68246: 30.0.50; Add non-TS mode as extra parent of TS modes Date: Mon, 15 Jan 2024 14:45:41 +0000 Message-ID: References: <838r53vlo5.fsf@gnu.org> <831qavvcbo.fsf@gnu.org> <83a5phskd5.fsf@gnu.org> <83h6joqz0t.fsf@gnu.org> <834jfoq86m.fsf@gnu.org> <831qarrbjx.fsf@gnu.org> <87a5p84nlh.fsf@gmail.com> <83edekfldq.fsf@gnu.org> <871qajfpr2.fsf@gmail.com> <83cyu2eppn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68246@debbugs.gnu.org, casouri@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 15 15:46:55 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rPOEp-00051P-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jan 2024 15:46:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPOE6-0007RE-EL; Mon, 15 Jan 2024 09:46:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPOE1-0007PN-3D for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 09:46:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPODz-0005c2-Di for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 09:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPODy-0000SD-TS for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 09:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jan 2024 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68246 X-GNU-PR-Package: emacs Original-Received: via spool by 68246-submit@debbugs.gnu.org id=B68246.17053299601541 (code B ref 68246); Mon, 15 Jan 2024 14:46:02 +0000 Original-Received: (at 68246) by debbugs.gnu.org; 15 Jan 2024 14:46:00 +0000 Original-Received: from localhost ([127.0.0.1]:45038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPODw-0000ON-D5 for submit@debbugs.gnu.org; Mon, 15 Jan 2024 09:46:00 -0500 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:42122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPODu-0000ET-TV for 68246@debbugs.gnu.org; Mon, 15 Jan 2024 09:45:59 -0500 Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2ccea11b6bbso81098581fa.0 for <68246@debbugs.gnu.org>; Mon, 15 Jan 2024 06:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705329953; x=1705934753; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xs+O/aoaTZDuVVVBu6X8phJe4O+65ixslU6PrwKa6pE=; b=aSR43HTY6f2iRORohZ42TqWSfBbH9tfXx9ycm92DA/Xc1rsFSA3ydzYe1bRvV0mioz rBtJu8eIOblcHNd6aAAL4Tc/Bf2Z5MPc/10NKFM+FR40702EOMY1l2XRr8iW51vETjCO BZA1V0FPIwNEdz3HZQyyRmqL9tI3KkPtbDiya62VrRBhDLmue9i3WZL8VzNV1cf5H3eE YldWQkH+hpHYW8UzfFDJB/i9PYCxZd1MxYu0FVBQ4FjwOP0f4vuAxYrLDHDMG5Oh5BHE zcrYlU7jrGFm+4jQyM/iisMkOmAOP90KvFJ8LJ/YYPrEfo7MtcWx0ejZBP0sSTWx+XP9 aUHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705329953; x=1705934753; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xs+O/aoaTZDuVVVBu6X8phJe4O+65ixslU6PrwKa6pE=; b=kR5x5Hrx7NcWqddUNIPSNYnKKlFqRIsCWO7UFDFPKXhu+JN5rF1J9UQjMojjIz9Vpx E7m9znz3AKGjzeM1YPRLfHhGN/plbbMqmRXYOwMsXA3W8/GI71ZsKZc5OW1ROiJaGwNT bzpDAJCrqyfXPdBj4O1Nz6sFZwCax3qpk2bwt4afi5wpbAE/LZoOs5Efc6mvJLPW5Vmp t3FVBaN1P1XjB/aeo85FcCpALZIS8zBx3jmnavzj526WFz8BPq+Gv+WZyJEA9Iq8X4h3 wz6p0QZwpDySvu62ntQ3ztcyHh0kst9ehI9PW0YFNZY65xTjtSsMUz3I5Z2I48BOkKlL 9qaw== X-Gm-Message-State: AOJu0YyGk7z10fPNzyQ3/f/FpwfvEdMQmbvIiAn8e/zIxD4KuEXMjYO/ V9O+U6VfBd/Lw+IeytHxjMVP38Y/5PaOZo1GFH4= X-Google-Smtp-Source: AGHT+IHsVEcf5xp12H00Qo9uxdRWesHOJexk28gQWZyVNPr3M/jD5/c6qzfzWzZ5kJWbFAHYAAruAwByxetT3vozLbQ= X-Received: by 2002:a2e:965a:0:b0:2cd:283b:806f with SMTP id z26-20020a2e965a000000b002cd283b806fmr3631486ljh.12.1705329952876; Mon, 15 Jan 2024 06:45:52 -0800 (PST) In-Reply-To: <83cyu2eppn.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278283 Archived-At: On Mon, Jan 15, 2024 at 12:38=E2=80=AFPM Eli Zaretskii wrote= : > It's our only reliable instrument of getting feedback for our > decisions. It's an instrument among others. It's not particularly reliable. > > An empty base mode is useful just for its hook and its behaviour in > > dir-locals, for example. > > No, it is completely useless, and we shouldn't introduce such modes. One more time. The user hook for 'foo-base-mode', which is the normal parent of 'foo-mode', 'foo-ts-mode' and 'foo-whatever-impl-mode' can be used to: * setup a library of snippets for the Foo language.; * define a suitable Flymake backend for said language * appear in dir-locals to setup fill-column for this language * define simpler more robust major-mode database, such as ((foo-base-mode . thingy-42) (js-base-mode . thingy-43) (ruby-base-mode . thingy-45)) * many more things These are exactly the things being discussed here. There is this crystal clear evidence of usefulness being laid in front of you and yet you claim adamantly it is "completely useless". With no justification for the statement. Because of course, there is no such thing. Jo=C3=A3o