unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tool bar mode
@ 2004-04-25  3:05 Charles Jamieson
  2004-04-25  8:56 ` Reiner Steib
  2004-04-27 16:23 ` Ryan Bowman
  0 siblings, 2 replies; 3+ messages in thread
From: Charles Jamieson @ 2004-04-25  3:05 UTC (permalink / raw)


I am unable to get rid of the toolbar in emacs 21.3.  I include the line

	(setq tool-bar-mode nil)

in the .emacs file.  But the tool bar is still there.  I am using Linux.

-charles

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tool bar mode
  2004-04-25  3:05 tool bar mode Charles Jamieson
@ 2004-04-25  8:56 ` Reiner Steib
  2004-04-27 16:23 ` Ryan Bowman
  1 sibling, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2004-04-25  8:56 UTC (permalink / raw)


On Sun, Apr 25 2004, Charles Jamieson wrote:

> I am unable to get rid of the toolbar in emacs 21.3.  I include the line
>
> 	(setq tool-bar-mode nil)
>
> in the .emacs file.  But the tool bar is still there.  I am using Linux.

How about reading the documentation?

,----[ C-h v tool-bar-mode RET ]
| tool-bar-mode's value is nil
| 
| Documentation:
| Non-nil if Tool-Bar mode is enabled.
| See the command `tool-bar-mode' for a description of this minor-mode.
| Setting this variable directly does not take effect;
| use either M-x customize or the function `tool-bar-mode'.
| 
| You can customize this variable.
| 
| Defined in `tool-bar'.
`----

Thus, you should use "(tool-bar-mode -1)" or better...

,----[ ~/.Xresources (see [1]) ]
| Emacs.toolBar:  0
`----

If you turn it off via Lisp, Emacs starts with a tool-bar and turns it
off later (when the Lisp code is run).  When set via Xresources, no
tool-bar is created at all.

Bye, Reiner.

[1]
,----[ NEWS - `C-h n' ]
| ** Tool bar support.
| 
| Emacs supports a tool bar at the top of a frame under X.  The frame
| parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar")
| controls how may lines to reserve for the tool bar.  A zero value
| suppresses the tool bar.  [...]
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tool bar mode
  2004-04-25  3:05 tool bar mode Charles Jamieson
  2004-04-25  8:56 ` Reiner Steib
@ 2004-04-27 16:23 ` Ryan Bowman
  1 sibling, 0 replies; 3+ messages in thread
From: Ryan Bowman @ 2004-04-27 16:23 UTC (permalink / raw)



--- Charles Jamieson <cjamieson@no.junk> wrote:
> I am unable to get rid of the toolbar in emacs 21.3.
>  I include the line
> 
> 	(setq tool-bar-mode nil)
> 
> in the .emacs file.  But the tool bar is still
> there.  I am using Linux.
> 
> -charles
> 

I used (tool-bar-mode nil), rather than setq and it
works fine

=====
---
Ryan

The door at the end of the tunnel is far too small...
 - Closing In 2.0 - Don't Be Afraid - Information Society - insoc.org
---


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-27 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25  3:05 tool bar mode Charles Jamieson
2004-04-25  8:56 ` Reiner Steib
2004-04-27 16:23 ` Ryan Bowman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).