From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Enable some modes in every buffer
Date: Thu, 19 Feb 2009 23:16:47 +0100 [thread overview]
Message-ID: <873aears1c.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 22108891.post@talk.nabble.com
TheLonelyStar <nabble2@lonely-star.org> writes:
Hi!
> There are some modes (flyspell-mode, higlight-paranthese-mode) which I
> always have to enable when I open a new buffer. I want them enabeld in
> EVERY buffer.
> I know, I can add them to specific buffer hooks (like cc-mode), but is
> can I somehow enable them in every new buffer?
Try this hook.
,----[ C-h v after-change-major-mode-hook RET ]
| after-change-major-mode-hook is a variable defined in `subr.el'.
| Its value is
| (global-auto-composition-mode-enable-in-buffers global-font-lock-mode-enable-in-buffers)
|
|
| Documentation:
| Normal hook run at the very end of major mode functions.
`----
Bye,
Tassilo
next prev parent reply other threads:[~2009-02-19 22:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 20:22 Enable some modes in every buffer TheLonelyStar
2009-02-19 22:16 ` Tassilo Horn [this message]
[not found] <mailman.1211.1235074945.31690.help-gnu-emacs@gnu.org>
2009-02-19 23:50 ` Chetan
2009-02-20 10:16 ` Geralt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873aears1c.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.