all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* set minor mode based on first line of a buffer?
@ 2013-09-03 16:21 Matt Price
  2013-09-04  2:22 ` Samuel Wales
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2013-09-03 16:21 UTC (permalink / raw)
  To: Org Mode

Last question for a while I hope!

I have a whole bunch of org files that I am reposting to my website at
the beginning of the school year.  These are files generated with
org2blog/wp, and htey all have afirst line like:
#+POSTID: 1797

I would really like to tell org-mode that files that start this way
should be started with org2blog-mode (a minor mode) switched on? I
guess I need to write a hook that parses reads that first line
somehow?

thanks again,
matt

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

end of thread, other threads:[~2013-09-04  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 16:21 set minor mode based on first line of a buffer? Matt Price
2013-09-04  2:22 ` Samuel Wales

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.