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: Thu, 03 Oct 2024 11:50:27 +0200 Message-ID: References: <1d2d916e-82b9-4672-bbd6-4583b5edad14@gmx.at> <24c75fcd-cbd6-4f7f-94d2-636814fcf4c7@gmx.at> <618c87b7-c5a6-40ee-8440-75f5b48bfc43@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="17800"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 03 12:24:09 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 1swJ0C-0004Rh-If for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Oct 2024 12:24:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swIzl-0003P3-J2; Thu, 03 Oct 2024 06:23:41 -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 1swIzk-0003Kl-6Q for emacs-devel@gnu.org; Thu, 03 Oct 2024 06:23:40 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swIzi-0002ua-Nk for emacs-devel@gnu.org; Thu, 03 Oct 2024 06:23:39 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-539885dd4bcso944267e87.0 for ; Thu, 03 Oct 2024 03:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727951017; x=1728555817; 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=2XfDftsqs2x0zt46eKzfLleICXu+Npexn8NJxh5qdzI=; b=Dv2ePfPsIrIZQrbaHdvXkdQUrlJ0xrzb4LGihi31sRMc6LLS5v2Eqg9rrMgIAoK+zC lclfFpXy0KEFgDKNDLfKZ+J24UOkY81ms2w/4b7qjVdvv50/fPcMNrWzkkjyNsVnrCze BMdUDzQaOxMnd29Dg+7rFRKe4mgPUA6Is7E6EoLcAX9FV30PhnKnfFHeES6YNYIfVGsV 2yqmyI/iQ8Djp91AgRSBkttB45if+OcQSqddDPmDsbx39PVWx+OWlIZv9j52eLWcVtaK 0oAwMYs/svobsh1PzffSfimTyae5No5+c8ARhMTdinsq2g8kN5mCfbuRjWivNL0Tau17 Y52w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727951017; x=1728555817; 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=2XfDftsqs2x0zt46eKzfLleICXu+Npexn8NJxh5qdzI=; b=O0Y+vXkdZ8k8cbXa1+eNXCky82eT4Ee13XSmyvn++yjgXr9qnnL1VQ7pZEaKhe3dWB kxdizASJquBpJ/9voGR4p2oDIwzgfCTa9aB+PowgrFXMxmcxPK3cJGvNEIJZzQI3SFuE HG9LcP0BWLdQ66tiC6IlNFNaqUpOE4vyRYgcrGKqZlaPOZGX/6LshCS90X9fhSoSCio+ i0lIIncRem7gSZOL7BVGUlIuFTDAbmvdIkuHRn7yAqTYh1sFJDPeftLdhkNOeCLIGYg1 pbwXYVvxS3HFwk8UCITrMAnwnK3g/8/kYcuFdqzkiCQJFY7aOu7zPHGebfozHwBMArE5 kFjA== X-Gm-Message-State: AOJu0Yx5DHKF/HToyv5g2+Hq/naQDirGzWaYQpSuPzBQ+cMBsS5EBxnx /0VcOWlIYsG/EflZaHrEMtFk87pV7DJPiz5c9Bplr+B6kWR1oWe7mLneUg== X-Google-Smtp-Source: AGHT+IFtxNEwjjhPnJbVRvgOQAls7/Qp4/oQAnOxiYP/0uJoX6hgyiUjEgOZa70iFIORnd5YY+rTmw== X-Received: by 2002:a17:906:f5a3:b0:a8c:78a5:8fc4 with SMTP id a640c23a62f3a-a98f823d848mr516724466b.19.1727949028916; Thu, 03 Oct 2024 02:50:28 -0700 (PDT) Original-Received: from MacBookPro.fritz.box (pd9e36aa3.dip0.t-ipconnect.de. [217.227.106.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99103b4331sm60885766b.105.2024.10.03.02.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 02:50:28 -0700 (PDT) In-Reply-To: (martin rudalics's message of "Thu, 3 Oct 2024 11:33:10 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x12f.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:324275 Archived-At: martin rudalics writes: >> What Posframe does instead is adding a frame parameter (minibuffer . >> MINI) where MINI is the minibuffer window of the parent. I guess that's >> what is not working for ttys. Or something in its vicinity. >> >> Haven't found out yet where and how that is done for GUIs. Something for >> another day. > > But can you verify that on a GUI frame the question _is_ asked in the > minibuffer window of the parent frame? ISTRC that earlier you said that > it asks the question in the child frame. The prompt appears indeed on the posframe frame on GUI, indeed. The mini-window of the parent frame remains completely empty. I can only guess that that is part of how the `minibuffer' frame parameter is supposed to work, but I really have no ideda. The Elisp manual simply says If the value is a minibuffer window (in some other frame), the frame uses that minibuffer. I wouldn't exclude the possibility that there is more stuff involved. It's a maze :-).