Subject: Re: bug#55477: 29.0.50; flymake-goto-next-eror shows terminal like color codes in mini buffer

From: Pankaj Jangid <[email-masked]>
Date: Tue, 17 May 2022 22:25:34 +0530

Lars Ingebrigtsen <[email-masked]> writes:

> Pankaj Jangid <[email-masked]> writes:
>
>> Tried it with "emacs -Q" also. Same issue.
>
> Do you have a recipe to reproduce this problem, starting from "emacs -Q"?

1. Launch Emacs with "emacs -Q". This opens *scratch* buffer already.

2. M-x flymake-mode

3. Insert the following snippet (with error)
   #+begin_src elisp
   (defun test-fun (obj)
     (if (stringp obj)
       (replace-string "from" "to")))
   #+end_src

4. Now M-x flymake-goto-next-error repeatedly until you reach the string
   "replace-string"

Result:

It shows following text in mini-buffer,

As collected in the original report - I am using PGTK build on Debian
Stable. I am using just two configure options - --prefix and
--with-pgtk.