From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "Final" version of tty child frames Date: Wed, 23 Oct 2024 20:23:47 +0300 Message-ID: <86ldyeenrw.fsf@gnu.org> References: <87cyjrjz74.fsf@163.com> <87zfmvpkki.fsf@163.com> <87v7xjpjoi.fsf@163.com> <86wmhzdzt4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3782"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tumashu@163.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 23 19:24:48 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t3f6F-0000n0-BY for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Oct 2024 19:24:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3f5O-00074a-PU; Wed, 23 Oct 2024 13:23:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3f5N-00074F-BI for emacs-devel@gnu.org; Wed, 23 Oct 2024 13:23:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3f5L-0006Xm-Un; Wed, 23 Oct 2024 13:23:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MyDp54A/tLVKL8qvp/0qZavtv4Atnj6cYsNuAvSVndg=; b=a1R5gkPwvypMrTosw5zR k9rhVrO5IwBFufg2CjriMktFQNBpg+Nqy+gZP3WG0XVARzcmwSV0VYezZzA8zWg7UsX0e8OHSPf2Y IEXO9SUfldMRjMSeeZJl7bJNU50jD/NXMZonFVD5ZRXTDhGsqdnUZMaHqc6oqZy8f55r8nUdMqeS1 TiQk0OEc28zNOpYE7uksuFtgdwJHVFn/iGXiiYHA4dEXlV4N1SfdhPIVcx7Ysc3HhASG6H1SbHx8a dWYx6h3Q6FM8wcGz6idrrIbnLwQxh/0A4wB05jPaSlXj2tMjRpmzmVXbhbV/d8R3kD9RToJbna6XB GmkMpYiDZTdqqQ==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Wed, 23 Oct 2024 13:04:17 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324795 Archived-At: > From: Gerd Möllmann > Cc: tumashu@163.com, emacs-devel@gnu.org > Date: Wed, 23 Oct 2024 13:04:17 +0200 > > Eli Zaretskii writes: > > > The current branch hits an assertion violation when showing RTL text > > in a child window. (Showing RTL text in the parent window works > > fine.) Here's the recipe: > > > > emacs -Q -nw > > Evaluate in *scratch: > > > > (defun my-make-child () > > (interactive) > > (make-frame `((parent-frame . ,(selected-frame)) > > (background-color . "gray10") > > (foreground-color . "white") > > (internal-border-width . 1) > > (top . 15) > > (left . 40) > > (width . 80) > > (height . 25)))) > > > > M-x my-make-child RET > > C-x 5 o > > C-x C-f etc/tutorials/TUTORIAL.he RET > > Could you please check with what I pushed now? There were several > problem, starting with an error I made while porting this, plus thinkos. > Strangely, I didn't run into the assertion with the recipe, so it's > probably best if you check yourself if it works now. The assertion violation is gone, and the display seems correct, but I now get compilation warning: CC dispnew.o In file included from dispnew.c:27: dispnew.c: In function ‘combine_updates_for_frame’: lisp.h:1096:68: warning: null pointer dereference [-Wnull-dereference] 1096 | && ((XUNTAG (a, Lisp_Vectorlike, union vectorlike_header)->size | ^ I have no idea what is GCC talking about. Thanks.