Subject: bug#53843: closed (Re: bug#53843: 27.2; unknown function used in flymake)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 07 Feb 2022 15:46:02 +0000

Your bug report

#53843: 27.2; unknown function used in flymake

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
53843: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53843
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#53843: 27.2; unknown function used in flymake
From: Robert Pluim <[email-masked]>
To: Nicolas Martyanoff <[email-masked]>
Cc: [email-masked]
Date: Mon, 07 Feb 2022 16:44:51 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

>>>>> On Mon, 07 Feb 2022 16:28:36 +0100, Nicolas Martyanoff <[email-masked]> said:

    Nicolas> Sorry for the noise on the bug tracker, the problems does not come from Emacs.

No worries, closing.

Robert
-- 

Subject: 27.2; unknown function used in flymake
From: Nicolas Martyanoff <[email-masked]>
To: [email-masked]
Date: Mon, 07 Feb 2022 13:54:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Using eglot with python-mode (with pyright) causes regular errors
involving flymake caused by calls to an unknown "string-replace"
function:

Debugger entered--Lisp error: (void-function string-replace)
  string-replace("%" "%%" "resource.py")
  flymake--log-1(:warning flymake "Invalid region line=%s col=%s" 35 40)
  flymake-diag-region(#<buffer resource.py> 35 40)
  jsonrpc--process-filter(#<process EGLOT (eventline/python-mode)<1>> "Content-Length: 477\15\n\15\n{\"jsonrpc\":\"2.0\",\"method\":\"...")

I cannot find any mention to a string-replace elisp function, is that an
error in flymake or is there a missing dependency?

Regards,

-- 
Nicolas Martyanoff
http://snowsyn.net
[email-masked]