From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Question about minibuffer and child frames (Posframe) Date: Mon, 07 Oct 2024 11:12:18 +0200 Message-ID: References: <87jzek200d.fsf@163.com> <875xq41kgm.fsf@163.com> <7a7b571d-3ba9-4a53-af8c-48c1cb783927@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22957"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Feng Shu , Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 07 11:13:20 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 1sxjnr-0005oe-Uv for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Oct 2024 11:13:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxjmx-0008TF-Rk; Mon, 07 Oct 2024 05:12:23 -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 1sxjmx-0008T7-8P for emacs-devel@gnu.org; Mon, 07 Oct 2024 05:12:23 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxjmv-00026f-PX for emacs-devel@gnu.org; Mon, 07 Oct 2024 05:12:23 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539885dd4bcso5030828e87.0 for ; Mon, 07 Oct 2024 02:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728292339; x=1728897139; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YwBfop7GBK4+iHdECcxBpGqaYwG7C/sZxcs2j86Y6Ew=; b=mJy0MFUaypdX2Kbpp8EW9/qVsyaSy/DOF6Q3U2Mmv6x37GrYvKvEiqahNIOcH0/3T9 hgoGorNiLqIz20b40dNEMTo6r55qY92KKBmQrIISCoThIdB/+eSl5hUo+VxHr7I/0xA+ v4VLsIgVKdtESuv8rsIIG8b7P1F8Ab6PaRts/3Gy1KzT1E5wa4vTk/omUM/nLUY99krk x4Ua9Ga9xwnHF9rUX9op0BCf1/kbeVMF27rVKY0IXs2K78LIjvJwIjyKdCxAPouX/KxV IOnJ1ewNqTZhOMTJxU0KsgRfZyj0rxoy+059bgBcprDcnwLrF7C3Ztz/nFEOwJv8os/p TAjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728292339; x=1728897139; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YwBfop7GBK4+iHdECcxBpGqaYwG7C/sZxcs2j86Y6Ew=; b=k8wndHOJk1uVUASrJAeB7QB5IV5mFUvxk4GrgNWlaMdMJtfpTcniMPo93kOFDPIx1C DuvUDmTwdhRyn96b1Eu6X2bq8Y+AGYKszkrOfnxiY1+Ra8VvAwulQk40o26HA01ggzZ3 SRSxGHAA/LeRsPTIXjkrPR1XRtQJ07WEIjNN04s6ulull6Do47FW2Svr9aTzsKPqa8em MWPrTk1GOIZ5+46jYaTRqufc4sYSmxwR7CSV45Tmh5cdGUERrgHNIKHt0B6KwA2d2Zxu S5kj6MOLPhyaUqIg9/UbkSnDcy7VhNqVT59eW8th7OJosWXS5GC2M/VyvfE32sga9NbV 5s6w== X-Forwarded-Encrypted: i=1; AJvYcCUNJOFy+Fp28iVmybZkobxQJdaoy6gR4FPMvShqtQt8mX28GKoUq2poBjWkFiC4bOgDmSyoOlq0zZb96A==@gnu.org X-Gm-Message-State: AOJu0Yz4BVN4FyD8EpLf2dVdRy49gH2vqhsB9MDstrcDrJSwm/jayOel fN0Ucl1gTApbC/sQcuSlnRL082XoiWhoVj9wRwMxUTaqBy62NlJcxWhcLQ== X-Google-Smtp-Source: AGHT+IFk/Cj/JkBdLgg5vSn3jinQTsHr6/jdiHJ4Xn6o+LnBIhW7TeoEdlE7ZbZteorV7NMutiYgQg== X-Received: by 2002:a05:6512:1247:b0:533:46cc:a71e with SMTP id 2adb3069b0e04-539ab9ec756mr5360608e87.54.1728292339194; Mon, 07 Oct 2024 02:12:19 -0700 (PDT) Original-Received: from pro2 (p4fe3a93e.dip0.t-ipconnect.de. [79.227.169.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99332a9bd7sm340628266b.212.2024.10.07.02.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 02:12:18 -0700 (PDT) In-Reply-To: <7a7b571d-3ba9-4a53-af8c-48c1cb783927@gmx.at> (martin rudalics's message of "Mon, 7 Oct 2024 10:52:31 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x135.google.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, 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:324384 Archived-At: martin rudalics writes: >>> Are the two lines and columns need for the borders payed for by the >>> child frame or its parent? >> >> The child frame is unaffected. It doesn't "know" if redisplay puts a >> border around it, and there is no way for it to know. So it's much like >> with a window manager on X, more or less. > > So the parent pays? If so, please say that somewhere because it will > affect the position of the child frame within the parent. On a GUI the > position is the one specified by the user and the child frame pays for > the border (is "affected"). I don't know what you mean by "parent pays". Anyway, it's true that you want a +1 x and y with a border on ttys as it stands because otherwise the border could hide something. BTW, that works nicely at least for what I'm using (Corfu, Vertico-Posframe, Transient-Posframe).