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#67463: 30.0.50; Eglot may manage js-json-mode buffers with wrong server Date: Mon, 8 Jan 2024 00:20:00 +0000 Message-ID: References: <83fs0k938h.fsf@gnu.org> <834jgio5os.fsf@gnu.org> <2eeff48a-942a-463b-999c-4a615f67d052@gutov.dev> 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="7413"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Eli Zaretskii , 67463@debbugs.gnu.org, Pengji Zhang To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 08 01:21: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 1rMdOK-0001jr-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jan 2024 01:21:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMdNy-0000et-BI; Sun, 07 Jan 2024 19:20:58 -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 1rMdNx-0000ee-9k for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2024 19:20:57 -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 1rMdNx-0002nJ-19 for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2024 19:20:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMdO2-00073b-JC for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2024 19:21: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, 08 Jan 2024 00:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67463 X-GNU-PR-Package: emacs Original-Received: via spool by 67463-submit@debbugs.gnu.org id=B67463.170467322627075 (code B ref 67463); Mon, 08 Jan 2024 00:21:02 +0000 Original-Received: (at 67463) by debbugs.gnu.org; 8 Jan 2024 00:20:26 +0000 Original-Received: from localhost ([127.0.0.1]:34091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMdNR-00072d-Oz for submit@debbugs.gnu.org; Sun, 07 Jan 2024 19:20:26 -0500 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:58729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMdNP-00072P-O3 for 67463@debbugs.gnu.org; Sun, 07 Jan 2024 19:20:24 -0500 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2cd46e7ae8fso9743291fa.1 for <67463@debbugs.gnu.org>; Sun, 07 Jan 2024 16:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704673212; x=1705278012; 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=7ge8IadZSqYtyyrS5TXDWrQXQ7ZXh+9cfpf0IBezggw=; b=arrvt1DsuW3IlVZyjjgKtvbf2+PzK4k4QtxFqz8/pbuCzbmzoKIwzg2rR0YcX3Wak6 WyILozng5+6xYqX54ypNxMoKXFaj7YztdzEsAAGfjzQ9plEUejNI4PnzLD2dbHLAhhgP GATCkeOWAOn1kvhHOgxd/CdvIcfUmM/7SLNyQyL415PkJH0l7rso6QdzKVMGfdYRvNBp r5zJIy5+qlNrRawkwiIIXLy2Gc3PMXYiUcH4nyF6B/I5GDStPkpGldXCozT2ejgL1ZOU tnE0WnrB5Rta3v9tWyAdWVLfs5M4KUIzNkXleLEIudomW+GqxW8O7Yqx6HMzP143bVwr okdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704673212; x=1705278012; 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=7ge8IadZSqYtyyrS5TXDWrQXQ7ZXh+9cfpf0IBezggw=; b=EzN2NKgGl+RATPjLydpnZP5Z+LjgYrhRkpB2+reSCLUFtqpyqumsbSAMYK2dvzDF53 z6cEHkPK9HtIoxzUHT8sPidC0YTJO8yQntFppYSq27BA41IKAYI8ah5sHSV60w39e5oz Z2prXHn38OTPiSFxtHn/NCJiNm2lhjDfoYP6XKO++jWhEOYOkBBmG8KXFRbDRjbEJHl2 majQbPlR/kJNXXH7u7fopYu034J5Cq/UPHUWaeQt6vi2WLpRJ1B7iL3ukeKomrwfLFFi BG9PvTxN1fYmxjFWLf3h8uYw38WITEBAwLhe4ghoziVkZJdFUoEL0qiAPqP0Pum+PMua Bi4A== X-Gm-Message-State: AOJu0Yx8dBcMTZKDkYeOL5HqnzlTYR6ju3jfZTq0pjX63VNHkhOlk00q qiskne/vOM4wdqqhJdNklbDDE7bcZuzn6rUSgj4= X-Google-Smtp-Source: AGHT+IEw23ZZZfYuEtotB8g6RfcCirEaIsCSuXzTHlABveCMKNQT5oIS5ST/s1ts3NgF859ZXa8n32hFvFWb6vbf9aY= X-Received: by 2002:a2e:9542:0:b0:2cc:c895:7140 with SMTP id t2-20020a2e9542000000b002ccc8957140mr492892ljh.73.1704673211537; Sun, 07 Jan 2024 16:20:11 -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:277527 Archived-At: On Sun, Jan 7, 2024 at 5:20=E2=80=AFAM Stefan Monnier wrote: effects. > I suggest the patch below instead, which also "quick" but much less dirty= . I didn't see it, did you attach it? > We'd first have to decide what is the behavior we want from it. > Note that `derived-mode-add-parents` doesn't really "add" I'd think for every "add" it should be reasonably easy to envision a "remove", but that complicates things indeed. > (i.e. overwrites) the list of extra-parents, so a corresponding behavior > would be for `derived-mode-remove-parent` to set a new property > `derived-mode-muted-parents`. Extra parents, muted parents, siblings become parents, definitely some good 90's sitcom material :-) Jo=C3=A3o