From unknown Sat Aug 16 11:42:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7049 <7049@debbugs.gnu.org> To: bug#7049 <7049@debbugs.gnu.org> Subject: Status: 24.0.50; Feature request: tool-bar-position defcustom Reply-To: bug#7049 <7049@debbugs.gnu.org> Date: Sat, 16 Aug 2025 18:42:00 +0000 retitle 7049 24.0.50; Feature request: tool-bar-position defcustom reassign 7049 emacs submitter 7049 Stephen Berman severity 7049 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 16 16:04:28 2010 Received: (at submit) by debbugs.gnu.org; 16 Sep 2010 20:04:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwKh2-0001nu-0X for submit@debbugs.gnu.org; Thu, 16 Sep 2010 16:04:28 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwKh0-0001no-Io for submit@debbugs.gnu.org; Thu, 16 Sep 2010 16:04:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwKjG-0007iD-0C for submit@debbugs.gnu.org; Thu, 16 Sep 2010 16:06:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:36878) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwKjF-0007i9-Um for submit@debbugs.gnu.org; Thu, 16 Sep 2010 16:06:45 -0400 Received: from [140.186.70.92] (port=38182 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwKjF-0001Y3-2f for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 16:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwKjD-0007ho-Rw for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 16:06:44 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:32960 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OwKjD-0007hY-EK for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 16:06:43 -0400 Received: (qmail invoked by alias); 16 Sep 2010 20:06:42 -0000 Received: from i59F570D6.versanet.de (EHLO escher.home) [89.245.112.214] by mail.gmx.net (mp060) with SMTP; 16 Sep 2010 22:06:42 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/XBZZ5WczXWcPnepJ/wWm1pjVvDRZfm9fTd8YU76 tWV3C1vCOFieoM Received: by escher.home (Postfix, from userid 1000) id C65B810444; Thu, 16 Sep 2010 22:06:41 +0200 (CEST) From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Feature request: tool-bar-position defcustom Date: Thu, 16 Sep 2010 22:06:41 +0200 Message-ID: <87d3sdqwq6.fsf@escher.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) It would be convenient to have the Gtk+ tool bar placement (top, bottom, left, right) be managed by Custom. Currently, changing the default permanently in user-init-file requires modifying the frame parameters. In GNU Emacs 24.0.50.7 (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2010-09-16 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--with-imagemagick' '--without-toolkit-scroll-bars'' From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 09:34:11 2010 Received: (at 7049) by debbugs.gnu.org; 17 Sep 2010 13:34:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owb4s-0001T5-LL for submit@debbugs.gnu.org; Fri, 17 Sep 2010 09:34:10 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owb4q-0001Sq-3N for 7049@debbugs.gnu.org; Fri, 17 Sep 2010 09:34:08 -0400 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 5F262E97E7 for <7049@debbugs.gnu.org>; Fri, 17 Sep 2010 15:36:29 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqcvAOULk0xV4S0jPGdsb2JhbACHbZo0DAEBAQE1LcJhhUAEjTE X-IronPort-AV: E=Sophos;i="4.56,382,1280700000"; d="scan'208";a="1672304534" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb4.telenor.se with ESMTP; 17 Sep 2010 15:36:28 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 57AD17FA05A; Fri, 17 Sep 2010 15:36:28 +0200 (CEST) Message-ID: <4C936EDC.8070308@swipnet.se> Date: Fri, 17 Sep 2010 15:36:28 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: Stephen Berman Subject: Re: bug#7049: 24.0.50; Feature request: tool-bar-position defcustom References: <87d3sdqwq6.fsf@escher.home> In-Reply-To: <87d3sdqwq6.fsf@escher.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 7049 Cc: 7049@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Stephen Berman skrev 2010-09-16 22.06: > It would be convenient to have the Gtk+ tool bar placement (top, bottom, > left, right) be managed by Custom. Currently, changing the default > permanently in user-init-file requires modifying the frame parameters. > default-frame-alist is in custom, and you can select where to show tool bar in the menu and then save options. Isn't that enough? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 11:01:04 2010 Received: (at 7049) by debbugs.gnu.org; 17 Sep 2010 15:01:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwcQy-00026S-HR for submit@debbugs.gnu.org; Fri, 17 Sep 2010 11:01:04 -0400 Received: from mailout-de.gmx.net ([213.165.64.22] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OwcQv-000266-PF for 7049@debbugs.gnu.org; Fri, 17 Sep 2010 11:01:03 -0400 Received: (qmail invoked by alias); 17 Sep 2010 15:03:21 -0000 Received: from i59F545DE.versanet.de (EHLO escher.home) [89.245.69.222] by mail.gmx.net (mp008) with SMTP; 17 Sep 2010 17:03:21 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+CfgU+LMuCslHJg3dz6kPUNFs8g0DguTlDzaUPSw K5BcwoQN7YtktA Received: by escher.home (Postfix, from userid 1000) id EBF2A103B9; Fri, 17 Sep 2010 17:03:19 +0200 (CEST) From: Stephen Berman To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#7049: 24.0.50; Feature request: tool-bar-position defcustom References: <87d3sdqwq6.fsf@escher.home> <4C936EDC.8070308@swipnet.se> Date: Fri, 17 Sep 2010 17:03:19 +0200 In-Reply-To: <4C936EDC.8070308@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Fri, 17 Sep 2010 15:36:28 +0200") Message-ID: <87r5gsif9k.fsf@escher.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 7049 Cc: 7049@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Fri, 17 Sep 2010 15:36:28 +0200 Jan Dj=C3=A4rv wrot= e: > Stephen Berman skrev 2010-09-16 22.06: >> It would be convenient to have the Gtk+ tool bar placement (top, bottom, >> left, right) be managed by Custom. Currently, changing the default >> permanently in user-init-file requires modifying the frame parameters. >> > > default-frame-alist is in custom, and you can select where to show tool b= ar in > the menu and then save options. Isn't that enough? > > Jan D. Well, it's not quite as comfortable for newbies, I think. I was thinking along the lines of scroll-bar-mode; in fact, how about this: (defcustom tool-bar-position 'top "Specify whether to have a tool bar, and on which side. Possible values are nil (no tool bar), `top' (tool bar on top), `bottom' (tool bar at bottom), `left' (tool bar on left) and `right' (tool bar on right)." :type '(choice (const :tag "none (nil)" nil) (const top) (const bottom) (const left) (const right)) :group 'frames :initialize 'custom-initialize-default :set (lambda (sym val) (if val (modify-all-frames-parameters (list (cons 'tool-bar-position val) (cons 'tool-bar-lines 1))) (modify-all-frames-parameters (list (cons 'tool-bar-lines nil)))))) Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 21 03:32:14 2010 Received: (at 7049-done) by debbugs.gnu.org; 21 Sep 2010 07:32:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxxKo-0004Jp-3C for submit@debbugs.gnu.org; Tue, 21 Sep 2010 03:32:14 -0400 Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxxKm-0004Jk-9U for 7049-done@debbugs.gnu.org; Tue, 21 Sep 2010 03:32:13 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 16882C0C7 for <7049-done@debbugs.gnu.org>; Tue, 21 Sep 2010 09:34:42 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Agk2AMf8l0xV4S0jPGdsb2JhbACDHIRSmjUMAQEBATUtsFiSQIEigyxzBI02 X-IronPort-AV: E=Sophos;i="4.56,397,1280700000"; d="scan'208";a="131957215" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 21 Sep 2010 09:34:42 +0200 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 1073B7FA05A; Tue, 21 Sep 2010 09:34:42 +0200 (CEST) Message-ID: <4C986011.1080803@swipnet.se> Date: Tue, 21 Sep 2010 09:34:41 +0200 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 MIME-Version: 1.0 To: Stephen Berman Subject: Re: bug#7049: 24.0.50; Feature request: tool-bar-position defcustom References: <87d3sdqwq6.fsf@escher.home> <4C936EDC.8070308@swipnet.se> <87r5gsif9k.fsf@escher.home> In-Reply-To: <87r5gsif9k.fsf@escher.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 7049-done Cc: 7049-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) 2010-09-17 17:03, Stephen Berman skrev: > On Fri, 17 Sep 2010 15:36:28 +0200 Jan Dj=C3=A4rv = wrote: > >> Stephen Berman skrev 2010-09-16 22.06: >>> It would be convenient to have the Gtk+ tool bar placement (top, bott= om, >>> left, right) be managed by Custom. Currently, changing the default >>> permanently in user-init-file requires modifying the frame parameters= . >>> >> >> default-frame-alist is in custom, and you can select where to show too= l bar in >> the menu and then save options. Isn't that enough? >> >> Jan D. > > Well, it's not quite as comfortable for newbies, I think. I'd imagine two menu choices to be simpler than customizing a variable. > I was > thinking along the lines of scroll-bar-mode; in fact, how about this: > > (defcustom tool-bar-position 'top > "Specify whether to have a tool bar, and on which side. > Possible values are nil (no tool bar), `top' (tool bar on top), > `bottom' (tool bar at bottom), `left' (tool bar on left) and > `right' (tool bar on right)." > :type '(choice (const :tag "none (nil)" nil) > (const top) > (const bottom) > (const left) > (const right)) > :group 'frames > :initialize 'custom-initialize-default > :set (lambda (sym val) > (if val > (modify-all-frames-parameters > (list (cons 'tool-bar-position val) (cons 'tool-bar-lines 1))) > (modify-all-frames-parameters (list (cons 'tool-bar-lines nil)))))) > I've checked in a modified version of this: 1) You must set tool-bar-position in :set also, otherwise customize will=20 complain and say it is set outside customize. 2) We don't want to disable the tool bar here. If so it contradicts the v= alue=20 for tool-bar-mode, which would be confusing. Jan D. From unknown Sat Aug 16 11:42:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Oct 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator