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 15:50:03 +0100 Message-ID: <87leymzq78.fsf@valhala.localdomain> References: <87zgn24z28.fsf@valhala.localdomain> <877da692j4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6227"; 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:19:46 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 1nH5nt-0001Ok-Qt for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 16:19:45 +0100 Original-Received: from localhost ([::1]:39848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH5ns-0002ry-Ed for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 10:19:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH5MV-0000tL-AP for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 09:51:29 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH5M6-0002c5-3Z for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 09:51:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nH5M5-0007y2-Vx for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2022 09:51: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 14:51: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.164424541530533 (code B ref 53843); Mon, 07 Feb 2022 14:51:01 +0000 Original-Received: (at 53843) by debbugs.gnu.org; 7 Feb 2022 14:50:15 +0000 Original-Received: from localhost ([127.0.0.1]:41398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5LK-0007wP-Nv for submit@debbugs.gnu.org; Mon, 07 Feb 2022 09:50:14 -0500 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:44973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5LG-0007w5-0Y for 53843@debbugs.gnu.org; Mon, 07 Feb 2022 09:50:13 -0500 Original-Received: by mail-wr1-f54.google.com with SMTP id k18so25234837wrg.11 for <53843@debbugs.gnu.org>; Mon, 07 Feb 2022 06:50:09 -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; bh=q6PE/Ypb9wM3iFcCUwfOuSrjK5RJq00YUuJ5rDhGSJo=; b=kMAp2eS3Z+C9I87/F7lNUH/9s1E1UQPH3sie9Hc/cjbp82OB/aFiVJHR/aEDV3LHHh pVFItb5Zf/xdoYBWKm9+2FwGUG7v6b3io1DD+pz90twYg+G711tPYh6NmdRXu0dwd0zQ UCy1J9eAItOtcQ/WO4Cvfc6nBCMJXRTu663acqgKgwDctRH47YLZElUneorb3WKVcQev 214rfOffHNCrkTFvL70aGqgCZmUDpRbudhkwGhqsTXYud0vDsd+3ZW/By5Q/g1zYsQ+8 FDFuPskJQLMR+FXO10GYqMf6MOLnXSsT1sOTVlj4Ct3XBIYxZ10N/9E2ERt+wtIIarKP tyXw== 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; bh=q6PE/Ypb9wM3iFcCUwfOuSrjK5RJq00YUuJ5rDhGSJo=; b=Vo2ykr8C8/03tiJdFmbbdJgEShnRO/gL+DthChh+cLP/Itwc9C/9m2IRW0oqpUbDKk raonXVXfwPgg3WdPgiQ1oKtMi8SfSpkkf9LtPVxT5B4Vvnn4CoyZ6uzHRNWiiF37nCW5 gI0gmcgCjX8QGwdGilsNJFzV8gtuicqvM3GtOjKjxLrZXJK7XMuVNwkLbmZ5UwlIV2jB RXKN+KmIUpXhg0IEh7e39PE2idbjjI5v1xTFJCORFyR3K306AJtuIhCSAUz2Uw6pwa8g bKXcqROMWlFxQN7cXsGJExrSssZMrDfAAFePiLqbhIYyEPbdPStrwHgZ8WirJH1QmOMw EZXA== X-Gm-Message-State: AOAM532fohqR+ezJyC3LsWuw+d90jHQf+TUNCdyq9ZF2AeCXiqKuloEB PIKOFKCqOsStTpC8EsYcNqoU+P6yWS85Og== X-Google-Smtp-Source: ABdhPJy6OK7iC/R9Wjd+UurqOJHD2fLYVkqb0ymqtMPzX7vsEeukJIwu9wiWl5DrR+D3DkQ+LDsqoQ== X-Received: by 2002:a5d:6041:: with SMTP id j1mr5812639wrt.47.1644245403873; Mon, 07 Feb 2022 06:50:03 -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 t17sm10210803wrs.10.2022.02.07.06.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 06:50:03 -0800 (PST) In-Reply-To: <877da692j4.fsf@gmail.com> (Robert Pluim's message of "Mon, 07 Feb 2022 15:25:51 +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:226257 Archived-At: Robert Pluim writes: >>>>>> On Mon, 07 Feb 2022 13:54:23 +0100, Nicolas Martyanoff said: > > Nicolas> Hi, > > Nicolas> Using eglot with python-mode (with pyright) causes regular errors > Nicolas> involving flymake caused by calls to an unknown "string-replace" > Nicolas> function: > > `string-replace' was added in emacs-28, so it looks like your flymake > package needs adjusting. (the version shipped with emacs-28 has ;; > Package-Requires: ((emacs "28.1") (eldoc "1.1.0") (project "0.7.1"))) I am using eglot which references a flymake copy from https://github.com/emacs-straight/flymake. The author of eglot told me to report the bug here, but I guess the problem comes from eglot (which requires 26.1+) using a copy of flymake which requires (28.1+). I do not understand why emacs loads this copy of flymake without signaling an error given the constraint in Package-Requires, or why is eglot using a copy of flymake altogether, but these problems are unrelated to string-replace. Thank you for the information anyway! Regards, -- Nicolas Martyanoff http://snowsyn.net khaelin@gmail.com