[ELPA] Update
This commit is contained in:
parent
7a351b8d55
commit
8927361332
|
@ -1,2 +0,0 @@
|
|||
;;; -*- no-byte-compile: t -*-
|
||||
(define-package "dash" "20180206.2124" "A modern list library for Emacs" 'nil :commit "48a5015dd1314a8bcad48f2ad8866dd911001b01" :keywords '("lists"))
|
|
@ -3,7 +3,7 @@
|
|||
;;; Code:
|
||||
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
|
||||
|
||||
;;;### (autoloads nil nil ("dash.el") (23179 13963 741041 342000))
|
||||
;;;### (autoloads nil nil ("dash.el") (23232 59857 938367 750000))
|
||||
|
||||
;;;***
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
;;; -*- no-byte-compile: t -*-
|
||||
(define-package "dash" "20180310.1317" "A modern list library for Emacs" 'nil :commit "87d5feac1a08ea09e55e52442dc5e497817b4f08" :keywords '("lists"))
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Magnar Sveen <magnars@gmail.com>
|
||||
;; Version: 2.13.0
|
||||
;; Package-Version: 20180206.2124
|
||||
;; Package-Version: 20180310.1317
|
||||
;; Keywords: lists
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -652,7 +652,8 @@ See also: `-last-item'."
|
|||
(declare (pure t) (side-effect-free t))
|
||||
(car (cdr (cdr (cdr (cdr list))))))
|
||||
|
||||
;; TODO: emacs23 support, when dropped remove the condition
|
||||
;; TODO: gv was introduced in 24.3, so we can remove the if statement
|
||||
;; when support for earlier versions is dropped
|
||||
(eval-when-compile
|
||||
(require 'cl)
|
||||
(if (fboundp 'gv-define-simple-setter)
|
||||
|
@ -666,7 +667,8 @@ See also: `-last-item'."
|
|||
(declare (pure t) (side-effect-free t))
|
||||
(car (last list)))
|
||||
|
||||
;; TODO: emacs23 support, when dropped remove the condition
|
||||
;; TODO: gv was introduced in 24.3, so we can remove the if statement
|
||||
;; when support for earlier versions is dropped
|
||||
(eval-when-compile
|
||||
(if (fboundp 'gv-define-setter)
|
||||
(gv-define-setter -last-item (val x) `(setcar (last ,x) ,val))
|
|
@ -1,2 +0,0 @@
|
|||
;;; -*- no-byte-compile: t -*-
|
||||
(define-package "exec-path-from-shell" "20180224.1916" "Get environment variables such as $PATH from the shell" 'nil :commit "885b3de9bb6365771dd09f5267f6ff843d5109e8" :url "https://github.com/purcell/exec-path-from-shell" :keywords '("unix" "environment"))
|
|
@ -4,7 +4,7 @@
|
|||
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
|
||||
|
||||
;;;### (autoloads nil "exec-path-from-shell" "exec-path-from-shell.el"
|
||||
;;;;;; (23194 22920 277259 350000))
|
||||
;;;;;; (23232 59847 70306 663000))
|
||||
;;; Generated autoloads from exec-path-from-shell.el
|
||||
|
||||
(autoload 'exec-path-from-shell-copy-envs "exec-path-from-shell" "\
|
|
@ -0,0 +1,2 @@
|
|||
;;; -*- no-byte-compile: t -*-
|
||||
(define-package "exec-path-from-shell" "20180323.1904" "Get environment variables such as $PATH from the shell" 'nil :commit "4d0af1274797ce61f5d8c209339d5b9cdc49aca6" :keywords '("unix" "environment") :url "https://github.com/purcell/exec-path-from-shell")
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: Steve Purcell <steve@sanityinc.com>
|
||||
;; Keywords: unix, environment
|
||||
;; URL: https://github.com/purcell/exec-path-from-shell
|
||||
;; Package-Version: 20180224.1916
|
||||
;; Package-Version: 20180323.1904
|
||||
;; Package-X-Original-Version: 0
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
|
@ -73,6 +73,9 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
;; Satisfy the byte compiler
|
||||
(defvar eshell-path-env)
|
||||
|
||||
(defgroup exec-path-from-shell nil
|
||||
"Make Emacs use shell-defined values for $PATH etc."
|
||||
:prefix "exec-path-from-shell-"
|
|
@ -1,5 +0,0 @@
|
|||
(define-package "multiple-cursors" "20170908.1452" "Multiple cursors for Emacs."
|
||||
'((cl-lib "0.5")))
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
|
@ -3,8 +3,8 @@
|
|||
;;; Code:
|
||||
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
|
||||
|
||||
;;;### (autoloads nil "mc-edit-lines" "mc-edit-lines.el" (22981 14420
|
||||
;;;;;; 295246 728000))
|
||||
;;;### (autoloads nil "mc-edit-lines" "mc-edit-lines.el" (23232 59811
|
||||
;;;;;; 498106 195000))
|
||||
;;; Generated autoloads from mc-edit-lines.el
|
||||
|
||||
(autoload 'mc/edit-lines "mc-edit-lines" "\
|
||||
|
@ -34,7 +34,7 @@ Add one cursor to the beginning of each line in the active region.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "mc-hide-unmatched-lines-mode" "mc-hide-unmatched-lines-mode.el"
|
||||
;;;;;; (22981 14420 327246 904000))
|
||||
;;;;;; (23232 59811 538106 420000))
|
||||
;;; Generated autoloads from mc-hide-unmatched-lines-mode.el
|
||||
|
||||
(autoload 'mc-hide-unmatched-lines-mode "mc-hide-unmatched-lines-mode" "\
|
||||
|
@ -48,8 +48,8 @@ mode. To leave this mode press <return> or \"C-g\"
|
|||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "mc-mark-more" "mc-mark-more.el" (22981 14420
|
||||
;;;;;; 355247 56000))
|
||||
;;;### (autoloads nil "mc-mark-more" "mc-mark-more.el" (23232 59811
|
||||
;;;;;; 554106 511000))
|
||||
;;; Generated autoloads from mc-mark-more.el
|
||||
|
||||
(autoload 'mc/mark-next-like-this "mc-mark-more" "\
|
||||
|
@ -246,8 +246,8 @@ Mark the tag we're in and its pair for renaming.
|
|||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "mc-mark-pop" "mc-mark-pop.el" (22981 14420
|
||||
;;;;;; 311246 816000))
|
||||
;;;### (autoloads nil "mc-mark-pop" "mc-mark-pop.el" (23232 59811
|
||||
;;;;;; 534106 398000))
|
||||
;;; Generated autoloads from mc-mark-pop.el
|
||||
|
||||
(autoload 'mc/mark-pop "mc-mark-pop" "\
|
||||
|
@ -259,7 +259,7 @@ to the popped mark.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "mc-separate-operations" "mc-separate-operations.el"
|
||||
;;;;;; (22981 14420 335246 947000))
|
||||
;;;;;; (23232 59811 546106 466000))
|
||||
;;; Generated autoloads from mc-separate-operations.el
|
||||
|
||||
(autoload 'mc/insert-numbers "mc-separate-operations" "\
|
||||
|
@ -299,7 +299,7 @@ Aligns all cursors with whitespace like `mc/vertical-align' does
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "multiple-cursors-core" "multiple-cursors-core.el"
|
||||
;;;;;; (22981 14420 263246 553000))
|
||||
;;;;;; (23232 59811 474106 59000))
|
||||
;;; Generated autoloads from multiple-cursors-core.el
|
||||
|
||||
(autoload 'multiple-cursors-mode "multiple-cursors-core" "\
|
||||
|
@ -310,7 +310,7 @@ Mode while multiple cursors are active.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "rectangular-region-mode" "rectangular-region-mode.el"
|
||||
;;;;;; (22981 14420 303246 772000))
|
||||
;;;;;; (23232 59811 522106 330000))
|
||||
;;; Generated autoloads from rectangular-region-mode.el
|
||||
|
||||
(autoload 'set-rectangular-region-anchor "rectangular-region-mode" "\
|
||||
|
@ -329,7 +329,7 @@ A mode for creating a rectangular region to edit
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil nil ("mc-cycle-cursors.el" "multiple-cursors-pkg.el"
|
||||
;;;;;; "multiple-cursors.el") (22981 14420 371247 144000))
|
||||
;;;;;; "multiple-cursors.el") (23232 59811 566106 578000))
|
||||
|
||||
;;;***
|
||||
|
|
@ -148,6 +148,7 @@ highlights the entire width of the window."
|
|||
yank-undo-function
|
||||
autopair-action
|
||||
autopair-wrap-action
|
||||
temporary-goal-column
|
||||
er/history)
|
||||
"A list of vars that need to be tracked on a per-cursor basis.")
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(define-package "multiple-cursors" "20180320.747" "Multiple cursors for Emacs."
|
||||
'((cl-lib "0.5")))
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
|
@ -1,8 +0,0 @@
|
|||
(define-package "use-package" "20180206.1414" "A configuration macro for simplifying your .emacs"
|
||||
'((emacs "24.3")
|
||||
(bind-key "2.4"))
|
||||
:url "https://github.com/jwiegley/use-package" :keywords
|
||||
'("dotemacs" "startup" "speed" "config" "package"))
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
|
@ -4,7 +4,7 @@
|
|||
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
|
||||
|
||||
;;;### (autoloads nil "use-package-bind-key" "use-package-bind-key.el"
|
||||
;;;;;; (23179 13836 404336 368000))
|
||||
;;;;;; (23232 59783 369947 51000))
|
||||
;;; Generated autoloads from use-package-bind-key.el
|
||||
|
||||
(autoload 'use-package-autoload-keymap "use-package-bind-key" "\
|
||||
|
@ -55,8 +55,8 @@ deferred until the prefix key sequence is pressed.
|
|||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-core" "use-package-core.el" (23179
|
||||
;;;;;; 13836 312335 874000))
|
||||
;;;### (autoloads nil "use-package-core" "use-package-core.el" (23232
|
||||
;;;;;; 59783 273946 507000))
|
||||
;;; Generated autoloads from use-package-core.el
|
||||
|
||||
(autoload 'use-package "use-package-core" "\
|
||||
|
@ -121,7 +121,7 @@ this file. Usage:
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-delight" "use-package-delight.el"
|
||||
;;;;;; (23179 13836 356336 111000))
|
||||
;;;;;; (23232 59783 301946 666000))
|
||||
;;; Generated autoloads from use-package-delight.el
|
||||
|
||||
(autoload 'use-package-normalize/:delight "use-package-delight" "\
|
||||
|
@ -137,7 +137,7 @@ Normalize arguments to delight.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-diminish" "use-package-diminish.el"
|
||||
;;;;;; (23179 13836 388336 282000))
|
||||
;;;;;; (23232 59783 341946 893000))
|
||||
;;; Generated autoloads from use-package-diminish.el
|
||||
|
||||
(autoload 'use-package-normalize/:diminish "use-package-diminish" "\
|
||||
|
@ -153,7 +153,7 @@ Normalize arguments to delight.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-ensure" "use-package-ensure.el"
|
||||
;;;;;; (23179 13836 340336 24000))
|
||||
;;;;;; (23232 59783 293946 621000))
|
||||
;;; Generated autoloads from use-package-ensure.el
|
||||
|
||||
(autoload 'use-package-normalize/:ensure "use-package-ensure" "\
|
||||
|
@ -168,8 +168,8 @@ Normalize arguments to delight.
|
|||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-jump" "use-package-jump.el" (23179
|
||||
;;;;;; 13836 400336 347000))
|
||||
;;;### (autoloads nil "use-package-jump" "use-package-jump.el" (23232
|
||||
;;;;;; 59783 361947 6000))
|
||||
;;; Generated autoloads from use-package-jump.el
|
||||
|
||||
(autoload 'use-package-jump-to-package-form "use-package-jump" "\
|
||||
|
@ -183,8 +183,8 @@ instead.
|
|||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "use-package-lint" "use-package-lint.el" (23179
|
||||
;;;;;; 13836 372336 197000))
|
||||
;;;### (autoloads nil "use-package-lint" "use-package-lint.el" (23232
|
||||
;;;;;; 59783 305946 689000))
|
||||
;;; Generated autoloads from use-package-lint.el
|
||||
|
||||
(autoload 'use-package-lint "use-package-lint" "\
|
||||
|
@ -197,7 +197,7 @@ with the specified `:load-path' the module cannot be found.
|
|||
;;;***
|
||||
|
||||
;;;### (autoloads nil nil ("use-package-pkg.el" "use-package.el")
|
||||
;;;;;; (23179 13836 392336 304000))
|
||||
;;;;;; (23232 59783 349946 938000))
|
||||
|
||||
;;;***
|
||||
|
|
@ -87,12 +87,14 @@ deferred until the prefix key sequence is pressed."
|
|||
;; :prefix STRING
|
||||
;; :filter SEXP
|
||||
;; :menu-name STRING
|
||||
;; :package SYMBOL
|
||||
((or (and (eq x :map) (symbolp (cadr arg)))
|
||||
(and (eq x :prefix) (stringp (cadr arg)))
|
||||
(and (eq x :prefix-map) (symbolp (cadr arg)))
|
||||
(and (eq x :prefix-docstring) (stringp (cadr arg)))
|
||||
(eq x :filter)
|
||||
(and (eq x :menu-name) (stringp (cadr arg))))
|
||||
(and (eq x :menu-name) (stringp (cadr arg)))
|
||||
(and (eq x :package) (symbolp (cadr arg))))
|
||||
(setq args* (nconc args* (list x (cadr arg))))
|
||||
(setq arg (cddr arg)))
|
||||
((listp x)
|
|
@ -41,6 +41,13 @@
|
|||
|
||||
(require 'bytecomp)
|
||||
(require 'cl-lib)
|
||||
(require 'tabulated-list)
|
||||
|
||||
(if (and (eq emacs-major-version 24) (eq emacs-minor-version 3))
|
||||
(defsubst hash-table-keys (hash-table)
|
||||
"Return a list of keys in HASH-TABLE."
|
||||
(cl-loop for k being the hash-keys of hash-table collect k))
|
||||
(require 'subr-x))
|
||||
|
||||
(eval-when-compile
|
||||
(require 'cl)
|
||||
|
@ -964,6 +971,43 @@ If RECURSED is non-nil, recurse into sublists."
|
|||
(interactive)
|
||||
(setq use-package-statistics (make-hash-table)))
|
||||
|
||||
(defun use-package-statistics-status (package)
|
||||
"Return loading configuration status of PACKAGE statistics."
|
||||
(cond ((gethash :config package) "Configured")
|
||||
((gethash :init package) "Initialized")
|
||||
((gethash :preface package) "Prefaced")
|
||||
((gethash :use-package package) "Declared")))
|
||||
|
||||
(defun use-package-statistics-last-event (package)
|
||||
"Return the date when PACKAGE's status last changed.
|
||||
The date is returned as a string."
|
||||
(format-time-string "%Y-%m-%d %a %H:%M"
|
||||
(or (gethash :config package)
|
||||
(gethash :init package)
|
||||
(gethash :preface package)
|
||||
(gethash :use-package package))))
|
||||
|
||||
(defun use-package-statistics-time (package)
|
||||
"Return the time is took for PACKAGE to load."
|
||||
(+ (float-time (gethash :config-secs package 0))
|
||||
(float-time (gethash :init-secs package 0))
|
||||
(float-time (gethash :preface-secs package 0))
|
||||
(float-time (gethash :use-package-secs package 0))))
|
||||
|
||||
(defun use-package-statistics-convert (package)
|
||||
"Return information about PACKAGE.
|
||||
|
||||
The information is formatted in a way suitable for
|
||||
`use-package-statistics-mode'."
|
||||
(let ((statistics (gethash package use-package-statistics)))
|
||||
(list
|
||||
package
|
||||
(vector
|
||||
(symbol-name package)
|
||||
(use-package-statistics-status statistics)
|
||||
(use-package-statistics-last-event statistics)
|
||||
(format "%.2f" (use-package-statistics-time statistics))))))
|
||||
|
||||
(defun use-package-report ()
|
||||
"Show current statistics gathered about use-package declarations.
|
||||
In the table that's generated, the status field has the following
|
||||
|
@ -974,32 +1018,24 @@ meaning:
|
|||
Declared the use-package declaration was seen"
|
||||
(interactive)
|
||||
(with-current-buffer (get-buffer-create "*use-package statistics*")
|
||||
(delete-region (point-min) (point-max))
|
||||
(insert "|Package|Status|Last Event|Time|\n")
|
||||
(insert "|-\n")
|
||||
(maphash
|
||||
#'(lambda (key hash)
|
||||
(insert
|
||||
(format "|%s |%s|%s |%.2f|\n" key
|
||||
(cond ((gethash :config hash) "Configured")
|
||||
((gethash :init hash) "Initialized")
|
||||
((gethash :preface hash) "Prefaced")
|
||||
((gethash :use-package hash) "Declared"))
|
||||
(format-time-string "[%Y-%m-%d %a %H:%M]"
|
||||
(or (gethash :config hash)
|
||||
(gethash :init hash)
|
||||
(gethash :preface hash)
|
||||
(gethash :use-package hash)))
|
||||
(+ (float-time (gethash :config-secs hash 0))
|
||||
(float-time (gethash :init-secs hash 0))
|
||||
(float-time (gethash :preface-secs hash 0))
|
||||
(float-time (gethash :use-package-secs hash 0))))))
|
||||
use-package-statistics)
|
||||
(goto-char (point-min))
|
||||
(orgtbl-mode)
|
||||
(org-table-align)
|
||||
(setq tabulated-list-entries
|
||||
(mapcar #'use-package-statistics-convert
|
||||
(hash-table-keys use-package-statistics)))
|
||||
(use-package-statistics-mode)
|
||||
(tabulated-list-print)
|
||||
(display-buffer (current-buffer))))
|
||||
|
||||
(define-derived-mode use-package-statistics-mode tabulated-list-mode
|
||||
"use-package statistics"
|
||||
"Show current statistics gathered about use-package declarations."
|
||||
(setq tabulated-list-format
|
||||
;; The sum of column width is 80 caracters:
|
||||
#[("Package" 25 t)
|
||||
("Status" 13 t)
|
||||
("Last Event" 23 t)
|
||||
("Time" 10 t)])
|
||||
(tabulated-list-init-header))
|
||||
|
||||
(defun use-package-statistics-gather (keyword name after)
|
||||
(let* ((hash (gethash name use-package-statistics
|
||||
(make-hash-table)))
|
|
@ -0,0 +1,9 @@
|
|||
(define-package "use-package" "20180314.1143" "A configuration macro for simplifying your .emacs"
|
||||
'((emacs "24.3")
|
||||
(bind-key "2.4"))
|
||||
:keywords
|
||||
'("dotemacs" "startup" "speed" "config" "package")
|
||||
:url "https://github.com/jwiegley/use-package")
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
|
@ -1,4 +1,4 @@
|
|||
This is use-package.info, produced by makeinfo version 5.2 from
|
||||
This is use-package.info, produced by makeinfo version 6.1 from
|
||||
use-package.texi.
|
||||
|
||||
Copyright (C) 2012-2017 John Wiegley <johnw@newartisans.com>
|
||||
|
@ -23,7 +23,7 @@ File: use-package.info, Node: Top, Next: Introduction, Up: (dir)
|
|||
use-package User Manual
|
||||
***********************
|
||||
|
||||
use-package is…
|
||||
use-package is...
|
||||
|
||||
Copyright (C) 2012-2017 John Wiegley <johnw@newartisans.com>
|
||||
|
||||
|
@ -63,25 +63,25 @@ Installation
|
|||
|
||||
Keywords
|
||||
|
||||
* ‘:after’: ‘after’.
|
||||
* ‘:bind-keymap’, ‘:bind-keymap*’: ‘bind-keymap’ ‘bind-keymap*’.
|
||||
* ‘:bind’, ‘:bind*’: ‘bind’ ‘bind*’.
|
||||
* ‘:commands’: ‘commands’.
|
||||
* ‘:preface’, ‘:init’, ‘:config’: ‘preface’ ‘init’ ‘config’.
|
||||
* ‘:custom’: ‘custom’.
|
||||
* ‘:custom-face’: ‘custom-face’.
|
||||
* ‘:defer’, ‘:demand’: ‘defer’ ‘demand’.
|
||||
* ‘:defines’, ‘:functions’: ‘defines’ ‘functions’.
|
||||
* ‘:diminish’, ‘:delight’: ‘diminish’ ‘delight’.
|
||||
* ‘:disabled’: ‘disabled’.
|
||||
* ‘:ensure’, ‘:pin’: ‘ensure’ ‘pin’.
|
||||
* ‘:hook’: ‘hook’.
|
||||
* ‘:if’, ‘:when’, ‘:unless’: ‘if’ ‘when’ ‘unless’.
|
||||
* ‘:load-path’: ‘load-path’.
|
||||
* ‘:mode’, ‘:interpreter’: ‘mode’ ‘interpreter’.
|
||||
* ‘:magic’, ‘:magic-fallback’: ‘magic’ ‘magic-fallback’.
|
||||
* ‘:no-require’: ‘no-require’.
|
||||
* ‘:requires’: ‘requires’.
|
||||
* ‘:after’: after.
|
||||
* ‘:bind-keymap’, ‘:bind-keymap*’: bind-keymap bind-keymap*.
|
||||
* ‘:bind’, ‘:bind*’: bind bind*.
|
||||
* ‘:commands’: commands.
|
||||
* ‘:preface’, ‘:init’, ‘:config’: preface init config.
|
||||
* ‘:custom’: custom.
|
||||
* ‘:custom-face’: custom-face.
|
||||
* ‘:defer’, ‘:demand’: defer demand.
|
||||
* ‘:defines’, ‘:functions’: defines functions.
|
||||
* ‘:diminish’, ‘:delight’: diminish delight.
|
||||
* ‘:disabled’: disabled.
|
||||
* ‘:ensure’, ‘:pin’: ensure pin.
|
||||
* ‘:hook’: hook.
|
||||
* ‘:if’, ‘:when’, ‘:unless’: if when unless.
|
||||
* ‘:load-path’: load-path.
|
||||
* ‘:mode’, ‘:interpreter’: mode interpreter.
|
||||
* ‘:magic’, ‘:magic-fallback’: magic magic-fallback.
|
||||
* ‘:no-require’: no-require.
|
||||
* ‘:requires’: requires.
|
||||
|
||||
|
||||
|
||||
|
@ -91,10 +91,10 @@ Keywords
|
|||
|
||||
FAQ
|
||||
|
||||
* FAQ - How to …?::
|
||||
* FAQ - How to ...?::
|
||||
* FAQ - Issues and Errors::
|
||||
|
||||
FAQ - How to …?
|
||||
FAQ - How to ...?
|
||||
|
||||
* This is a question::
|
||||
|
||||
|
@ -142,13 +142,13 @@ yourself with it by reading the documentation in the Emacs manual, see
|
|||
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "http://melpa.org/packages/") t)
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
|
||||
• To use Melpa-Stable:
|
||||
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
|
||||
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||
|
||||
Once you have added your preferred archive, you need to update the
|
||||
local package list using:
|
||||
|
@ -250,28 +250,28 @@ File: use-package.info, Node: Keywords, Next: FAQ, Prev: Getting Started, Up
|
|||
|
||||
* Menu:
|
||||
|
||||
* ‘:after’: ‘after’.
|
||||
* ‘:bind-keymap’, ‘:bind-keymap*’: ‘bind-keymap’ ‘bind-keymap*’.
|
||||
* ‘:bind’, ‘:bind*’: ‘bind’ ‘bind*’.
|
||||
* ‘:commands’: ‘commands’.
|
||||
* ‘:preface’, ‘:init’, ‘:config’: ‘preface’ ‘init’ ‘config’.
|
||||
* ‘:custom’: ‘custom’.
|
||||
* ‘:custom-face’: ‘custom-face’.
|
||||
* ‘:defer’, ‘:demand’: ‘defer’ ‘demand’.
|
||||
* ‘:defines’, ‘:functions’: ‘defines’ ‘functions’.
|
||||
* ‘:diminish’, ‘:delight’: ‘diminish’ ‘delight’.
|
||||
* ‘:disabled’: ‘disabled’.
|
||||
* ‘:ensure’, ‘:pin’: ‘ensure’ ‘pin’.
|
||||
* ‘:hook’: ‘hook’.
|
||||
* ‘:if’, ‘:when’, ‘:unless’: ‘if’ ‘when’ ‘unless’.
|
||||
* ‘:load-path’: ‘load-path’.
|
||||
* ‘:mode’, ‘:interpreter’: ‘mode’ ‘interpreter’.
|
||||
* ‘:magic’, ‘:magic-fallback’: ‘magic’ ‘magic-fallback’.
|
||||
* ‘:no-require’: ‘no-require’.
|
||||
* ‘:requires’: ‘requires’.
|
||||
* ‘:after’: after.
|
||||
* ‘:bind-keymap’, ‘:bind-keymap*’: bind-keymap bind-keymap*.
|
||||
* ‘:bind’, ‘:bind*’: bind bind*.
|
||||
* ‘:commands’: commands.
|
||||
* ‘:preface’, ‘:init’, ‘:config’: preface init config.
|
||||
* ‘:custom’: custom.
|
||||
* ‘:custom-face’: custom-face.
|
||||
* ‘:defer’, ‘:demand’: defer demand.
|
||||
* ‘:defines’, ‘:functions’: defines functions.
|
||||
* ‘:diminish’, ‘:delight’: diminish delight.
|
||||
* ‘:disabled’: disabled.
|
||||
* ‘:ensure’, ‘:pin’: ensure pin.
|
||||
* ‘:hook’: hook.
|
||||
* ‘:if’, ‘:when’, ‘:unless’: if when unless.
|
||||
* ‘:load-path’: load-path.
|
||||
* ‘:mode’, ‘:interpreter’: mode interpreter.
|
||||
* ‘:magic’, ‘:magic-fallback’: magic magic-fallback.
|
||||
* ‘:no-require’: no-require.
|
||||
* ‘:requires’: requires.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘after’, Next: ‘bind-keymap’ ‘bind-keymap*’, Up: Keywords
|
||||
File: use-package.info, Node: after, Next: bind-keymap bind-keymap*, Up: Keywords
|
||||
|
||||
4.1 ‘:after’
|
||||
============
|
||||
|
@ -312,7 +312,7 @@ quux))’, it means that the package will be loaded when either both ‘foo’
|
|||
and ‘bar’ have been loaded, or both ‘baz’ and ‘quux’ have been loaded.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘bind-keymap’ ‘bind-keymap*’, Next: ‘bind’ ‘bind*’, Prev: ‘after’, Up: Keywords
|
||||
File: use-package.info, Node: bind-keymap bind-keymap*, Next: bind bind*, Prev: after, Up: Keywords
|
||||
|
||||
4.2 ‘:bind-keymap’, ‘:bind-keymap*’
|
||||
===================================
|
||||
|
@ -337,7 +337,7 @@ reinterpret that keypress as a prefix key.
|
|||
("C-c p" . projectile-command-map)
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘bind’ ‘bind*’, Next: ‘commands’, Prev: ‘bind-keymap’ ‘bind-keymap*’, Up: Keywords
|
||||
File: use-package.info, Node: bind bind*, Next: commands, Prev: bind-keymap bind-keymap*, Up: Keywords
|
||||
|
||||
4.3 ‘:bind’, ‘:bind*’
|
||||
=====================
|
||||
|
@ -396,7 +396,7 @@ for more information.
|
|||
* Binding to local keymaps::
|
||||
|
||||
|
||||
File: use-package.info, Node: Binding to local keymaps, Up: ‘bind’ ‘bind*’
|
||||
File: use-package.info, Node: Binding to local keymaps, Up: bind bind*
|
||||
|
||||
4.3.1 Binding to local keymaps
|
||||
------------------------------
|
||||
|
@ -428,13 +428,13 @@ before the first use of ‘:map’ are applied to the global keymap:
|
|||
("M-n" . term-send-down)))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘commands’, Next: ‘preface’ ‘init’ ‘config’, Prev: ‘bind’ ‘bind*’, Up: Keywords
|
||||
File: use-package.info, Node: commands, Next: preface init config, Prev: bind bind*, Up: Keywords
|
||||
|
||||
4.4 ‘:commands’
|
||||
===============
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘preface’ ‘init’ ‘config’, Next: ‘custom’, Prev: ‘commands’, Up: Keywords
|
||||
File: use-package.info, Node: preface init config, Next: custom, Prev: commands, Up: Keywords
|
||||
|
||||
4.5 ‘:preface’, ‘:init’, ‘:config’
|
||||
==================================
|
||||
|
@ -492,7 +492,7 @@ package is actually loaded (by using one of these commands),
|
|||
‘moccur-edit’ is also loaded, to allow editing of the ‘moccur’ buffer.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘custom’, Next: ‘custom-face’, Prev: ‘preface’ ‘init’ ‘config’, Up: Keywords
|
||||
File: use-package.info, Node: custom, Next: custom-face, Prev: preface init config, Up: Keywords
|
||||
|
||||
4.6 ‘:custom’
|
||||
=============
|
||||
|
@ -507,7 +507,7 @@ The ‘:custom’ keyword allows customization of package custom variables.
|
|||
The documentation string is not mandatory.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘custom-face’, Next: ‘defer’ ‘demand’, Prev: ‘custom’, Up: Keywords
|
||||
File: use-package.info, Node: custom-face, Next: defer demand, Prev: custom, Up: Keywords
|
||||
|
||||
4.7 ‘:custom-face’
|
||||
==================
|
||||
|
@ -519,7 +519,7 @@ The ‘:custom-face’ keyword allows customization of package custom faces.
|
|||
(eruby-standard-face ((t (:slant italic)))))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘defer’ ‘demand’, Next: ‘defines’ ‘functions’, Prev: ‘custom-face’, Up: Keywords
|
||||
File: use-package.info, Node: defer demand, Next: defines functions, Prev: custom-face, Up: Keywords
|
||||
|
||||
4.8 ‘:defer’, ‘:demand’
|
||||
=======================
|
||||
|
@ -536,7 +536,7 @@ even if you use ‘:bind’, using ‘:demand’ will force loading to occur
|
|||
immediately and not establish an autoload for the bound key.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘defines’ ‘functions’, Next: ‘diminish’ ‘delight’, Prev: ‘defer’ ‘demand’, Up: Keywords
|
||||
File: use-package.info, Node: defines functions, Next: diminish delight, Prev: defer demand, Up: Keywords
|
||||
|
||||
4.9 ‘:defines’, ‘:functions’
|
||||
============================
|
||||
|
@ -571,7 +571,7 @@ byte-compiler:
|
|||
(add-hook 'ruby-mode-hook 'my-ruby-mode-hook))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘diminish’ ‘delight’, Next: ‘disabled’, Prev: ‘defines’ ‘functions’, Up: Keywords
|
||||
File: use-package.info, Node: diminish delight, Next: disabled, Prev: defines functions, Up: Keywords
|
||||
|
||||
4.10 ‘:diminish’, ‘:delight’
|
||||
============================
|
||||
|
@ -621,7 +621,7 @@ completely.
|
|||
(visual-line-mode))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘disabled’, Next: ‘ensure’ ‘pin’, Prev: ‘diminish’ ‘delight’, Up: Keywords
|
||||
File: use-package.info, Node: disabled, Next: ensure pin, Prev: diminish delight, Up: Keywords
|
||||
|
||||
4.11 ‘:disabled’
|
||||
================
|
||||
|
@ -637,7 +637,7 @@ with, or stop loading something you’re not using at the present time:
|
|||
omitted from the output entirely, to accelerate startup times.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘ensure’ ‘pin’, Next: ‘hook’, Prev: ‘disabled’, Up: Keywords
|
||||
File: use-package.info, Node: ensure pin, Next: hook, Prev: disabled, Up: Keywords
|
||||
|
||||
4.12 ‘:ensure’, ‘:pin’
|
||||
======================
|
||||
|
@ -707,7 +707,7 @@ from the magic ‘manual’ archive mentioned above):
|
|||
*NOTE*: the ‘:pin’ argument has no effect on emacs versions < 24.4.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘hook’, Next: ‘if’ ‘when’ ‘unless’, Prev: ‘ensure’ ‘pin’, Up: Keywords
|
||||
File: use-package.info, Node: hook, Next: if when unless, Prev: ensure pin, Up: Keywords
|
||||
|
||||
4.13 ‘:hook’
|
||||
============
|
||||
|
@ -753,7 +753,7 @@ module, if not already defined as functions), and so ‘:defer t’ is also
|
|||
implied by ‘:hook’.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘if’ ‘when’ ‘unless’, Next: ‘load-path’, Prev: ‘hook’, Up: Keywords
|
||||
File: use-package.info, Node: if when unless, Next: load-path, Prev: hook, Up: Keywords
|
||||
|
||||
4.14 ‘:if’, ‘:when’, ‘:unless’
|
||||
==============================
|
||||
|
@ -783,7 +783,7 @@ system:
|
|||
foo’ means the same thing as ‘:if (not foo)’.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘load-path’, Next: ‘mode’ ‘interpreter’, Prev: ‘if’ ‘when’ ‘unless’, Up: Keywords
|
||||
File: use-package.info, Node: load-path, Next: mode interpreter, Prev: if when unless, Up: Keywords
|
||||
|
||||
4.15 ‘:load-path’
|
||||
=================
|
||||
|
@ -814,7 +814,7 @@ again on each startup:
|
|||
:commands R)
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘mode’ ‘interpreter’, Next: ‘magic’ ‘magic-fallback’, Prev: ‘load-path’, Up: Keywords
|
||||
File: use-package.info, Node: mode interpreter, Next: magic magic-fallback, Prev: load-path, Up: Keywords
|
||||
|
||||
4.16 ‘:mode’, ‘:interpreter’
|
||||
============================
|
||||
|
@ -850,7 +850,7 @@ each), you can still defer loading with the ‘:defer’ keyword:
|
|||
:bind ("C-." . ace-jump-mode))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘magic’ ‘magic-fallback’, Next: ‘no-require’, Prev: ‘mode’ ‘interpreter’, Up: Keywords
|
||||
File: use-package.info, Node: magic magic-fallback, Next: no-require, Prev: mode interpreter, Up: Keywords
|
||||
|
||||
4.17 ‘:magic’, ‘:magic-fallback’
|
||||
================================
|
||||
|
@ -869,7 +869,7 @@ loading of ‘pdf-tools‘, and runs ‘pdf-view-mode‘ if the beginning of a
|
|||
buffer matches the string ‘"%PDF"‘.
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘no-require’, Next: ‘requires’, Prev: ‘magic’ ‘magic-fallback’, Up: Keywords
|
||||
File: use-package.info, Node: no-require, Next: requires, Prev: magic magic-fallback, Up: Keywords
|
||||
|
||||
4.18 ‘:no-require’
|
||||
==================
|
||||
|
@ -887,7 +887,7 @@ want to use ‘use-package’ for is to add a configuration to the
|
|||
(message "This is evaluated when `foo' is loaded"))
|
||||
|
||||
|
||||
File: use-package.info, Node: ‘requires’, Prev: ‘no-require’, Up: Keywords
|
||||
File: use-package.info, Node: requires, Prev: no-require, Up: Keywords
|
||||
|
||||
4.19 ‘:requires’
|
||||
================
|
||||
|
@ -927,21 +927,21 @@ The next two nodes lists frequently asked questions.
|
|||
|
||||
* Menu:
|
||||
|
||||
* FAQ - How to …?::
|
||||
* FAQ - How to ...?::
|
||||
* FAQ - Issues and Errors::
|
||||
|
||||
|
||||
File: use-package.info, Node: FAQ - How to …?, Next: FAQ - Issues and Errors, Up: FAQ
|
||||
File: use-package.info, Node: FAQ - How to ...?, Next: FAQ - Issues and Errors, Up: FAQ
|
||||
|
||||
A.1 FAQ - How to …?
|
||||
===================
|
||||
A.1 FAQ - How to ...?
|
||||
=====================
|
||||
|
||||
* Menu:
|
||||
|
||||
* This is a question::
|
||||
|
||||
|
||||
File: use-package.info, Node: This is a question, Up: FAQ - How to …?
|
||||
File: use-package.info, Node: This is a question, Up: FAQ - How to ...?
|
||||
|
||||
A.1.1 This is a question
|
||||
------------------------
|
||||
|
@ -949,7 +949,7 @@ A.1.1 This is a question
|
|||
This is an answer.
|
||||
|
||||
|
||||
File: use-package.info, Node: FAQ - Issues and Errors, Prev: FAQ - How to …?, Up: FAQ
|
||||
File: use-package.info, Node: FAQ - Issues and Errors, Prev: FAQ - How to ...?, Up: FAQ
|
||||
|
||||
A.2 FAQ - Issues and Errors
|
||||
===========================
|
||||
|
@ -998,42 +998,42 @@ Appendix E Variable Index
|
|||
|
||||
Tag Table:
|
||||
Node: Top784
|
||||
Node: Introduction3024
|
||||
Node: Installation3151
|
||||
Node: Installing from an Elpa Archive3503
|
||||
Node: Installing from the Git Repository4616
|
||||
Node: Post-Installation Tasks6152
|
||||
Node: Getting Started6865
|
||||
Node: Keywords7037
|
||||
Node: ‘after’8161
|
||||
Node: ‘bind-keymap’ ‘bind-keymap*’9711
|
||||
Node: ‘bind’ ‘bind*’10794
|
||||
Node: Binding to local keymaps12864
|
||||
Node: ‘commands’13967
|
||||
Node: ‘preface’ ‘init’ ‘config’14145
|
||||
Node: ‘custom’16253
|
||||
Node: ‘custom-face’16723
|
||||
Node: ‘defer’ ‘demand’17067
|
||||
Node: ‘defines’ ‘functions’17909
|
||||
Node: ‘diminish’ ‘delight’19090
|
||||
Node: ‘disabled’21063
|
||||
Node: ‘ensure’ ‘pin’21588
|
||||
Node: ‘hook’24342
|
||||
Node: ‘if’ ‘when’ ‘unless’25796
|
||||
Node: ‘load-path’26772
|
||||
Node: ‘mode’ ‘interpreter’27954
|
||||
Node: ‘magic’ ‘magic-fallback’29295
|
||||
Node: ‘no-require’30170
|
||||
Node: ‘requires’30898
|
||||
Node: FAQ31797
|
||||
Node: FAQ - How to …?32080
|
||||
Node: This is a question32250
|
||||
Node: FAQ - Issues and Errors32398
|
||||
Node: This is an issues32581
|
||||
Node: Debugging Tools32736
|
||||
Node: Command Index32910
|
||||
Node: Function Index33066
|
||||
Node: Variable Index33223
|
||||
Node: Introduction2838
|
||||
Node: Installation2965
|
||||
Node: Installing from an Elpa Archive3317
|
||||
Node: Installing from the Git Repository4432
|
||||
Node: Post-Installation Tasks5968
|
||||
Node: Getting Started6681
|
||||
Node: Keywords6853
|
||||
Node: after7791
|
||||
Node: bind-keymap bind-keymap*9323
|
||||
Node: bind bind*10376
|
||||
Node: Binding to local keymaps12416
|
||||
Node: commands13507
|
||||
Node: preface init config13649
|
||||
Node: custom15727
|
||||
Node: custom-face16167
|
||||
Node: defer demand16487
|
||||
Node: defines functions17299
|
||||
Node: diminish delight18444
|
||||
Node: disabled20387
|
||||
Node: ensure pin20882
|
||||
Node: hook23612
|
||||
Node: if when unless25030
|
||||
Node: load-path25976
|
||||
Node: mode interpreter27122
|
||||
Node: magic magic-fallback28433
|
||||
Node: no-require29278
|
||||
Node: requires29982
|
||||
Node: FAQ30869
|
||||
Node: FAQ - How to ...?31152
|
||||
Node: This is a question31324
|
||||
Node: FAQ - Issues and Errors31472
|
||||
Node: This is an issues31655
|
||||
Node: Debugging Tools31810
|
||||
Node: Command Index31984
|
||||
Node: Function Index32140
|
||||
Node: Variable Index32297
|
||||
|
||||
End Tag Table
|
||||
|
Loading…
Reference in New Issue