From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Martyanoff Newsgroups: gmane.emacs.bugs Subject: bug#53843: 27.2; unknown function used in flymake Date: Mon, 07 Feb 2022 16:28:36 +0100 Message-ID: <8735kuzoez.fsf@valhala.localdomain> References: <87zgn24z28.fsf@valhala.localdomain> <877da692j4.fsf@gmail.com> <87leymzq78.fsf@valhala.localdomain> <8735ku90pd.fsf@gmail.com> 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="20566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Nicolas Martyanoff , 53843@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 07 16:29:20 2022 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 1nH5x7-0004xh-CE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 16:29:17 +0100 Original-Received: from localhost ([::1]:55414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH5x5-0005KD-SP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 10:29:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH5ws-0005FA-51 for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 10:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH5wr-0000Yk-R4 for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 10:29:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nH5wr-0000ys-Ok for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 10:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Martyanoff Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Feb 2022 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53843 X-GNU-PR-Package: emacs Original-Received: via spool by 53843-submit@debbugs.gnu.org id=B53843.16442477263733 (code B ref 53843); Mon, 07 Feb 2022 15:29:01 +0000 Original-Received: (at 53843) by debbugs.gnu.org; 7 Feb 2022 15:28:46 +0000 Original-Received: from localhost ([127.0.0.1]:43252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5wc-0000y8-Kj for submit@debbugs.gnu.org; Mon, 07 Feb 2022 10:28:46 -0500 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:40920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5wZ-0000xr-48 for 53843@debbugs.gnu.org; Mon, 07 Feb 2022 10:28:45 -0500 Original-Received: by mail-wr1-f50.google.com with SMTP id s18so25466921wrv.7 for <53843@debbugs.gnu.org>; Mon, 07 Feb 2022 07:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=P36/tCl0dkKaIX/1ALSoNgkansMANDiYEmbHWheyZl4=; b=ct6JT5alKu3Ys2tLr1mgB+0L3ASJlVPfOsQ78i1+gPdpPUZV4hFxIcMy+7VB5R0WBK JLCSmPC7EwaXZHo5mthbGRio2otyfdB2WP5meUyLaRhPEBf9a8dYkZE4ntSGWzwBsQG9 7q1puEZCnutwAp1+qcgPYhDXFpbg1otbMS1es6Io2nenSxt4EasPY9gVDdE8QfPYW1aT 9+Qxjzq5X8qniMrn9aWO3jusBQXUb4jsTbRWeP8VPuTol3QGwljuan8KsNKXNbu3Mc/2 kMZ21S/rss37pgjdsA/w/yJWfZVDtrZyMqBlV97QayUTg4U+iXLUWPUgaCQMIRumWyfY J4Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=P36/tCl0dkKaIX/1ALSoNgkansMANDiYEmbHWheyZl4=; b=t9UhhgzVLtmNVb0Dmf5BmtXsfNwk479YE+9HWkiiIrdN21ImDdgeRg+jS+GETiQqvx fW0riaj1NdKUOEOFLWJmoRqAgE9X/v8XZNDTsvBEObl9hmMh4PGwi5jE9XK/MfNDkSjV N1cq3U/17ClTTdapudJZJP8GYHTwcCK7wFEBKqLuxEq0o51p3+awWXjy02NFcWa965oA u255WURTwKl4grRsa398ctdE34dj0ERBgD1uHwnjH12ATsDEC/6sK3pHr6odmIutotZu hDVPRAXfcBIs/VVQMhvJsIi5ym3QGVEyf/yM43qKA8bwh47ICYZDsFCzGdh+E+zoCTC8 1wqg== X-Gm-Message-State: AOAM53064TJ4uRP+H8XQ6CjcJZeB9f8DyCV0vCbcJHFGFksGEzmO4v+U x4wOc7mGqB4UzKQjSqGr/wrc6A1rpKggmw== X-Google-Smtp-Source: ABdhPJyHksLEIyWA4Mx3kINd1SjkbTDKnk6fV89/32ZSjJZsGv4z6i4n62aMCpfnAXzzSHCxkK6RBg== X-Received: by 2002:a5d:6d04:: with SMTP id e4mr10796423wrq.279.1644247717217; Mon, 07 Feb 2022 07:28:37 -0800 (PST) Original-Received: from valhala (2a01cb0405243e00927ff8b354d83417.ipv6.abo.wanadoo.fr. [2a01:cb04:524:3e00:927f:f8b3:54d8:3417]) by smtp.gmail.com with ESMTPSA id bd25sm5275783wmb.6.2022.02.07.07.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 07:28:36 -0800 (PST) In-Reply-To: <8735ku90pd.fsf@gmail.com> (Robert Pluim's message of "Mon, 07 Feb 2022 16:05:18 +0100") 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" Xref: news.gmane.io gmane.emacs.bugs:226260 Archived-At: Robert Pluim writes: >>>>>> On Mon, 07 Feb 2022 15:50:03 +0100, Nicolas Martyanoff said: > > Nicolas> Robert Pluim writes: > >>>>>>> On Mon, 07 Feb 2022 13:54:23 +0100, Nicolas Martyanoff said: > >>=20 > Nicolas> Hi, > >>=20 > Nicolas> Using eglot with python-mode (with pyright) causes regular e= rrors > Nicolas> involving flymake caused by calls to an unknown "string-repl= ace" > Nicolas> function: > >>=20 > >> `string-replace' was added in emacs-28, so it looks like your flym= ake > >> package needs adjusting. (the version shipped with emacs-28 has ;; > >> Package-Requires: ((emacs "28.1") (eldoc "1.1.0") (project "0.7.1"= ))) > > Nicolas> I am using eglot which references a flymake copy from > Nicolas> https://github.com/emacs-straight/flymake. > > Hmm, is that the canonical upstream? I don=CA=BCt think so. Yes, I finally found out that the problem comes from eglot: it requires a very recent version of flymake; this causes straight.el to install flymake from this exterior repository, and this version requires Emacs 28.1. Sorry for the noise on the bug tracker, the problems does not come from Ema= cs. > As a workaround you could copy the definition of `string-replace' from > emacs-28's subr.el. I did not think about that, good idea! Thank you so much. Regards, --=20 Nicolas Martyanoff http://snowsyn.net khaelin@gmail.com