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: Wed, 17 Jan 2024 00:49:16 +0000 Message-ID: References: <83edeww73j.fsf@gnu.org> <83o7dzvrmf.fsf@gnu.org> <838r53vlo5.fsf@gnu.org> <831qavvcbo.fsf@gnu.org> <83bk9wq9ho.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="30199"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68246@debbugs.gnu.org, Eli Zaretskii , casouri@gmail.com, Stefan Kangas To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 17 01:50:19 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 1rPu8J-0007fv-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Jan 2024 01:50:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPu85-0005gU-MY; Tue, 16 Jan 2024 19:50:05 -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 1rPu81-0005gG-TN for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 19:50:03 -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 1rPu81-0002co-Kx for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 19:50:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPu82-0000sd-2c for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 19:50: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: Wed, 17 Jan 2024 00:50: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.17054525783346 (code B ref 68246); Wed, 17 Jan 2024 00:50:02 +0000 Original-Received: (at 68246) by debbugs.gnu.org; 17 Jan 2024 00:49:38 +0000 Original-Received: from localhost ([127.0.0.1]:50176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPu7e-0000rs-5a for submit@debbugs.gnu.org; Tue, 16 Jan 2024 19:49:38 -0500 Original-Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:43223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPu7c-0000rg-4T for 68246@debbugs.gnu.org; Tue, 16 Jan 2024 19:49:36 -0500 Original-Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2cdeb4b9aa4so2673781fa.0 for <68246@debbugs.gnu.org>; Tue, 16 Jan 2024 16:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705452569; x=1706057369; 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=rIWVj1Mr/4c8RBY/PCE/vtlV/YIxLhBB75cwfdXo7X4=; b=J/Lu7sAt9x52MWhEZ7iq+PZ3GYz7BHqVIY2llgvWuEYLdpypBWHVAPshpWBOdRxsVK pCJev0TgBr0i9YfwZWeBMcr4FGwXtiAhRhIAg8xga7MB3CZaMRSzg1l4D8/tuCj2QXTX mEKZWHEw3VCCUMbxj5Jp4g7X1rIOkRvDPEQtQHz9w47u5glljUpJ0gwPalq/UzNeGFpj EFlSW0W+h9kIxpbBdxwWam6AhMH2/2ghNv5xc9HApK8/gfezC9ToKRYabTL6UmKTbJKe 1x+S9t2KTxK63IvLRkSGkfkVMQuqcCajaaOSQCiTRpwiZ/OG6lgVrpCS+sYde+sAyQ/g LL9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705452569; x=1706057369; 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=rIWVj1Mr/4c8RBY/PCE/vtlV/YIxLhBB75cwfdXo7X4=; b=jKsZgp2sEKcpeYqdB5JkSJPap2mahdioZOp4XmDzpVSbD9wzeawXXXteNyZiKKm0NG 0a9oW+kErjOeEWbJxgsr0bfWZRluNFq/oyZ+GkVRCZdGO/rlwtmj1JtQ6S4xq3IsJPwf skMbXuuupb33ylqK5VspJRtgv4Jc3SHtcRuIIzbnhsbD2JmpVpkNaYkGXVGG8ou50ReZ 2n1mIINSpdCfPGxW66FXAaRqxsaVuJo059jGbzrqDaDRq57BRjYiUGS+WhGMV2Pu+2rC zmruLqWLV02dLbY6gpVsiEw83met8ijMNtqPptsFWFiDYhoxALkckIxH8kyzZtrErDgg VcdA== X-Gm-Message-State: AOJu0YxeuggZrSh6by9LdbJ/CbV2/nuSzZenOrLCZNXr5+16LRUOMESF zvig0/kW+5zhTYEQPUgi4pSHXVZlmfm6RamXIb76BMwnCQVTeFfhleubqB3K/bWyaYCYN4kKyUP ANr8Mcx3+uOid6QXMMKCQ4CMVlOg= X-Google-Smtp-Source: AGHT+IHbgAFhl6Vj/+fz2Agx+uAg8l/fqL1uXh6DAvD5Mw6cKDstrjs0AJhKybyGkl57kAk+SmV74t/X3M0mefvaITo= X-Received: by 2002:a2e:8519:0:b0:2cd:27b1:2235 with SMTP id j25-20020a2e8519000000b002cd27b12235mr9468lji.9.1705452569276; Tue, 16 Jan 2024 16:49:29 -0800 (PST) In-Reply-To: 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:278367 Archived-At: On Wed, Jan 17, 2024 at 12:03=E2=80=AFAM Stefan Monnier wrote: > > > It solves some things (that are already solved anyway). But I think th= e > > downsides are also in plain sight. It doesn't solve common problems > > in Eglot and Markdown-mode. > > It's not designed to solve all problems. Sure, and fair enough. But those other problems are real. Two groups exists, give or take. If we take this solution for just one, we make solving the other more difficult. > [ The needs of Markdown-mode are different from those targeted by the > current bug. They're are of the form "find mode for type", as > addressed by things like `major-mode-remap-alist`, whereas the current > bug is about classifying modes. ] We should get a holistic solution where we introduce the concept of language, either explicitly -- Dmitry's patch -- or implicitly -- abstract base modes derived from "prog-mode". I prefer Dmitry's patch, but the base mode approach also covers all cases AFAICS. I don't see the urgency of fixing the problems this patch addresses. Can we quantify these problems? What external package is currently misbehaving so much that it has to be fixed like this and can't wait for a better solution? In contrast, bug#68217 points to a real unsolved problem where discrepant modes may be chosen by the user and the Markdown package, and there's no easy way to coordinate. Jo=C3=A3o