[ESS] configuring the ess-toolbar under emacs

Woodrow Setzer wsetzer at mindspring.com
Mon Apr 4 19:27:28 CEST 2005


I'm using ess-5.2.6 under emacs 21.3.1 on a Linux system.  I want to configure the toolbar so that the icons do not wrap when I set the width of the text window to 80 characters (when I change windows, the toolbar changes, sometimes selecting blocks of text I do not mean to select).  There are a couple of functions I don't use, so I can shorten the toolbar without losing important functionality, but the only way I can get the changes I make using the Customization menu item to take effect is to copy the code that is at the end of ess-toolbar.el to my .emacs file (the code that creates the toolbar) after the block created by emacs customization.  

I came to this solution by looking at the code in ess-toolbar.el;  the toolbar seems to be created when ess is loaded.  I load ess from site-lisp/site-start.el (via a file in site-lisp/site-start.d), which, if I remember correctly, is executed before .emacs.  Thus, any changes introduced by customization will be ignored, unless the toolbar is recreated.

Am I missing something?  Is there another, better way to do this?

Woodrow Setzer
National Center for Computational Toxicology
U.S Environmental Protection Agency
Research Triangle Park, NC




More information about the ESS-help mailing list