EmacsRuPub / emrc

EMacsRu metapackages collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A repo for metapackages

How to use

  • tangle this file to init.el `M-x org-babel-tangle`
  • edit the latter according to your needs
  • test it with your Emacs installation, you can even run it from `M-x eshell`
    emacs -q -l init.el
        
  • put it in your `~/.emacs.d/init.el` if everything is OK

Prerequisites

By default, Emacs knows about GNU ELPA only, add some more repositories.

(require 'package)
(setq package-archives
      `(,@package-archives
        ("melpa" . "https://melpa.org/packages/")
        ;; ("marmalade" . "https://marmalade-repo.org/packages/")
        ("org" . "https://orgmode.org/elpa/")
        ;; ("user42" . "https://download.tuxfamily.org/user42/elpa/packages/")
        ;; ("emacswiki" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/emacswiki/")
        ;; ("sunrise" . "http://joseito.republika.pl/sunrise-commander/")
        ))
(package-initialize)

Use-package can’t install itself so we have to bootstrap it

(setq package-enable-at-startup nil)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(eval-when-compile
  (require 'use-package))

(put 'use-package 'lisp-indent-function 1)
(setq use-package-always-ensure t)

Install Quelpa, so we can install packages directly from their sources

(use-package quelpa)
(use-package quelpa-use-package)

Here goes the list and an example(-es?) of usage

emrc-default

(use-package emrc-defaults
  :ensure nil
  :quelpa (emrc-defaults :repo "EmacsRuPub/emrc"
                         :fetcher github
                         :files ("emrc-defaults.el")))

emrc-dired

(use-package emrc-dired
  :ensure nil
  :quelpa (emrc-dired :repo "EmacsRuPub/emrc"
                      :fetcher github
                      :files ("emrc-dired.el")))

emrc-completion-ivy

(use-package emrc-completion-ivy
  :ensure nil
  :quelpa (emrc-completion-ivy :repo "EmacsRuPub/emrc"
                         :fetcher github
                         :files ("emrc-completion-ivy.el")))

Where to get good ideas

About

EMacsRu metapackages collection


Languages

Language:Emacs Lisp 100.0%