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: Thu, 4 Jan 2024 23:02:19 +0000 Message-ID: References: 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="16328"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68246@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 05 00:03:20 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 1rLWkB-0003zC-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jan 2024 00:03:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLWjr-000502-5Z; Thu, 04 Jan 2024 18:02:59 -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 1rLWjq-0004zq-Gb for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 18:02:58 -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 1rLWjq-0004op-8D for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 18:02:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLWjt-0004Mc-NA for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 18:03:01 -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: Thu, 04 Jan 2024 23:03:01 +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.170440937016758 (code B ref 68246); Thu, 04 Jan 2024 23:03:01 +0000 Original-Received: (at 68246) by debbugs.gnu.org; 4 Jan 2024 23:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:55928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLWje-0004M9-KG for submit@debbugs.gnu.org; Thu, 04 Jan 2024 18:02:50 -0500 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:49388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLWjY-0004Lt-W7 for 68246@debbugs.gnu.org; Thu, 04 Jan 2024 18:02:45 -0500 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2cd053d5683so12335941fa.2 for <68246@debbugs.gnu.org>; Thu, 04 Jan 2024 15:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704409351; x=1705014151; 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=pCB7k6Luc7A8AMdQ0CB+wWM7Du2vwZP6vMW/kUuxP8k=; b=QIyIDdkYSMWAauNA3shQ0ENcdJTKfdWL16MTXzA499vKn3tsgoITR58L9CwciqeMIX JE5SVkoiy9/7C5fLC5hHU870I9WiNbhPNFUMUfKSbM93wDZ68HV82Fk3i8Q7lZc2oJPz wXmiJ99/phFZJTTY8rSOOQyN5Q3Brk/Qnl7d/18dlW2jrJNq70yxVs03jJ+E2ql0ekzv JSMKqIb1wJS2LgCdqtKlRm3b+PZq1pATGBDeqCsyCdbb1lig5uaj0QG1OI8dARVbj2Vj /6WkC2cIaL5idmLkFzfRsDizF6Vmdv0eKzS0/IxPsQBNYsFW9jjlD/uNdlio1qyDt/no behQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704409351; x=1705014151; 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=pCB7k6Luc7A8AMdQ0CB+wWM7Du2vwZP6vMW/kUuxP8k=; b=i8yew2SxN1fdYVWKvjXs9WBBzm8nkoEoY9lGvTuhgydg5rJH/Be4PGQJqhc7CIRqfB N/kAUTsjbR8QCAuVpat0d99Wa7kmvonokeGVucXhH6C58FtQkIsTbI2zlMmQBBYUzJMF jorSJfk1jFm25Wi8Uom2WufJzpNRMU2VF7U9kdQDRBC9eyHKMurUGWrXJsZir3oCD8LR uolladOIV082SRk+2U2Nu0SrFp+4J1VlUmBEteKpiwYgkmzDTo/Y1bayFPYPtVYUYpkU AXd9EmN6YYL/H6aFHcu0YgI2prnkuBSQG8NtCq0Qdj/RqvdL7xdXouBAOhJz3VSsng3l bPPg== X-Gm-Message-State: AOJu0YyCmjUXVD7j33Y1asyVTXCphslzlVfi5ameCNieJV4IzwpOF049 uCj4/VdqplEOlnIqNiRLxMFnPpERjxZM0o/FlRXNBrmB8IY= X-Google-Smtp-Source: AGHT+IFenQK1ce6wIpZimcl97lFkk9+YpEBrRI4/7gpAD+uwokP9xsMhGVdr/Crml5z6W3n3+IkMLoFGtvVbma5DdAY= X-Received: by 2002:a2e:9017:0:b0:2cd:16fe:da1e with SMTP id h23-20020a2e9017000000b002cd16feda1emr617865ljg.96.1704409350603; Thu, 04 Jan 2024 15:02:30 -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:277338 Archived-At: On Thu, Jan 4, 2024 at 10:12=E2=80=AFPM Stefan Monnier via Bug reports for = GNU Emacs, the Swiss army knife of text editors wrote: > > Package: Emacs > Version: 30.0.50 > > > Many packages use the `major-mode` as a proxy for the type of content > in the buffer. When using the new TS modes, these packages tend to > behave poorly because they do not understand that a buffer in `js-ts-mode= ` > contains Javascript. > > I suggest we add the non-TS mode as an extra parent, so > `derived-mode-all-parents` includes `js-mode` in `js-ts-mode`. Hmmm, this would either mean stupendous and welcome simplification in eglot-server-programs or horrible breakage there. Or maybe something in between :-) Seems risky, so I hope we give it adequate testing. In a fair number of servers. Can some Eglot user help me out here? Jo=C3=A3o