Skip to content
Emacs mode for the CPAN shell
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

cpan.el README

The CPAN shell is just another shell, so why not drive it from Emacs?

cpan.el is a simple shell mode that does just that.


(add-to-list 'load-path (expand-file-name "/path/to/cpan-el/"))
(setf cpan-file-name "cpan")

(require 'cpan)


Start it with M-x cpan.


This code is a modified version of the built-in shell.el. There is probably more work needed to get this up to snuff (completion? syntax highlighting?), but it works. It even "works" on Windows (modulo bugs in the way the prompt is displayed, for reasons that are unclear to me).


See the file COPYING in this directory. Since it's a modified version of shell.el, we use GPLv3.

You can’t perform that action at this time.