From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67463: 30.0.50; Eglot may manage js-json-mode buffers with wrong server Date: Sat, 6 Jan 2024 20:04:09 +0200 Message-ID: <2eeff48a-942a-463b-999c-4a615f67d052@gutov.dev> References: <83fs0k938h.fsf@gnu.org> <834jgio5os.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Pengji Zhang , Eli Zaretskii , 67463@debbugs.gnu.org To: Stefan Monnier , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 06 19:05:14 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 1rMB2l-0006Sp-Rv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jan 2024 19:05:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMB2Z-0005GJ-WD; Sat, 06 Jan 2024 13:05:00 -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 1rMB2X-0005G3-Hv for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2024 13:04: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 1rMB2W-00042H-Q3 for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2024 13:04:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMB2b-00068x-Pv for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2024 13:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jan 2024 18:05:01 +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.170456426823572 (code B ref 67463); Sat, 06 Jan 2024 18:05:01 +0000 Original-Received: (at 67463) by debbugs.gnu.org; 6 Jan 2024 18:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:60276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMB24-000688-Bn for submit@debbugs.gnu.org; Sat, 06 Jan 2024 13:04:28 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMB22-00067u-38 for 67463@debbugs.gnu.org; Sat, 06 Jan 2024 13:04:26 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DAA855C00B0; Sat, 6 Jan 2024 13:04:15 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 06 Jan 2024 13:04:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1704564255; x=1704650655; bh=IJa9XklOw2dtkox5xxkRJySw/hEfNYJm7VIgSWiRjfw=; b= iONAhhOSz03raPxAxKZJjRKrP2TArLKb8xbfOr0SKdj4ICcyq8D36jUhlnZ6nhiR +WkCNAgp/PfZwNoKd2myALMM8tCIIegZ64/VnWvsXG6jmOekT7UTjFSlBLvy1X9E pbvp82zYn1gjB65fgLXO2tBeIKZoSbulffRVIJNLZgslGL22vxsS6OhN8/NxLSGg Vopd6L9Y1yP2/UAM6ulrLHSXd83DYodIWIYbvJsD2b5NP/XAdQsK7ktB/mh4NNqF fNbhUd6KBEGwUj/flfUL+OAntckQvO0M2nEx77i4O875EFl6H3uwqYUuDDCzgGB5 XdtT3VrFj9jR9MNhYe7TuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704564255; x= 1704650655; bh=IJa9XklOw2dtkox5xxkRJySw/hEfNYJm7VIgSWiRjfw=; b=g 3wj3x8uQo0C8/3t7uhX2lScP7jJMO1nqlyH1mWD0qE0uJ9mwvbSrnbsZrJFFyy9/ 7R09eXoPBDbkHmR6zncvVrnEfnZyLRrgnqtpxloxjjILhPj/5I3aN/TVEvc5OhH+ S70B+Za8Vvi3vLJT4dTU5IhMO13RFMJT/M1Z8joDxQuIEf7OUqtlEj4pXYnyZzUZ 0cBGvq2IdcnzWaGY01dO1ofPNtFQwroeTLVptQNaspgqA7KKRTHGfjarOQRVYkCl z9bXJbwFT/Pxqlr4RALQ5PS1fAk+b6HItyXsU660I05KwQIb0MmBFGEdTDjxOIfo mbm7mSsPC9Q+MPCus39+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehuddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 Jan 2024 13:04:13 -0500 (EST) Content-Language: en-US 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:277477 Archived-At: On 06/01/2024 18:01, Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > -(define-derived-mode js-json-mode js-mode "JSON" > +(define-derived-mode js-json-mode prog-mode "JSON" > + (js-mode) ;; For expediency, reuse js-mode, but not as parent (bug#67463). Nice.