From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Newsgroups: gmane.emacs.bugs Subject: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed Date: Wed, 15 Dec 2021 07:01:55 +0000 Message-ID: References: <62d5f9445730439e9d6b765f3d181c78@pay-lab.ru>, <8735muxwtt.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5098"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "52479@debbugs.gnu.org" <52479@debbugs.gnu.org> To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 15 08:03:51 2021 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 1mxOKN-000190-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Dec 2021 08:03:51 +0100 Original-Received: from localhost ([::1]:52740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxOKL-0004oC-Ix for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Dec 2021 02:03:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxOJa-0004na-LB for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 02:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxOJa-0004y8-CA for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 02:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxOJa-0001jr-8k for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 02:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Dec 2021 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52479 X-GNU-PR-Package: emacs Original-Received: via spool by 52479-submit@debbugs.gnu.org id=B52479.16395517296604 (code B ref 52479); Wed, 15 Dec 2021 07:03:02 +0000 Original-Received: (at 52479) by debbugs.gnu.org; 15 Dec 2021 07:02:09 +0000 Original-Received: from localhost ([127.0.0.1]:60097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxOIi-0001iQ-Pk for submit@debbugs.gnu.org; Wed, 15 Dec 2021 02:02:09 -0500 Original-Received: from mail1.itgrp.ru ([185.8.182.248]:23534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxOId-0001hd-KW for 52479@debbugs.gnu.org; Wed, 15 Dec 2021 02:02:07 -0500 IronPort-SDR: 1rNAukPsWrh6DJ8SFrHGLBozZiFPVKh17mZ3WSYzWgigHMzU4aUGLQ23QsObkQCLcX+QTvAdBs mv3YAo9eemeg== X-IronPort-AV: E=Sophos;i="5.88,207,1635195600"; d="scan'208";a="158656198" Thread-Topic: bug#52479: 27.2; EDebugging stops when breakpoint condition can not be printed Thread-Index: AQHX8OdEDAdPpLnarEe/vOdhZHpiNqwzBu5/gAAS0d4= In-Reply-To: <8735muxwtt.fsf@web.de> Accept-Language: ru-RU, en-US Content-Language: ru-RU x-originating-ip: [192.168.88.210] 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:222411 Archived-At: Michael, > Hmm, that calls `report-emacs-bug-insert-to-mailer'. You have set up a > mailer on your system and it works all fine? If you think Emacs is not > behaving here, can you please create a separate report? - that this > works is very important. Maybe you can already give debugging a try? I did not. I think this is the reason why it did not work for me. Thank you= ! I think the following changes (or similar) would help to avoid such misunde= rstandings: --- /usr/share/emacs/27.2/lisp/mail/emacsbug.el.gz +++ # @@ -114,7 +114,8 @@ (start-process "xdg-email" nil "xdg-email" "--subject" subject "--body" body - (concat "mailto:" to))) + (concat "mailto:" to)) + (display-buffer-below-selected (get-buffer "xdg-email") nil)) (error "Subject, To or body not found"))))) (defvar report-emacs-bug--os-description nil Diff finished. Wed Dec 15 11:58:39 2021 Andrey. ________________________________________ =CE=F2: Michael Heerdegen =CE=F2=EF=F0=E0=E2=EB=E5=ED=EE: 15 =E4=E5=EA=E0=E1=F0=FF 2021 =E3. 10:26:38 =CA=EE=EC=F3: =CF=E5=F2=F0=EE=E2 =C0=ED=E4=F0=E5=E9 =CA=EE=EF=E8=FF: 52479@debbugs.gnu.org =D2=E5=EC=E0: Re: bug#52479: 27.2; EDebugging stops when breakpoint conditi= on can not be printed =CF=E5=F2=F0=EE=E2 =C0=ED=E4=F0=E5=E9 writes: > Hello, team! Hello - thanks for your (very well done and pleasant to read!) report. > Debugger entered--Lisp error: (error "Apparently circular structure being= printed") > apply(debug error (error "Apparently circular structure being printed")= ) > edebug(error (error "Apparently circular structure being printed")) > signal(error ("Apparently circular structure being printed")) > edebug-signal(error ("Apparently circular structure being printed")) > message("Break: %s =3D> %s" filtered (#)) Another symptom of printing the wrong way, similar to bug#52222. Printing with `edebug-safe-prin1-to-string' should fix it and be the right thing, right? > P.S. I could not copy the text from emacs with C-c M-i according to hint: > While in the mail buffer: > Type C-c C-c to send the bug report. > Type C-x k RET to cancel (don=92t send it). > Type C-c M-i to copy text to your preferred mail program. <---- Hmm, that calls `report-emacs-bug-insert-to-mailer'. You have set up a mailer on your system and it works all fine? If you think Emacs is not behaving here, can you please create a separate report? - that this works is very important. Maybe you can already give debugging a try? Thanks, Michael.