From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58311: Missing newline in *Messages* between evaluation result and error Date: Thu, 06 Oct 2022 14:41:08 +0200 Message-ID: <87zge9xgyj.fsf@gnus.org> References: <87edvmp15t.fsf@sperrhaken.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58311@debbugs.gnu.org To: Felix Dietrich Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 14:55:36 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 1ogQPW-0008EM-Sv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 14:55:34 +0200 Original-Received: from localhost ([::1]:55036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogQPV-0005Fp-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 08:55:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogQCb-0005Si-3f for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:42:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogQCQ-0003ww-DB for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:42:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogQCQ-0001TL-8N for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58311 X-GNU-PR-Package: emacs Original-Received: via spool by 58311-submit@debbugs.gnu.org id=B58311.16650600805584 (code B ref 58311); Thu, 06 Oct 2022 12:42:02 +0000 Original-Received: (at 58311) by debbugs.gnu.org; 6 Oct 2022 12:41:20 +0000 Original-Received: from localhost ([127.0.0.1]:59308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogQBj-0001Ry-V3 for submit@debbugs.gnu.org; Thu, 06 Oct 2022 08:41:20 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogQBi-0001Rj-8U for 58311@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=; Original-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 ) id 1ogQBY-0002sn-Pg; Thu, 06 Oct 2022 14:41:11 +0200 In-Reply-To: <87edvmp15t.fsf@sperrhaken.name> (Felix Dietrich's message of "Wed, 05 Oct 2022 20:37:18 +0200") X-Now-Playing: Alan Vega's _Collision Drive_: "Viet vet" 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:244653 Archived-At: Felix Dietrich 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 > #>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?