unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: getting rid of a mode
Date: Fri, 28 May 2004 10:16:15 +0200	[thread overview]
Message-ID: <86fz9lnf00.fsf@rumba.de.uu.net> (raw)
In-Reply-To: 20040526225808.08bf5d1d@wahz

Raimund Kohl-Fuechsle <ray@nabuli.de> writes:

> E.g.: In wiki-mode it's nice to use outline-minor-mode, but to prevent
> mistakes I'd rather prefer to stop outline-minor-mode before saving the
> buffer to file.

Most minor mode functions are toggles.  That is, invoking them again
turns the mode off again.  Use C-h f to verify.

Usually, you can also pass a numeric arg to explicitly say "on" or
"off":

C-u 1 M-x outline-minor-mode RET                >0, turn on
C-u -1 M-x outline-minor-mode RET               <0, turn off

Use C-h f to verify that the mode you want has this feature.

Kai

  reply	other threads:[~2004-05-28  8:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26 20:58 getting rid of a mode Raimund Kohl-Fuechsle
2004-05-28  8:16 ` Kai Grossjohann [this message]
     [not found] <mailman.7655.1085629016.1061.help-gnu-emacs@gnu.org>
2004-05-27  3:58 ` Sean Richards

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=86fz9lnf00.fsf@rumba.de.uu.net \
    --to=kai@emptydomain.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).