How can I make Emacs open other file extensions than .org with the Emacs org mode? I have an editor on the iPad that is not able to handle .org files, so I'd like to use e.g. .text with org mode.
Add the following line at the beginning of your .text file:
# -*- mode: org -*-
You can also use this for .org_archive files
I know this question is old, but I think it is slightly easier and works, as far as I know, for all text-like files.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more