elpa

What's the magic behind the ELPA?

只愿长相守 提交于 2020-01-12 14:29:47
问题 I use Aquamacs, and I use ELPA that installs files in ~/.emacs.d/elpa? What's the magic behind this ELPA? I mean, without ELPA, I should download and install the packages in a specific directory, and add those two lines in .emacs. (add-to-list 'load-path "PACKAGE_DIRECTORY") (require 'PACKAGE) But, with ELPA, I don't see anything added to .emacs or /Users/smcho/Library/Preferences/Aquamacs Emacs/{Preferences.el, customizations.el}. How is this possible? Added This is what I found with

What's the magic behind the ELPA?

旧时模样 提交于 2020-01-12 14:29:28
问题 I use Aquamacs, and I use ELPA that installs files in ~/.emacs.d/elpa? What's the magic behind this ELPA? I mean, without ELPA, I should download and install the packages in a specific directory, and add those two lines in .emacs. (add-to-list 'load-path "PACKAGE_DIRECTORY") (require 'PACKAGE) But, with ELPA, I don't see anything added to .emacs or /Users/smcho/Library/Preferences/Aquamacs Emacs/{Preferences.el, customizations.el}. How is this possible? Added This is what I found with

ELPA/Marmalade reports “cannot open load file” for ~/.emacs.d/elpa/archives/-pkg

核能气质少年 提交于 2019-12-21 12:14:18
问题 I have installed Marmalade and downloaded some interesting packages. But now, when I start Emacs I get this error: Cannot open load file: c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg If I use --debug-init , I get: Debugger entered--Lisp error: (file-error "Cannot open load file" "c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg") load("c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg" nil t) (if

Emacs (Cocoa Emacs) vs Aquamacs for running Clojure on Mac OS X

谁都会走 提交于 2019-12-17 15:35:55
问题 I used Aquamacs so far, and I need to install and run Clojure using SLIME. I googled to get some way to use Clojure on SLIME of Aquamacs, but without success. Questions Is it possible to install Clojure on Aquamacs? Or, can you guess why Clojure on Aquamacs doesn't work? Is it normal that Emacs and Aquamacs can't share the same ELPA? Is it possible to use ELPA to install Conjure on Emacs/Aquamacs? I was told that one can use 'lein swank' to run as a server, do you know how to do that?

Dotfiles repository: Switching from per-package Git submodules to ELPA while maintaining portability

孤者浪人 提交于 2019-12-10 10:37:58
问题 I've been using Git submodules within my dotfiles repository to track each Emacs package that I use. With a package manager being built-in with Emacs 24, though, I'd like to switch to the more official and easier-to-use method. My problem with switching: With my current Git submodule method, any clone of the dotfiles repository is guaranteed to contain all the referenced add-ons. Is there a built-in functionality within this package manager to allow synchronization of packages , so that any

Error updating emacs packages: Failed to download 'gnu' archive

巧了我就是萌 提交于 2019-12-09 04:36:48
问题 My init.el uses this to initialize packages: (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (add-to-list 'package-archives '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")) When I do M-x package-refresh-contents I get the following error: Failed to download `gnu' archive. M-x toggle-debug-on-error gives me this stacktrace: Debugger entered--Lisp

How are the packages installed with 'package-install'(elpa) in Emacs loaded?

允我心安 提交于 2019-12-08 12:44:08
问题 I have installed some packages by using elpa in my Emacs, but how are they loaded when launching Emacs? 回答1: package-install is a part of package.el -- which You can see with describe-function . From package.el documentation: ;; At activation time we will set up the load-path and the info path, ;; and we will load the package's autoloads. If a package's ;; dependencies are not available, we will not activate that package. So in every package there's a file NAME-autoloads.el and this file is

Installing ECB in emacs 24 in ubuntu

﹥>﹥吖頭↗ 提交于 2019-12-07 03:42:10
问题 I understand from this question that CEDET is installed in emacs 24 without additional installation, so I don't need to follow those instructions here, or the CEDET part here. I am not using the emacs starter kit, like this answer. So, when I use elpa to install ecb, I get the following error: Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-file-tree.el at Mon Dec 30 16:13:57 2013 Entering directory `/home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/' jn-file

Dotfiles repository: Switching from per-package Git submodules to ELPA while maintaining portability

自作多情 提交于 2019-12-06 08:16:56
I've been using Git submodules within my dotfiles repository to track each Emacs package that I use. With a package manager being built-in with Emacs 24, though, I'd like to switch to the more official and easier-to-use method. My problem with switching: With my current Git submodule method, any clone of the dotfiles repository is guaranteed to contain all the referenced add-ons. Is there a built-in functionality within this package manager to allow synchronization of packages , so that any pull of the Git repo will contain the necessary packages (or have them all installable with a single

ELPA/Marmalade reports “cannot open load file” for ~/.emacs.d/elpa/archives/-pkg

扶醉桌前 提交于 2019-12-04 04:40:13
I have installed Marmalade and downloaded some interesting packages. But now, when I start Emacs I get this error: Cannot open load file: c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg If I use --debug-init , I get: Debugger entered--Lisp error: (file-error "Cannot open load file" "c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg") load("c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg" nil t) (if (file-directory-p pkg-dir) (load (concat pkg-dir ... "-pkg") nil t)) (let ((pkg-dir ...)) (if (file