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: Fri, 18 Dec 2020 13:52:28 +0200 Message-ID: <83y2hv5o1v.fsf@gnu.org> References: <87o8iv3ac3.fsf@gnus.org> <56d1484e-6f41-575f-0fbb-fd2bd99ab152@yandex.ru> <87eejqnlxk.fsf@gnus.org> <3156f8b8-1db1-1858-95c3-16d213c2353a@yandex.ru> <87czz8n1gk.fsf@gnus.org> <83zh2c7bal.fsf@gnu.org> <87pn37jvzt.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30097"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 18 12:53:12 2020 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 1kqEJs-0007hT-HK for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Dec 2020 12:53:12 +0100 Original-Received: from localhost ([::1]:52540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqEJr-0001cl-Cd for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Dec 2020 06:53:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqEJA-00019u-P1 for emacs-devel@gnu.org; Fri, 18 Dec 2020 06:52:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53264) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqEJA-0003JT-CC; Fri, 18 Dec 2020 06:52:28 -0500 Original-Received: from [176.228.60.248] (port=3703 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqEJ9-00085z-L8; Fri, 18 Dec 2020 06:52:27 -0500 In-Reply-To: <87pn37jvzt.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 18 Dec 2020 10:37:10 +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:261185 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org, dgutov@yandex.ru > Date: Fri, 18 Dec 2020 10:37:10 +0100 > > Eli Zaretskii writes: > > > I don't understand what you'd like to have instead. Would you like > > Emacs to instead constantly add and remove tool-bar buttons as they > > become available/not available? I think this would be much more > > annoying, and will cause even more people to disable the tool bar. > > We're discussing different options. I don't think somebody has > suggested dynamically adding/removing buttons from the toolbar, though? > > What has been suggested is that only modes where it makes sense should > enable the toolbar (and there probably aren't that many where it makes > much sense). But that's exactly the situation I described above. Suppose you type "M-x": this enters the minibuffer, where you have a new mode in effect, and some (most?) tool-bar buttons make no sense. Would you like those buttons, or maybe the entire tool bar, to be removed now? Similar situation exists when I have 2 windows, one of them showing *scratch*, and switche between them -- would you like the tool bar to disappear when I'm in *scratch*? > However, that's probably technically difficult -- people have setups > where they've computed the size of the Emacs windows based on whether > (or not) they have toolbars enabled? So switching the toolbars on/off > dynamically may lead to some difficulties in that area? That's another complication, but we could perhaps handle it in some reasonable way. Appearing and disappearing tool bar, OTOH, is something we need to consider seriously before we decide that such a mode of tool-bar display is sensible.