Thank you very much for the advice on configuring AUCTeX to compile context files.

Inserting the following snippet in my .emacs (emacs configuration) file worked.  

--8<---------------cut here---------------start------------->8---
(eval-after-load 'tex
  '(add-to-list
      'TeX-command-list
      '("ConTeXt" "context --nonstopmode %t"
        TeX-run-TeX nil (context-mode) :help "Run ConTeXt")))
--8<---------------cut here---------------end--------------->8---

This fix is imperfect because even though context runs properly, AUCTeX reports "ConTeXt: problems after [0] pages"

AUCTeX doesn't believe that the file has been compiled and C-c C-c offers to run context again. It is necessary to select "View" 

Some googling suggests that the return codes from context are not properly interpreted by AUCTeX.  I'm not sure if this is a context non-standardization or an AUCTeX problem.  thoughts?

Best,
Michael




On Fri, Nov 8, 2013 at 12:47 PM, Michael Ash <mash@econs.umass.edu> wrote:
Dear all,

I have a working version of context 

mash-laptop:~$ context --version

mtx-context     | ConTeXt Process Management 0.60
mtx-context     |
mtx-context     | main context file: /usr/share/texmf/tex/context/base/context.mkiv
mtx-context     | current version: 2013.11.07 15:28


However, I edit files in emacs/AUCTeX and the compile command "C-c C-c" calls "texexec" instead of "context" and so can't compile in emacs.  Does anyone know how to change the command from "texexec" to "context" in emacs/AUCTeX?

Thanks.

Best,
Michael



--
Michael Ash, Chair, Department of Economics
Professor of Economics and Public Policy         
University of Massachusetts Amherst
Amherst, MA 01003
Email mash@econs.umass.edu
Tel +1-413-545-2590 Twitter https://twitter.com/michaelaoash



--
Michael Ash, Chair, Department of Economics
Professor of Economics and Public Policy         
University of Massachusetts Amherst
Amherst, MA 01003
Email mash@econs.umass.edu
Tel +1-413-545-2590 Twitter https://twitter.com/michaelaoash