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: How about making `set-minibuffer-window' obsolete? Date: Wed, 17 Mar 2021 17:45:09 +0200 Message-ID: <83lfaldbsq.fsf@gnu.org> References: <98c16576-39b8-2f34-e9f5-4f5c04c28dcd@gmx.at> <83sg4tdimq.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 17 17:07:18 2021 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 1lMYhZ-0001di-Hc for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Mar 2021 17:07:17 +0100 Original-Received: from localhost ([::1]:59290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMYhY-0007vZ-Gn for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Mar 2021 12:07:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMYMK-0007xV-Qt for emacs-devel@gnu.org; Wed, 17 Mar 2021 11:45:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38258) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMYMJ-0004mS-Hb; Wed, 17 Mar 2021 11:45:19 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2457 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMYMA-0007xA-Q0; Wed, 17 Mar 2021 11:45:18 -0400 In-Reply-To: (message from martin rudalics on Wed, 17 Mar 2021 16:36:39 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:266525 Archived-At: > Cc: acm@muc.de, emacs-devel@gnu.org > From: martin rudalics > Date: Wed, 17 Mar 2021 16:36:39 +0100 > > >> The current semantics of `set-minibuffer-window' is of no practical use. > > > > Why not? how is it different from the C code doing the same? > > The C code has to do it in a very controlled way, just like setting > selected_window or selected_frame. Then let's document that this function should only be used with care, and move on.