unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: How to get rid of the tool bar
Date: Fri, 17 Jan 2003 18:33:19 +0100	[thread overview]
Message-ID: <84fzrrd6lc.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: pan.2003.01.17.16.29.48.217082.13715@despam.yahoo.com

Zaphod Beeblebrox <kagyukid@despam.yahoo.com> writes:

> It's only some because I've not spent the time wading into the
> plethora of stuff Emacs is capable of.  I couldn't make use of the
> information in the NEWS file (I don't even use the menus at the
> top).

What does the NEWS file have to do with the menus at the top?

> All those references to lisp code assume knowledge I don't have and
> don't help if I don't know where to use them.

The NEWS file is divided into sections.  You can just skip the Lisp
stuff.  Here is the part about the toolbar.  I found it by searching
for "tool" in the NEWS file.

/----
| ** Tool bar support.
| 
| Emacs supports a tool bar at the top of a frame under X.  For details
| of how to define a tool bar, see the page describing Lisp-level
| changes.  Tool-bar global minor mode controls whether or not it is
| displayed and is on by default.  The appearance of the bar is improved
| if Emacs has been built with XPM image support.  Otherwise monochrome
| icons will be used.
| 
| To make the tool bar more useful, we need contributions of extra icons
| for specific modes (with copyright assignments).
\----

It says that "tool-bar global minor mode" allows you to turn it off.
What's a minor mode?  I do C-h i d m Emacs RET to open the Emacs
manual, then type i for an index search, then "minor mode" as the
search string.  This gives me a couple of false positives, but just
hitting comma (as instructed) finally brings me to the node
"(emacs)Minor Modes" which has the following:

/----
|    Minor modes are optional features which you can turn on or off.  For
| example, Auto Fill mode is a minor mode in which <SPC> breaks lines
| between words as you type.  All the minor modes are independent of each
| other and of the selected major mode.  Most minor modes say in the mode
| line when they are on; for example, `Fill' in the mode line means that
| Auto Fill mode is on.
| 
|    Append `-mode' to the name of a minor mode to get the name of a
| command function that turns the mode on or off.  Thus, the command to
| enable or disable Auto Fill mode is called `M-x auto-fill-mode'.  These
| commands are usually invoked with `M-x', but you can bind keys to them
| if you wish.  With no argument, the function turns the mode on if it was
| off and off if it was on.  This is known as "toggling".  A positive
| argument always turns the mode on, and an explicit zero argument or a
| negative argument always turns it off.
\----

So, M-x auto-fill-mode RET turns on (or off) auto fill mode.  So what
is the command for turning on (or off) tool-bar mode?

> My .emacs file doesn't have any define-key statements, so I was
> reluctant to tinker with structures I don't understand.

What does the tool-bar have to do with define-key statements?
-- 
Ambibibentists unite!

  parent reply	other threads:[~2003-01-17 17:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17  1:17 How to get rid of the tool bar Zaphod Beeblebrox
2003-01-17  1:19 ` David Kastrup
2003-01-17  3:29   ` Zaphod Beeblebrox
2003-01-17 11:38     ` David Kastrup
2003-01-17 17:33     ` Kai Großjohann [this message]
2003-01-19 21:26       ` Zaphod Beeblebrox
2003-01-20  6:47         ` Kai Großjohann
2003-01-20  7:34           ` Kai Großjohann
2003-01-20 11:05           ` David Kastrup
2003-01-20 11:08             ` Klaus Berndl
2003-01-20 22:58           ` Zaphod Beeblebrox
2003-01-21  8:54             ` Kai Großjohann
2003-01-21 17:46               ` Stefan Monnier <foo@acm.com>
2003-01-17  2:29 ` Christopher J. White
2003-01-17  3:30   ` Zaphod Beeblebrox
2003-01-17  2:40 ` Andrew Brehaut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84fzrrd6lc.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).