[ESS] Show toolbar only when using R

Rodney Sparapani rsparapa at mcw.edu
Tue Mar 23 17:21:08 CET 2010


On 03/23/10 11:04 AM, Daniel Muenz wrote:
> Hi Rodney,
>
> I did not mean that I see the R-specific toolbar when editing .sas files.
> If tool-bar-mode is active and I'm editing a .R file, then I see the
> default buttons (read file, save, print, etc.) plus the R-specific buttons
> (submit line, submit function, etc.).  When editing a .sas file, I only see
> the default buttons.  Obviously that makes sense and I have no problem with
> it.
>
> What I'm hoping for, though, is a way to hide all toolbar buttons (whether
> default or otherwise) when editing anything other than a .R file.  That is,
> when I'm editing  a .R file, I want tool-bar-mode to be active; when I'm
> doing anything else, I want tool-bar-mode to be inactive.
>
> Thanks again,
> Daniel

Ok, I get it now, but I have no idea how you might do this.  It is 
certainly possible since emacs is seemingly infinitely configurable. 
But, I think you are on your own.

Rodney



More information about the ESS-help mailing list