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: Emacs Survey: Toolbars Date: Thu, 25 Feb 2021 20:17:26 +0200 Message-ID: <838s7crozt.fsf@gnu.org> References: <87o8iv3ac3.fsf@gnus.org> <874kknp1lq.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 25 19:19:00 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 1lFLE4-0009kY-28 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 19:19:00 +0100 Original-Received: from localhost ([::1]:45650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFLE3-00068H-0c for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 13:18:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFLCo-0004xt-QH for emacs-devel@gnu.org; Thu, 25 Feb 2021 13:17:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60931) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFLCo-0007Zw-3x; Thu, 25 Feb 2021 13:17:42 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2524 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lFLCn-00072y-Eo; Thu, 25 Feb 2021 13:17:41 -0500 In-Reply-To: (message from Stefan Kangas on Thu, 25 Feb 2021 09:50:29 -0600) 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:265635 Archived-At: > From: Stefan Kangas > Date: Thu, 25 Feb 2021 09:50:29 -0600 > Cc: emacs-devel@gnu.org > > How about introducing a new variable with the tentative name > `this-mode-wants-toolbars' that defaults to nil? If it is nil, there > are no toolbars. This variable can then be set to t when someone has > made a toolbar that they know will be useful. That makes little sense to me. Other applications that show tool bars don't make them appear and disappear, only change as appropriate for the context. > One obvious drawback of this proposal is that it's slightly jarring when > the toolbar appears and disappears when switching between windows. Exactly. > Perhaps we could show it if it is enabled in any buffer in a window on > the current frame? So you basically want NOT to make it disappear? Then why make it disappear?