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: Tue, 08 Oct 2024 05:45:33 +0800 Message-ID: <87iku3egea.fsf@163.com> References: <87jzek200d.fsf@163.com> <875xq41kgm.fsf@163.com> <875xq4pbs0.fsf@163.com> <87y130dybl.fsf@163.com> <6e0f1adf-1726-4909-8f6a-6724772f3d86@gmx.at> 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="16498"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: martin rudalics , Emacs Devel 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 23:46:49 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 1sxvZ2-00047C-7w for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Oct 2024 23:46:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvY5-0001ao-Dk; Mon, 07 Oct 2024 17:45:49 -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 1sxvY4-0001ab-01 for emacs-devel@gnu.org; Mon, 07 Oct 2024 17:45:48 -0400 Original-Received: from m16.mail.163.com ([220.197.31.5]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvY0-0004J5-OX for emacs-devel@gnu.org; Mon, 07 Oct 2024 17:45:47 -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=ibPj2v8r5quHRwOAGx4Vhk4LTA3RF/KSqNqoNLps5WU=; b=GZmS8kFcKsIa3yoF/tZpWlznoiG4Ns2Tlu+8HPO/wwRsq9vCxV3KFKVvU9+8pr QZ6tpq/HzUTQ51df9p5aQmo489J+dAPCnVPMysAxgO/5BOOQdnBvrqnhMZmnVO5f TVgGzDECLhYdXQK8o+WESbeTD7uGT4axYOEqdbTw1veU0= Original-Received: from Tumashu (unknown [218.92.14.78]) by gzga-smtp-mtada-g0-1 (Coremail) with SMTP id _____wD3X+19VgRnWbUTBg--.53443S2; Tue, 08 Oct 2024 05:45:34 +0800 (CST) In-Reply-To: ("Gerd =?iso-8859-1?Q?M=F6llmann?= =?iso-8859-1?Q?=22's?= message of "Mon, 07 Oct 2024 16:29:56 +0200") X-CM-TRANSID: _____wD3X+19VgRnWbUTBg--.53443S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GF13AF13AF1DuFy8Ww4xXrb_yoWfXrc_Xr 9Ykw1xCw18KFWxXanxAr4kZr9xXayYq3Z2q3y5Ar4fZryYgFs8WF9IgF9Iqw129rn5K3Zx Wan7tr18Cr1FqjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xREMmh3UUUUU== X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiLwZx1GcEVCoXpAAAsi Received-SPF: pass client-ip=220.197.31.5; 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:324405 Archived-At: Gerd M=F6llmann writes: > martin rudalics writes: > >>> In that case it looks indeed as if there is some minimum height/width >>> requirement, although I can't it see in the code right now. I've made me >>> a todo item for this. Thanks! >> >> The minimum height of the minibuffer window is one frame line with >> IGNORE t in >> >> (window-min-size (minibuffer-window) nil t) >> >> and (due to a bug, see Bug#73022) 'window-min-height' with IGNORE nil. >> >> You have to make a minibuffer-less child frame to get less. >> >> martin > > Feng Shu made a posframe in his example with posframe-show which > presumably has no minibuffer. At least that was the fix for my Corfu and > Posframes being 1 line too large. This seems to be something ddifferent. if string >=3D 3 lines, posframe-show works well too, have problem when < 3 line. --=20