Setting emacs zone-mode based on path

At work, we do a fair amount of DNS updates. Our zone files are stored in subversion, and are named according to the domain (with no .zone extension). It’s a real pain when updating a few (or a few dozen) zones in Emacs, since I have to remember to …

more ...

Emacs Mode Variable for HTML

Unfortunately, I often find myself editing files that are mixed PHP and HTML, and ending with a “.php” extension. For most smaller projects/tasks, I use emacs at the command line (nox) and my .emacs settings for php-mode will latch onto the “.php” extension and open it with PHP mode …

more ...