emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Automatic turn on minor modes
@ 2008-10-03 12:42 Sven Bretfeld
  2008-10-03 13:36 ` Paul R
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Bretfeld @ 2008-10-03 12:42 UTC (permalink / raw)
  To: emacs-org


[-- Attachment #1.1: Type: text/plain, Size: 223 bytes --]

Hello

Is there a way to turn on some minor modes (flyspell-mode,
auto-fill-mode etc.) when finding a specific org file? I'm thinking of
something similar to the "local variables" settings in a LaTeX file.

Greetings

Sven

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Automatic turn on minor modes
  2008-10-03 12:42 Automatic turn on minor modes Sven Bretfeld
@ 2008-10-03 13:36 ` Paul R
  0 siblings, 0 replies; 2+ messages in thread
From: Paul R @ 2008-10-03 13:36 UTC (permalink / raw)
  To: Sven Bretfeld; +Cc: emacs-org

On Fri, 03 Oct 2008 14:42:34 +0200, Sven Bretfeld <sven.bretfeld@gmx.ch> said:

Sven> Hello Is there a way to turn on some minor modes (flyspell-mode,
Sven> auto-fill-mode etc.) when finding a specific org file? I'm
Sven> thinking of something similar to the "local variables" settings
Sven> in a LaTeX file.

Reading emacs documentation, more precisely:

     File: emacs,  Node: Specifying File Variables

you can find how to do that:

    -*- mode: text; mode: flyspell -*-


-- 
  Paul

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

end of thread, other threads:[~2008-10-03 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 12:42 Automatic turn on minor modes Sven Bretfeld
2008-10-03 13:36 ` Paul R

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).