[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting rid of button bar

From: Reiner Steib
Subject: Re: getting rid of button bar
Date: Mon, 27 Oct 2003 13:53:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

On Mon, Oct 27 2003, someone asked per private mail:

> On 10/26/2003 03:27 PM Reiner Steib wrote:
>> This toggles the mode once or twice.  If you want to switch it off in
>> Emacs, use "(tool-bar-mode -1)".  But it's better to use
>> "Emacs.toolBar: 0" in your ~/Xresources file.

> I don't have an Xresources file

Create a new one.  The name is »~/.Xresources« -- the dot was missing
in my previous posting.  Normally it's read automatically when the X
server is started.  If not, you need to enter »xrdb -merge
~/.Xresources« or put this in your ~/.xsession (or

> - why is it better to use it? I have all my emacs config stuff in my
> one .emacs file, and having two places to configure stuff would IMHO
> not make anything better.

If you do it in »~/.emacs«, Emacs starts *with* a tool bar (which
obviously doesn't make much sense) and removes it later.  Compare the
two calls below.  You'll see that they lead to different sizes of the
Emacs frame.

emacs -q -no-site-file -xrm 'Emacs.toolBar: 0' -geometry 80x20

emacs -q -no-site-file -xrm 'Emacs.toolBar: 1' -geometry 80x20 \
  -eval '(tool-bar-mode -1)

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW

reply via email to

[Prev in Thread] Current Thread [Next in Thread]