emacs-mode-compile - Smart command for compiling files according to major-mode

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: emacs-mode-compile
Package version: 2.27
Package release: 15-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 185.73 KB
Download size: 55.19 KB
Official Mirror: abf-downloads.openmandriva.org
Provide `mode-compile' function as a replacement for the use of `compile' command which is very dumb for creating it's compilation command (use "make -k" by default). `mode-compile' is a layer above `compile'; Its purpose is mainly to build a smart compile-command for `compile' to execute it. This compile-command is built according to number of parameters: - the major-mode. - presence or not of a makefile in current directory. - the buffer-file-name and extension. - what is in the current buffer (`main' function,"#!/path/shell", ...). - and more ... Most of these parameters are higly customizable through Emacs Lisp variables (to be set in your .emacs or through Customization menu). Running mode-compile after an universal-argument (C-u) allows remote compilations, user is prompted for a host name to run the compilation command on. Another function provided is `mode-compile-kill' which terminate a running compilation session launched by `mode-compile'.



  • config(emacs-mode-compile) == 0:2.27-15:2015.0
  • emacs-mode-compile == 2.27-15:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install emacs-mode-compile rpm package:
      # urpmi emacs-mode-compile


    • /etc/emacs/site-start.d/emacs-mode-compile.el
    • /usr/share/doc/emacs-mode-compile/DOCUMENTATION
    • /usr/share/emacs/site-lisp/emacs-mode-compile.elc
    • /usr/share/emacs/site-lisp/mode-compile.el