Technology

LaTeX, Emacs, and Orgmode in Windows


I just reinstalled MikTeX on my Windows machine and got Emacs and Org-mode to play nice. It was almost dead simple. All you need to do is follow the installation instructions for AucTeX—the Emacs LaTeX mode.
Continue reading

Advertisements
Technology

Testing for Windows in Emacs


I basically use the same Emacs setup on my work (Windows) and personal computers (Linux). I always wondered if there was a way to have one init.el file to rule them all. But the problem is that while most of the settings in the init.el file are platform independent, there are a few that are not:

  • file locations of certain programs (like aspell)
  • programs that are too much of a pain to install in Windows (like w3m)
  • Windows-specific hacks (like the location of find)

You could have a different file for each computer or you could just test to see if you are running Emacs. Here’s how to do that:

Continue reading