From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filippo Argiolas Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] new package: eglot-inactive-regions Date: Wed, 04 Dec 2024 18:23:29 +0100 Message-ID: References: <874j3nrri7.fsf@posteo.net> <878qswlfty.fsf@posteo.net> 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="20806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Gerd =?utf-8?Q?M=C3=B6llmann?= , Stefan Kangas , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 04 18:24:28 2024 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 1tIt6y-0005E2-0R for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Dec 2024 18:24:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIt6B-0005v3-DB; Wed, 04 Dec 2024 12:23:39 -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 1tIt6A-0005uo-AO for emacs-devel@gnu.org; Wed, 04 Dec 2024 12:23:38 -0500 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIt68-0005iR-3u for emacs-devel@gnu.org; Wed, 04 Dec 2024 12:23:37 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-43497839b80so249935e9.2 for ; Wed, 04 Dec 2024 09:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733333012; x=1733937812; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=/ZFm42Zfls64g15wFDxKAuXlmQgjKy/Gta5Taz6j+dM=; b=MclEwDmxok0pmVh73w3wcYgU33Ns+JxUkP9tWw8nZ9AORX6usSzr3nBagSpWlVx1G8 Q2tvLgIEjdyMZJXLp6IupjA+hJ9o9A1fYMnBYVO4KWJzKr02eoGSJBHMX6LppxGoL2jZ WJY6OCv9/TzsjA+t/xHKMWPHFo20aB9zc8L5gTrSFL7rPhOoi9QSUPpPxXDsyAoGmcZU T0MN3DglM3hCOs/SdWNv8F/kEpdU+esfzRFelWv+qfHj022T6V5ZTL3XBbqagJSkyrD1 4Ny5jRoUQtitgeA0FMhXwTA9wK9buJP6QzduMd9/o4CBbvDHxT3Nht8ABzL6EpTu32eZ IvSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733333012; x=1733937812; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/ZFm42Zfls64g15wFDxKAuXlmQgjKy/Gta5Taz6j+dM=; b=iLDaQz26DQfPYwqsR7IVEA/pMlYp6MqzTBJprdwtH8Kmn4eMudc4qd9r9QuIDKmx6a a6K1gY7U9hHxtSK6Tbhg4fwG84oZ4iZch3E4NRyRp6uKZIj8sSVnRCYtPALRQzwAkINA lHkfyKaZ299jXRz3VHnRPGcmuV6ZjexUQB1X76V6dOwyrcDUg9W/XowaOFUCAQ86URw8 v5+HE24zPcs2eErzM5VNN7XU/8eypJp4/8jWwnXbNN6zjqDABMMuORQoLOs5qViKCfoS iHindzd8vg3Eks6z9H+l5nzUfZ68oQsWdfD7qm+PPum1bpS5SugktkQM0T1uM0WDTM3Y IZqQ== X-Gm-Message-State: AOJu0Yzmmg2LwbYF2tEbyMYg7Sm7pJ/+JpL1KzSGaC1z79NckeW90AvQ GlhMAS47Wu74tDi3ekeNJkDEyhT8Z+mMKPQ0ueQ5UioIeo3V4+1//Uf5qjta X-Gm-Gg: ASbGncvIv7xG6lxYVw/EwCFFj/BQgQt9/5ZrRVdu+ShK46fc60cI6hT5NInL9WyMYZ/ /m/FKeGmGZnMLJv/7YJULNOD/qhrkOcbP+WNFWXQnQc5uv6L/BowJt4cWR1EYtvxn4ZH7iT+9/l XIgMN2habyooJNmUivXDx6QF39hMENtxMrF7XnIkU0daCWu/mUlH+7i9DqSDXHLsfdq3uH9iM9/ 359sxmw4BO09Qt49wyVpk4z4i7XGfgitwCy5H/beUphBComzPJ5i8BUz3E= X-Google-Smtp-Source: AGHT+IE3gaiY5D1qKd63AgFyea5/I6rXR6vGCKXUxGIeuqz/kpDfv3eKiUBgR83eQ9Tb/LWQo68H1A== X-Received: by 2002:a05:6000:1acc:b0:385:e30a:e0f7 with SMTP id ffacd0b85a97d-38607ace5f0mr4378606f8f.22.1733333012337; Wed, 04 Dec 2024 09:23:32 -0800 (PST) Original-Received: from mba ([151.81.191.240]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ed8dee66sm10817841f8f.104.2024.12.04.09.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 09:23:31 -0800 (PST) In-Reply-To: <878qswlfty.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=filippo.argiolas@gmail.com; helo=mail-wm1-x32f.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, 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326040 Archived-At: Philip Kaludercic writes: > I would try something of the form like > > (if (fboundp 'new-function) > (new-function ...) > (old-function ...)) > > If on the other hand there has already been a new release of Eglot with > these commands, then just depend on that version and the issue would > resolve itself. > CC-ing Jo=C3=A3o. I pushed the suggested change but I still get the compile warnings about deprecated functions. I'd like to keep supporting emacs-29, should I just disregard the warning? Sorry for the ignorance, how would the dependency on a specific eglot version work now that it's in core? Does it require the users to have additional repos enabled? Sounds strange to me that we have macros to deprecate functions but no mechanism to automatically switch to the new one if it's just a rename. Am I missing something obvious? Thanks! Filippo