From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Feng Shu Newsgroups: gmane.emacs.devel Subject: Re: Question about minibuffer and child frames (Posframe) Date: Mon, 07 Oct 2024 15:20:30 +0800 Message-ID: <87wmik2xc1.fsf@163.com> References: <87jzek200d.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9707"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Martin Rudalics To: Gerd =?iso-8859-1?Q?M=F6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 07 09:21:36 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 1sxi3j-0002TS-V2 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Oct 2024 09:21:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxi2v-0006Qv-6i; Mon, 07 Oct 2024 03:20:45 -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 1sxi2t-0006QX-2Q for emacs-devel@gnu.org; Mon, 07 Oct 2024 03:20:43 -0400 Original-Received: from m16.mail.163.com ([220.197.31.2]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxi2o-0004hz-Sk for emacs-devel@gnu.org; Mon, 07 Oct 2024 03:20:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=QTIhFQeafk+715IAiJJyYo+xeGAtb0sVARgrAIYu34g=; b=IaNuuMG/4Jjt4akDyV9cr+a5ZkAnd5rUiGhBIxHp/EgrGK7T3mxjYP7eSDjThG BeeB7qYpb6axZF7XSXmpMNNQK8QG8oeozRyrvVX8LzGS4DKhTjVYsAiXV/9KNtfT 1BJKdt8Ni8mLcs+UeMenPARgG4igltAifj61Jhq8np61c= Original-Received: from Guix (unknown [117.92.180.98]) by gzsmtp4 (Coremail) with SMTP id sygvCgAHqG2+iwNn5XhAAw--.6813S2; Mon, 07 Oct 2024 15:20:31 +0800 (CST) In-Reply-To: ("Gerd =?iso-8859-1?Q?M=F6llmann?= =?iso-8859-1?Q?=22's?= message of "Mon, 07 Oct 2024 06:28:56 +0200") X-CM-TRANSID: sygvCgAHqG2+iwNn5XhAAw--.6813S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7AF17ZFy7JF18tF4fAF1rtFb_yoW8WF4xpa sxAryxCFyYg3WkJay7CF409a4kWry0g347tasIgw4fAF45GF1DXrnxJFsFgF48Zay5trW7 G3Wjvry5Ga1DJrDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRrwIkUUUUU= X-Originating-IP: [117.92.180.98] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRQ1x1GcDh1BdswAAsw Received-SPF: pass client-ip=220.197.31.2; envelope-from=tumashu@163.com; helo=m16.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:324370 Archived-At: Gerd M=F6llmann writes: > As an aside, because that might affect Posframe maybe in the future. I > also implemented borders around child frames now, but in a strange way, > with the 'undecorated' frame parameter. If a tty child frame is not > undecorated, a border is drawn around it, otherwise it isn't. I have tested (undecorated . nil) in emacs, but show segmentation fault. feng@Guix ~/projects/emacs$ EMACSLOADPATH=3D/home/feng/projects/emacs/lisp:= $EMACSLOADPATH ./src/emacs -nw Fatal error 11: Segmentation fault Backtrace: ./src/emacs[0x5607db] ./src/emacs[0x4223ea] ./src/emacs[0x4228d4] ./src/emacs[0x55ee08] ./src/emacs[0x55ee79] /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/libc.so.6(+0x3e5= 60)[0x7f046411a560] ./src/emacs[0x433445] ./src/emacs[0x433719] ./src/emacs[0x47adc5] ./src/emacs[0x54e317] ./src/emacs[0x5512e9] ./src/emacs[0x553141] ./src/emacs[0x5c7597] ./src/emacs[0x53fd0a] ./src/emacs[0x5c74f1] ./src/emacs[0x53fcaf] ./src/emacs[0x547513] ./src/emacs[0x54788e] ./src/emacs[0x42ad38] /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/libc.so.6(+0x29b= f7)[0x7f0464105bf7] /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/libc.so.6(__libc= _start_main+0x7c)[0x7f0464105cac] ./src/emacs[0x42b1e1] > > The reason for this strange way of doing things is that I quit in a rage > when trying to add the normal border handling for tty frames. Works for > me. Just mentioning it so that others can comment how terrible that is :-= ). --=20