From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Minor bug in eglot; managed-major-mode must be a list Date: Tue, 25 Oct 2022 09:33:22 +0100 Message-ID: References: <86lep6juga.fsf@stephe-leake.org> <74041D6B-1149-4C51-B1AF-76397C1DF7F8@thornhill.no> <87tu3tr490.fsf@gmail.com> <87lep543pw.fsf@posteo.net> <8735bdqjs5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000820f6a05ebd7c30a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Theodor Thornhill , emacs-devel , Stephen Leake To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 25 10:59:50 2022 Return-path: Envelope-to: ged-emacs-devel@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 1onFmo-0008wi-7c for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Oct 2022 10:59:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onFfl-0002uB-57; Tue, 25 Oct 2022 04:52:33 -0400 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 1onFNT-0004hz-SK for emacs-devel@gnu.org; Tue, 25 Oct 2022 04:33:43 -0400 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onFNP-0004YL-Gg for emacs-devel@gnu.org; Tue, 25 Oct 2022 04:33:39 -0400 Original-Received: by mail-oi1-x230.google.com with SMTP id n130so13370796oia.6 for ; Tue, 25 Oct 2022 01:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9mVhDNIcHUJm9V3W85qE6Gm4A1KYWNPti6Ql4jQHfnw=; b=A+Ts+a5RJVUQFa6hsDIDi46rNTSXAt5iYpdXV1vnOPuw/vEcE8kPoL9LsRpJDHSFWS UH2m6GkzkiApWzsA/boC1JY1b8tRViIA3TiBN4f/TWfOlH/kAR5XxHRsTLOAY7Lmp++k Mn9Mh8mk/yTRKOOUBx53wLy7YKVfsCwW6YSaK8tgm0xHxfJaDqWlKkCuDpvo06iLl1iJ rSq6Pa8HQDmxqy+LD8FAqIjlBKyE+Y5hccbs9ncJMfeniKNUchiP5zfAJZFBhgAue2t6 KivQ4GXAy5G25bokK/jZT+V3WyA/TVHCfTJBlwX2OEWRbfrCa5YZYnNgVN/2nlG3rXca eS/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=9mVhDNIcHUJm9V3W85qE6Gm4A1KYWNPti6Ql4jQHfnw=; b=cLQZ5J8sJT1PB6uegaR9v4gcPO955CArm8xhcppBEkpxEACgfuKbs4OuckZOE8e7m1 ckKe2asPh661Pz0+fWTnUK+GTsr07YYT4JpvXxxWZVaLobtcyMs0Zl0suMgKItWd6N+G JQRYMme2F/RRZz0RlpOWFuyee0ilYjxcMzCoMz5p1HWQP4DbXVJ5aLEJXqwEiSd5R9Ga dVcMMnJHSJap3M0VBYf3NPcj07t+2lmHIIdcXV9hEXunioUr/DvW7wAPunCewjfCHJLX vRcaYyBYvp2pjMMJA1vUKbX6SOVggosPLKT/HftTYMwCxJTZJ8WGK8nQG8V6j5v+H0CG av6w== X-Gm-Message-State: ACrzQf1yQm3N00iuC3eBWHuV1J8Yaj7cuW77jzP1gs3Cyr0UrKyN6tEr Z0XQ+9AwLy9g4V7U6tF5QHxVjqsu4czYTWJzXjU= X-Google-Smtp-Source: AMsMyM5bnB49vTT9Z6i5SSSWPa/l3cLKFIymDyeDf0ZpYlPkhTdlVA1BDphPYD6o92mFN9oMwCbjLoyBUMCwB02LhtI= X-Received: by 2002:a05:6808:f91:b0:359:a22e:b047 with SMTP id o17-20020a0568080f9100b00359a22eb047mr89829oiw.215.1666686814128; Tue, 25 Oct 2022 01:33:34 -0700 (PDT) In-Reply-To: <8735bdqjs5.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::230; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298442 Archived-At: --000000000000820f6a05ebd7c30a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 24, 2022, 17:55 Robert Pluim wrote: > >>>>> On Mon, 24 Oct 2022 15:54:19 +0000, Philip Kaludercic < > philipk@posteo.net> said: > > Philip> Robert Pluim writes: > >>>>>>> On Mon, 24 Oct 2022 06:49:56 +0200, Theodor Thornhill < > theo@thornhill.no> said: > >> > Theodor> I believe eglot has a helper for this - 'eglot--ensure-list'= , > maybe > Theodor> use that for consistency? > >> > >> Or even the `ensure-list' from subr.el > > Philip> That was defined in 28.1 but Eglot intends to support version= s > back to > Philip> 26.1. I would suggest using Compat to avoid issues like this > but that > Philip> is a matter of taste. > > I=CA=BCd forgotten eglot started life outside emacs :-) > Yes. Be sure to read the commentary on the file's header able compatibility with other Emacs versions, and design philosophy in general. Happy to add clarifications. Grammar fixes welcome there, too ;-) Also, please try to CC me in Eglot-related matters, i don't always track the mailing lists so closely recently. Jo=C3=A3o > --000000000000820f6a05ebd7c30a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 24, 2022, 17:55 Robert Pluim <rpluim@gmail.com> wrote:
>>>>> On Mon, 24 Oct 2022 15:54:19 +0000, Ph= ilip Kaludercic <philipk@posteo.net> said:

=C2=A0 =C2=A0 Philip> Robert Pluim <rpluim@gmail.com> writes: =C2=A0 =C2=A0 >>>>>>> On Mon, 24 Oct 2022 06:49:56 +02= 00, Theodor Thornhill <theo@thornhill.no> said:
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 Theodor> I believe eglot has a helper for this - 'eglo= t--ensure-list', maybe
=C2=A0 =C2=A0 Theodor> use that for consistency?
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> Or even the `ensure-list' from subr.el

=C2=A0 =C2=A0 Philip> That was defined in 28.1 but Eglot intends to supp= ort versions back to
=C2=A0 =C2=A0 Philip> 26.1.=C2=A0 I would suggest using Compat to avoid = issues like this but that
=C2=A0 =C2=A0 Philip> is a matter of taste.

I=CA=BCd forgotten eglot started life outside emacs :-)

Yes. Be sure to read= the commentary on the file's header able compatibility with other Emac= s versions, and design philosophy in general. Happy to add clarifications. = Grammar fixes welcome there, too ;-)

Also, please try to CC me in Eglot-related matters, i don'= t always track the mailing lists so closely recently.

Jo=C3=A3o
--000000000000820f6a05ebd7c30a--