GNU bug report logs - #58311
Missing newline in *Messages* between evaluation result and error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Felix Dietrich <felix.dietrich@HIDDEN>; dated Wed, 5 Oct 2022 18:38:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58311 <at> debbugs.gnu.org:


Received: (at 58311) by debbugs.gnu.org; 6 Oct 2022 12:42:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 08:42:31 2022
Received: from localhost ([127.0.0.1]:59318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ogQCt-0001Ug-MO
	for submit <at> debbugs.gnu.org; Thu, 06 Oct 2022 08:42:31 -0400
Received: from quimby.gnus.org ([95.216.78.240]:41200)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ogQCr-0001UQ-I5
 for 58311 <at> debbugs.gnu.org; Thu, 06 Oct 2022 08:42:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=EHpk12gqFJOUGTBnSn+zD+5fWYFDE5UvxoD5AuesiqM=; b=EJgJ7LHnyWTYtl+G2lBvdweW+z
 jPCNTx5epguWAZYoIGJUZvJQJdg8xE/qa1SzshKuME3nx2BvtR0zhRMOPlJomJQ3/CwOAtkAiKAch
 IIVxqgDlp79U9kQuiI0OgNdBfFnWwhDMsTSk9T74itymCvo6MC/UMfsjvpA7wfTiuKtw=;
Received: from [84.212.220.105] (helo=downe)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1ogQCj-0002tT-5M; Thu, 06 Oct 2022 14:42:23 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Felix Dietrich <felix.dietrich@HIDDEN>
Subject: Re: bug#58311: Missing newline in *Messages* between evaluation
 result and error
In-Reply-To: <87zge9xgyj.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 06 Oct 2022 14:41:08 +0200")
References: <87edvmp15t.fsf@HIDDEN> <87zge9xgyj.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEVlXVNRTkpMQD1D
 QT1VLjAzMjCPKzAhHBz///9PwQFHAAAAAWJLR0QIht6VegAAAAd0SU1FB+YKBgwJDcV7K9IAAAGs
 SURBVDjLdZNdTsMwDMfTPex5JvQCTBwgZDnAhNv3KbX6igTsAqjq9bGTOGmH8MMm+Rf//VljinVP
 3r+d38zeIJmBl7Pjvw6MOST/MyLAE3gffXAnBgAHc/y4iwH0lO0kfrDmeL9/MbjaUMANMjDj8cOw
 lPqJFJTk1Z9DMmBV+x/oG3ANgIL1IUJASj7PCnoFvmlFCXhVsEkewfG7VtXNayvgnQ8tedPyFUi5
 t9Z7iL5FWNh2HzNI44QALaaAvKbe2ceIQkQqav49CKRqD8BSmdk2h8yUYtnjripJ4RLwwcMOeJsr
 dtbl6VYACmAHrCyPrPVOF5UAyWvXUy4DDloVzTzFEMrGAboC2LPA5t74grMUly7PF723HNHJltYY
 NodYImQO64/d3u4GrPQHpBMRsNBctXJVlPMu81JDjDl1FZTfDDoobaQcaw1J7Tm+2kVcSSrdKGju
 fOhra0Wqdfp2JiQaspYAO5F4JobjN4OhAhwmRBrWiXBExM9YAH//ExIOo3gRv7CCd/GM7EEcWIkU
 XK7soUnqudSyGFiHgdKUth+uAG4kyDCCroTB6RezKNLXpYlzmgAAACV0RVh0ZGF0ZTpjcmVhdGUA
 MjAyMi0xMC0wNlQxMjowOToxMyswMDowMOg+mCQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMTAt
 MDZUMTI6MDk6MTMrMDA6MDCZYyCYAAAAAElFTkSuQmCC
X-Now-Playing: Alan Vega's _Collision Drive_: "Viet vet"
Date: Thu, 06 Oct 2022 14:42:20 +0200
Message-ID: <87tu4hxgwj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Lars Ingebrigtsen <larsi@HIDDEN> writes: > Hm. Very odd.
 The code just calls > > add_to_log ("Invalid face attribute %S %S", > QCinherit,
 parent_face); Or rather, it's this bit, but the same applies: 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58311
Cc: 58311 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Hm.  Very odd.  The code just calls
>
> 		      add_to_log ("Invalid face attribute %S %S",
> 				  QCinherit, parent_face);

Or rather, it's this bit, but the same applies:

	      if (err)
		{
		  add_to_log ("Invalid face attribute %S %S", keyword, value);
		  ok = false;
		}




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58311; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58311 <at> debbugs.gnu.org:


Received: (at 58311) by debbugs.gnu.org; 6 Oct 2022 12:41:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 08:41:20 2022
Received: from localhost ([127.0.0.1]:59308 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ogQBj-0001Ry-V3
	for submit <at> debbugs.gnu.org; Thu, 06 Oct 2022 08:41:20 -0400
Received: from quimby.gnus.org ([95.216.78.240]:41160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ogQBi-0001Rj-8U
 for 58311 <at> debbugs.gnu.org; Thu, 06 Oct 2022 08:41:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=tDg6jBQqKVFsyIuXrpj4IdhrZ2KzTvFM1B5DgiwenWY=; b=tMdJLs8Aqrpe5iLcZyzvXQW8il
 t6GybowxOtIxFzKFN22k8uaGaAWSjr3XjJQfTilT7DP8bMdkmEX38tPIfu1yazfkNx5P210PwXRHE
 j5qcvS7EGLueM7gkIUQyenArYSlImDYkaHyrFiCVEVyutpBViaLJjthB1/77BpUeHgZs=;
Received: from [84.212.220.105] (helo=downe)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1ogQBY-0002sn-Pg; Thu, 06 Oct 2022 14:41:11 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Felix Dietrich <felix.dietrich@HIDDEN>
Subject: Re: bug#58311: Missing newline in *Messages* between evaluation
 result and error
In-Reply-To: <87edvmp15t.fsf@HIDDEN> (Felix Dietrich's message of
 "Wed, 05 Oct 2022 20:37:18 +0200")
References: <87edvmp15t.fsf@HIDDEN>
X-Now-Playing: Alan Vega's _Collision Drive_: "Viet vet"
Date: Thu, 06 Oct 2022 14:41:08 +0200
Message-ID: <87zge9xgyj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Felix Dietrich <felix.dietrich@HIDDEN> writes: >
   Entries added to the “*Messages*” buffer by the following snippet are
   > missing a newline between the evaluation result and the error log entry
   > put there by “xfaces.c:merge_face_ref” using [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58311
Cc: 58311 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Felix Dietrich <felix.dietrich@HIDDEN> writes:

> Entries added to the =E2=80=9C*Messages*=E2=80=9D buffer by the following=
 snippet are
> missing a newline between the evaluation result and the error log entry
> put there by =E2=80=9Cxfaces.c:merge_face_ref=E2=80=9D using =E2=80=9Cxdi=
sp.c:add_to_log=E2=80=9D.
>
> #+begin_src emacs-lisp
>   (let ((buf (generate-new-buffer "*test*"))
>         (s (propertize "Hello World" 'face '(:foreground :invalid))))
>     (with-current-buffer buf
>       (insert s))
>     (display-buffer buf))
> #+end_src
>
> #+begin_example
> #<window 54 on *test*<2>>Invalid face attribute :foreground :invalid
> Invalid face attribute :foreground :invalid
> #+end_example

Hm.  Very odd.  The code just calls

		      add_to_log ("Invalid face attribute %S %S",
				  QCinherit, parent_face);

the normal way, and reading the code and poking at this a bit, it seems
like add_to_log should insert a newline before inserting the text, but I
may be misreading message_dolog -- it's pretty long.

Is it "immediately obvious" to somebody else what is happening here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58311; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2022 18:37:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 05 14:37:39 2022
Received: from localhost ([127.0.0.1]:58053 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1og9H0-0008Ox-QZ
	for submit <at> debbugs.gnu.org; Wed, 05 Oct 2022 14:37:38 -0400
Received: from lists.gnu.org ([209.51.188.17]:36994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dietrich@HIDDEN>) id 1og9Gw-0008On-TH
 for submit <at> debbugs.gnu.org; Wed, 05 Oct 2022 14:37:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60660)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.dietrich@HIDDEN>)
 id 1og9Gr-0005f0-E1
 for bug-gnu-emacs@HIDDEN; Wed, 05 Oct 2022 14:37:34 -0400
Received: from mout.kundenserver.de ([212.227.17.13]:58751)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.dietrich@HIDDEN>)
 id 1og9Gp-0003L5-Pf
 for bug-gnu-emacs@HIDDEN; Wed, 05 Oct 2022 14:37:29 -0400
Received: from localhost ([77.11.160.112]) by mrelayeu.kundenserver.de
 (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id
 1Mz9IT-1pSd5q36O3-00wEVU for <bug-gnu-emacs@HIDDEN>; Wed, 05 Oct 2022
 20:37:25 +0200
From: Felix Dietrich <felix.dietrich@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Subject: Missing newline in *Messages* between evaluation result and error
Date: Wed, 05 Oct 2022 20:37:18 +0200
Message-ID: <87edvmp15t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:HFo/rFnTnp18pIm3/Zw7HG0OY3ks2z3yjBFywvsHmqzqpznQpXn
 q+WVWzf/KwO7AEcnsIvafM2L8ZNErcoRRYSayvCAqk4ZdUnV1FPp1z4zZ4M9930hJLDrdDw
 ahJg1zpJCjeJlIK50JtRlu4NF5nM/J9sc6nNDTH8oAom1C9Czv026y+NP2ND16qAU6QdQ0M
 tV4IVv9xPz0m8fTsxKe1Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:dbwDTpaMBmE=:MBaDorH+zSjbxGjTbdCdYn
 NLiYba4fTqzOm0WWHr0QfPlcwkiL2DWWYJz0hVYqy7VhmQeziRE3kHmW7+IGVVQNRRAZS5j4i
 Mt7Sq7jK2rMYjd3tYoIzfV641buvUFmZF8aTIfuI0qIsS5vmcpnaKPsfzj/U9VvXOdhaXFOon
 Y793IMe5MOjQm4FytJxtgxYJfw77elMy1Ept4VsWl5JspICUq+9gitT/SNDR6SohEZ+XNfgxC
 60ADS2oLygODvko0J5f06z2p4/S7PX7yjacJmrX/YYi/8nF1ApQrnYT2z7OgqAxeW5lSDLYsP
 /zpzy7GOj6hO/qgjZ018nGqEFJNYXIvskirCu4YBbmhV09/0JXy7lqBVMlOYR/1ff+Hg9nm1Q
 03x/uw1r+fZ6buKuO2uhoIoQqayvWivSRNOydtMLtDhK8DWZALDNmHFFo2QgHyC2gE6lsZpz9
 p1jeBgzKp4lzL6kYsjxWLdFaefwyH4ex+sLsI7Y1NoOQynMoV2uV0mt4PL8wY1ZpP3V6TWSYk
 FL46z+aoiOQaxhsatu/sjRRqY4Mw+DuhI7DIBuxq0NH9nEJSo7DV9pVWhw5V5UlhuPZSKksJK
 UKJusY16BS6ozem/HTohU4pIZ29RYHCZJi8h8z08DEDfAybS4X56zWqbz7UKtd+e/kbozTIqF
 kRaMv4KE/+jT9LhXHTmStBG5/bSjd40RZ2w74FtfckMu4A7H7nkZQqtaWFaAC74xSasvWuj5B
 mKw9J7I9qjI/F5cZx5wKEqrjUXuw1j0rRB9PFL1o8NNulj4KcChJaMMYze1W9uy2hVAg+v7Ea
 a1EKCgIYlb0NIPpvPP8/p28vM57eQ==
Received-SPF: none client-ip=212.227.17.13;
 envelope-from=felix.dietrich@HIDDEN; helo=mout.kundenserver.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Package: emacs
Severity: minor

Entries added to the =E2=80=9C*Messages*=E2=80=9D buffer by the following s=
nippet are
missing a newline between the evaluation result and the error log entry
put there by =E2=80=9Cxfaces.c:merge_face_ref=E2=80=9D using =E2=80=9Cxdisp=
.c:add_to_log=E2=80=9D.

#+begin_src emacs-lisp
  (let ((buf (generate-new-buffer "*test*"))
        (s (propertize "Hello World" 'face '(:foreground :invalid))))
    (with-current-buffer buf
      (insert s))
    (display-buffer buf))
#+end_src


#+begin_example
#<window 54 on *test*<2>>Invalid face attribute :foreground :invalid
Invalid face attribute :foreground :invalid
#+end_example


--=20
Felix Dietrich




Acknowledgement sent to Felix Dietrich <felix.dietrich@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#58311; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Sep 2023 09:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.