I installed from OpenSUSE: |
Using Emacs
C-<chr> | means hold the CONTROL key while typing the character <chr> Thus, C-f would be: hold the CONTROL key and type f. |
M-<chr> | means hold the META or EDIT or ALT key |
Click on desktop Icon
/usr/share/applications/emacs.desktop
Installing Melpa
Repository of Emacs packages. Packages such as idris-mode or Coq are loaded into Emacs using melpa:
https://melpa.org/#/getting-started
Enable installation of packages from MELPA by adding an entry to package-archives after (require 'package) and before the call to package-initialize in your init.el or .emacs file:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; File name: ` ~/.emacs ' ;;; --------------------- ;;; ;;; If you need your own personal ~/.emacs ;;; please make a copy of this file ;;; an placein your changes and/or extension. ;;; ;;; Copyright (c) 1997-2002 SuSE Gmbh Nuernberg, Germany. ;;; ;;; Author: Werner Fink, |
To use the stable package repository instead of the default "bleeding-edge" repository, use this instead of "melpa": (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
Install package
Options -> Manage Emacs Packages
Select the package to install (in this case idris-mode)
click on install
It says : idris-mode is an available obsolete package.
Update all MELPA packages
M-x package-list-packages
then
- r (refresh the package list)
- U(mark Upgradable packages)
- x (execute the installs and deletions).
Using Idris
(page about Idris here) Scroll down to installation notes on site here:
https://github.com/idris-hackers/idris-mode/
Somehow Emacs needs to know about Idris. | |
I setup the startup Icon to my application directory. |
Using Coq
For more information about coq see this page .
Proof-general runs on emacs
https://proofgeneral.github.io/
Install
M-x package-refresh-contents
M-x package-install RET
proof-general
This will these recogise:
- Coq file (.v)
- EasyCrypt file (.ec)
- PhoX file (.phx)