From: "Drew Adams" <drew.adams@oracle.com>
To: "'PJ Weisberg'" <pj@irregularexpressions.net>,
"'paxxus'" <paxxus@hotmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: RE: How can I enable minor mode, always?
Date: Sat, 23 Oct 2010 08:15:55 -0700 [thread overview]
Message-ID: <F36DF0EF8C964006BCE07D09184ACD45@us.oracle.com> (raw)
In-Reply-To: <AANLkTi=+uug-B_XcV+wc9yWGSh+1SYNSAPWVOsAStFiS@mail.gmail.com>
> > I have to manually enable it for each new buffer I open.
>
> How about adding something to after-change-major-mode-hook? Use the
> add-hook function.
Another suggestion: use `define-globalized-minor-mode' to define a global minor
mode. `highlight-80+-mode' is apparently a local minor mode. Just pass it as
the MODE arg to `define-globalized-minor-mode'.
next prev parent reply other threads:[~2010-10-23 15:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 19:46 How can I enable minor mode, always? paxxus
2010-10-23 10:57 ` PJ Weisberg
2010-10-23 15:15 ` Drew Adams [this message]
2010-10-26 23:49 ` paxxus
2010-10-27 6:43 ` Oleksandr Gavenko
2010-10-27 16:07 ` PJ Weisberg
2010-10-28 8:57 ` Oleksandr Gavenko
[not found] <mailman.3.1287810110.20231.help-gnu-emacs@gnu.org>
2010-10-29 18:20 ` Stefan Monnier
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=F36DF0EF8C964006BCE07D09184ACD45@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=paxxus@hotmail.com \
--cc=pj@irregularexpressions.net \
/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.