]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agobind-keys: bind directly to prefix-map
Noam Postavsky [Mon, 14 Apr 2014 03:55:06 +0000 (23:55 -0400)]
bind-keys: bind directly to prefix-map

instead of constructing equivalent key sequence by string concatenation.
This allows specifying vector key sequences, as in bind-key (since
f0776c2aeb3f7f0af66597e10a3e4469ca26629d).

10 years agobind-keys: ,@(when map (list map)) => map
Noam Postavsky [Mon, 14 Apr 2014 04:01:28 +0000 (00:01 -0400)]
bind-keys: ,@(when map (list map)) => map

Omitting map is same as passing nil.

10 years agofix typo
Noam Postavsky [Mon, 14 Apr 2014 03:59:36 +0000 (23:59 -0400)]
fix typo

Actually the reader accepts (list 'a'b) = (list 'a 'b); it still looks
wrong.

10 years agoMerge pull request from YoungFrog/idle-interval
John Wiegley [Mon, 17 Mar 2014 19:13:20 +0000 (14:13 -0500)]
Merge pull request from YoungFrog/idle-interval

Add new option use-package-idle-interval.
GitHub-reference: https://github.com/jwiegley/use-package/issues/99

10 years agoAdd new option use-package-idle-interval
Nicolas Richard [Sun, 16 Feb 2014 10:59:59 +0000 (11:59 +0100)]
Add new option use-package-idle-interval

* use-package.el (use-package-idle-interval): new defcustom
(use-package-start-idle-timer): use it
(use-package-idle-eval): use it
* README.md: document it

This addresses bug https://github.com/jwiegley/use-package/issues/77

10 years agoMerge pull request from ffevotte/idle-priority
John Wiegley [Mon, 17 Mar 2014 09:11:36 +0000 (04:11 -0500)]
Merge pull request from ffevotte/idle-priority

Add a :idle-priority keyword to change the running order of idle functions
GitHub-reference: https://github.com/jwiegley/use-package/issues/98

10 years ago:idle-priority keyword to change the running order of idle functions
François Févotte [Mon, 17 Mar 2014 08:56:10 +0000 (09:56 +0100)]
:idle-priority keyword to change the running order of idle functions

Lower-priority idle functions are run first. Idle functions with no
specified priority default to 5 and all functions with the same priority
are run in the order in which they are evaluated, meaning the behaviour
is backwards compatible.

Updated documentation as well.

10 years agoMerge pull request from tarsius/master
John Wiegley [Mon, 10 Mar 2014 10:04:59 +0000 (05:04 -0500)]
Merge pull request from tarsius/master

use-package-with-elapsed-timer: respect option at runtime
GitHub-reference: https://github.com/jwiegley/use-package/issues/96

10 years agouse-package-font-lock-keywords: add use-package-with-elapsed-timer
Jonas Bernoulli [Sun, 9 Mar 2014 17:59:06 +0000 (18:59 +0100)]
use-package-font-lock-keywords: add use-package-with-elapsed-timer

10 years agouse-package-with-elapsed-timer: add declare indent rule
Jonas Bernoulli [Sun, 9 Mar 2014 17:55:54 +0000 (18:55 +0100)]
use-package-with-elapsed-timer: add declare indent rule

10 years agouse-package-with-elapsed-timer: respect option at runtime
Jonas Bernoulli [Sun, 9 Mar 2014 17:50:01 +0000 (18:50 +0100)]
use-package-with-elapsed-timer: respect option at runtime

Previously the option `use-package-verbose' was consulted at macro
expansion time, and as a result customizing the option did nothing,
without also recompiling `use-package.el'.

10 years agoMerge pull request from npostavs/bind-vector
John Wiegley [Sun, 2 Mar 2014 19:51:12 +0000 (13:51 -0600)]
Merge pull request from npostavs/bind-vector

let bind-key accept vectors, add docstring
GitHub-reference: https://github.com/jwiegley/use-package/issues/92

10 years agolet bind-key accept vectors, add docstring
Noam Postavsky [Sun, 2 Mar 2014 01:16:59 +0000 (20:16 -0500)]
let bind-key accept vectors, add docstring

10 years agoMerge pull request from Fuco1/variable-col-width
John Wiegley [Tue, 18 Feb 2014 22:36:18 +0000 (16:36 -0600)]
Merge pull request from Fuco1/variable-col-width

Add variable column width
GitHub-reference: https://github.com/jwiegley/use-package/issues/90

10 years agoMerge pull request from Fuco1/special-form-desc
John Wiegley [Tue, 18 Feb 2014 22:36:01 +0000 (16:36 -0600)]
Merge pull request from Fuco1/special-form-desc

Add better descriptions for lambdas, closures, keymaps
GitHub-reference: https://github.com/jwiegley/use-package/issues/89

10 years agoAdd variable column width
Matus Goljer [Tue, 18 Feb 2014 12:52:25 +0000 (13:52 +0100)]
Add variable column width

10 years agoAdd better descriptions for lambdas, closures, keymaps
Matus Goljer [Tue, 18 Feb 2014 12:40:25 +0000 (13:40 +0100)]
Add better descriptions for lambdas, closures, keymaps

10 years agoMerge pull request from Fuco1/bind-keys
John Wiegley [Mon, 17 Feb 2014 05:04:18 +0000 (23:04 -0600)]
Merge pull request from Fuco1/bind-keys

Add `bind-keys` macro
GitHub-reference: https://github.com/jwiegley/use-package/issues/87

10 years agoAdd `bind-keys` macro
Matus Goljer [Thu, 13 Feb 2014 11:55:17 +0000 (12:55 +0100)]
Add `bind-keys` macro

10 years agoMove tests to separate file
Nicolas Richard [Wed, 12 Feb 2014 21:30:12 +0000 (22:30 +0100)]
Move tests to separate file

10 years agoAllow multiple forms after keywords
Nicolas Richard [Mon, 10 Feb 2014 17:02:59 +0000 (18:02 +0100)]
Allow multiple forms after keywords

* use-package.el (use-package-mplist-get):
(use-package-plist-get):
(use-package-mplist-keys): new functions

(plist-get-value):
(use-package): use new functions

(plist-keys): remove function

The idea is to allow a modified kind of plist where keys are all
keywords that appear in the list, and values are the intermediary
elements. If a keyword is present but it's another keyword just after it
(like (use-package :defer :config (setq foo 'bar))), its associated
value will be t. If a keyword is not present, its value associated value
will be nil. Otherwise the value will be the list of elements between
the keyword and the next keyword.

10 years agostop describe-personal-keybindings adding trailing space
Adam Spiers [Wed, 5 Feb 2014 16:19:56 +0000 (16:19 +0000)]
stop describe-personal-keybindings adding trailing space

When emacs is configured to highlight trailing whitespace,
the *Personal Keybindings* buffer looked pretty ugly.
This fixes that.

10 years agoMerge pull request from aspiers/best-practices
John Wiegley [Mon, 6 Jan 2014 20:53:52 +0000 (12:53 -0800)]
Merge pull request from aspiers/best-practices

Start addressing some of @jaalto's submitted issues.
GitHub-reference: https://github.com/jwiegley/use-package/issues/79

10 years agofix bind-key URL (fixes)
Adam Spiers [Wed, 18 Dec 2013 11:45:26 +0000 (11:45 +0000)]
fix bind-key URL (fixes)

Also makes a start on https://github.com/jwiegley/use-package/issues/32.
GitHub-reference: https://github.com/jwiegley/use-package/issues/58

10 years agoadd 'use-package-' prefix to 'with-elapsed-timer'
Adam Spiers [Wed, 18 Dec 2013 11:33:51 +0000 (11:33 +0000)]
add 'use-package-' prefix to 'with-elapsed-timer'

Fixes https://github.com/jwiegley/use-package/issues/35.

10 years agoMerge pull request from aspiers/hyperlink-all-bindings
John Wiegley [Mon, 6 Jan 2014 16:49:52 +0000 (08:49 -0800)]
Merge pull request from aspiers/hyperlink-all-bindings

hyperlink functions in Comments column
GitHub-reference: https://github.com/jwiegley/use-package/issues/76

10 years agoMerge pull request from aspiers/docs
John Wiegley [Mon, 6 Jan 2014 16:20:13 +0000 (08:20 -0800)]
Merge pull request from aspiers/docs

Synchronise docs and then remove one copy to prevent future issues.
GitHub-reference: https://github.com/jwiegley/use-package/issues/78

10 years agofix DRY violation by only having documentation in one place
Adam Spiers [Mon, 6 Jan 2014 12:38:00 +0000 (12:38 +0000)]
fix DRY violation by only having documentation in one place

The documentation in README.md was previously identical to that
in the Commentary section of use-package.el, modulo the following
differences:

  - No elisp comment ";; " prefix
  - Code blocks indented 4 columns not 2, as required by Markdown
  - Elisp symbols marked in backtick delimiters for monospace, not
    emacs backtick/forward tick pairs.

Unfortunately due to this duplication, sometimes only one of the
two files got updated, so they got out of sync.  With us all being
human, this is likely to continue to happen as long as the
duplication exists ;-)  Therefore since most users are likely to
encounter README.md before the elisp, and bearing in mind that
Markdown is a much more flexible format for documentation than
elisp comments (richer formatting, can be exported to numerous
other formats etc.), it is better to replace the docs in
use-package.el with a pointer to the README.md.

10 years agohyperlink functions in Comments column
Adam Spiers [Sat, 4 Jan 2014 12:06:41 +0000 (12:06 +0000)]
hyperlink functions in Comments column

Previously, only the functions in the Command column were hyper-linked.
Also clarify the meaning of the "was" entries in the Comments column.

10 years agoMerge pull request from aspiers/short-mode
John Wiegley [Mon, 16 Dec 2013 17:54:33 +0000 (09:54 -0800)]
Merge pull request from aspiers/short-mode

allow :mode and :interpreter to accept a string
GitHub-reference: https://github.com/jwiegley/use-package/issues/73

10 years agoallow :mode and :interpreter to accept a string
Adam Spiers [Mon, 16 Dec 2013 12:16:56 +0000 (12:16 +0000)]
allow :mode and :interpreter to accept a string

Fixes https://github.com/jwiegley/use-package/issues/72.

10 years agoMerge pull request from tarsius/defun
John Wiegley [Mon, 9 Dec 2013 23:52:08 +0000 (15:52 -0800)]
Merge pull request from tarsius/defun

use-package: use defun as lisp-indent-function
GitHub-reference: https://github.com/jwiegley/use-package/issues/69

10 years agouse-package: use defun as lisp-indent-function
Jonas Bernoulli [Mon, 9 Dec 2013 23:33:02 +0000 (00:33 +0100)]
use-package: use defun as lisp-indent-function

When `use-package' is called with only one keyword it is useful to
write:

(use-package foo :init
  (progn
    ... long lines ...))

instead of

(use-package foo
  :init (progn
     ... *too* long lines ...))

or

(use-package foo
  :init
  (progn
    ... long lines ...))

Even when there are multiple keywords or when one never wants to format
the calls to `use-package' as in the first example the use of `defun'
does not really pose a problem.

10 years agoAdd a :demand directive, to override deferred loading ()
John Wiegley [Thu, 5 Dec 2013 01:44:09 +0000 (19:44 -0600)]
Add a :demand directive, to override deferred loading ()

GitHub-reference: https://github.com/jwiegley/use-package/issues/65

10 years agofboundp is a function, not a variable
John Wiegley [Wed, 4 Dec 2013 19:31:25 +0000 (13:31 -0600)]
fboundp is a function, not a variable

Fixes https://github.com/jwiegley/use-package/issues/68

10 years agoMerge pull request from dabrahams/patch-1
John Wiegley [Wed, 4 Dec 2013 16:49:31 +0000 (08:49 -0800)]
Merge pull request from dabrahams/patch-1

Backward compatibility with emacs-22.1
GitHub-reference: https://github.com/jwiegley/use-package/issues/67

10 years agoBackward compatibility with emacs-22.1
Dave Abrahams [Mon, 2 Dec 2013 18:44:28 +0000 (10:44 -0800)]
Backward compatibility with emacs-22.1

This change supports the emacs that ships with MacOS X, the last version not encumbered by GPLv3.

10 years agoDefault use-package-verbose to nil
John Wiegley [Mon, 2 Dec 2013 10:06:27 +0000 (03:06 -0700)]
Default use-package-verbose to nil

10 years agoMerge pull request from Silex/master
John Wiegley [Tue, 5 Nov 2013 09:51:44 +0000 (01:51 -0800)]
Merge pull request from Silex/master

Remove el-get support
GitHub-reference: https://github.com/jwiegley/use-package/issues/64

10 years agoRemove el-get support
Philippe Vaucher [Tue, 5 Nov 2013 09:31:18 +0000 (10:31 +0100)]
Remove el-get support

10 years agoMerge pull request from aethanyc/add-missing-keyword
John Wiegley [Mon, 28 Oct 2013 18:28:14 +0000 (11:28 -0700)]
Merge pull request from aethanyc/add-missing-keyword

Add :pre-load to use-package-keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/62

10 years agoAdd :pre-load to use-package-keywords
Ting-Yu Lin [Fri, 25 Oct 2013 16:09:20 +0000 (00:09 +0800)]
Add :pre-load to use-package-keywords

The :pre-load keyword cannot be used unless it is in
`use-package-keywords' list.

10 years agoMerge pull request from PhilHudson/master
John Wiegley [Tue, 15 Oct 2013 17:37:27 +0000 (10:37 -0700)]
Merge pull request from PhilHudson/master

Properly enable runtime dependency for :idle stanza (issue https://github.com/jwiegley/use-package/issues/60)
GitHub-reference: https://github.com/jwiegley/use-package/issues/61

10 years agoProperly enable runtime dependency for :idle stanza (issue)
Phil Hudson [Tue, 15 Oct 2013 16:53:58 +0000 (17:53 +0100)]
Properly enable runtime dependency for :idle stanza (issue)

See issue https://github.com/jwiegley/use-package/issues/60.
GitHub-reference: https://github.com/jwiegley/use-package/issues/60

10 years agoMerge pull request from npostavs/comma
John Wiegley [Mon, 14 Oct 2013 21:52:25 +0000 (14:52 -0700)]
Merge pull request from npostavs/comma

remove extra comma (added by 026c46c)
GitHub-reference: https://github.com/jwiegley/use-package/issues/59

10 years agoremove extra comma (added by 026c46c)
Noam Postavsky [Mon, 14 Oct 2013 16:59:41 +0000 (12:59 -0400)]
remove extra comma (added by 026c46c)

10 years agoMerge pull request from npostavs/cleanup
John Wiegley [Sat, 12 Oct 2013 18:38:28 +0000 (11:38 -0700)]
Merge pull request from npostavs/cleanup

Cleanup
GitHub-reference: https://github.com/jwiegley/use-package/issues/57

10 years agolet with-elapsed-timer return last form
Noam Postavsky [Sat, 12 Oct 2013 17:58:37 +0000 (13:58 -0400)]
let with-elapsed-timer return last form

10 years agomake `with-elapsed-timer' hygienic
Noam Postavsky [Sat, 12 Oct 2013 17:52:57 +0000 (13:52 -0400)]
make `with-elapsed-timer' hygienic

10 years agowith-elapsed-timer: only check verbosity once
Noam Postavsky [Sat, 31 Aug 2013 14:30:08 +0000 (10:30 -0400)]
with-elapsed-timer: only check verbosity once

10 years agoremove after-init-hook for override-global-mode
Noam Postavsky [Wed, 14 Aug 2013 05:12:47 +0000 (01:12 -0400)]
remove after-init-hook for override-global-mode

The INIT-VALUE argument to define-minor-mode is t, so it's enabled by
default.

10 years agomacroexpand not needed
Noam Postavsky [Wed, 14 Aug 2013 04:40:20 +0000 (00:40 -0400)]
macroexpand not needed

Since lambda thunking replaced quoting in a76d167.

To see why, observe that cases 3 and 4 disassemble to identical code.
The difference between cases 1 and 2 shows why the macroexpand was
needed originally.

(defmacro test-quote (name-string)
  `(eval-after-load "foo"
     `(with-elapsed-timer ,(format "Configuring package %s" name-string)
        (message "test-quote"))))

(defmacro test-expand-quote (name-string)
  `(eval-after-load "foo"
     ,(macroexpand-all
       `(with-elapsed-timer ,(format "Configuring package %s" name-string)
          (message "test-expand-quote")))))

(defmacro test-lambda (name-string)
  `(eval-after-load "foo"
     `(,(lambda ()
          (with-elapsed-timer ,(format "Configuring package %s" name-string)
            (message "test-lambda"))))))

(defmacro test-expand-lambda (name-string)
  `(eval-after-load "foo"
     `(,(lambda ()
          ,(macroexpand-all
            `(with-elapsed-timer ,(format "Configuring package %s" name-string)
               (message "test-lambda")))))))

(disassemble (lambda () (test-quote "testing...")))
(disassemble (lambda () (test-expand-quote "testing...")))
(disassemble (lambda () (test-lambda "testing...")))
(disassemble (lambda () (test-expand-lambda "testing...")))

10 years agocl not needed since flet was removed in 82903da
Noam Postavsky [Wed, 14 Aug 2013 03:37:23 +0000 (23:37 -0400)]
cl not needed since flet was removed in 82903da

10 years agoMerge pull request from phillord/first-keyword
John Wiegley [Mon, 7 Oct 2013 21:28:30 +0000 (14:28 -0700)]
Merge pull request from phillord/first-keyword

Add a ":first" keyword for those occasions that it's necessary.
GitHub-reference: https://github.com/jwiegley/use-package/issues/42

10 years agoMerge pull request from npostavs/quasiquote
John Wiegley [Fri, 27 Sep 2013 20:21:41 +0000 (13:21 -0700)]
Merge pull request from npostavs/quasiquote

Quasiquote
GitHub-reference: https://github.com/jwiegley/use-package/issues/56

10 years agouse plist-get-value for all non-sexp args
Noam Postavsky [Thu, 26 Sep 2013 02:29:59 +0000 (22:29 -0400)]
use plist-get-value for all non-sexp args

10 years agoplist-get-value treats arg as backquoted
Noam Postavsky [Thu, 26 Sep 2013 02:24:45 +0000 (22:24 -0400)]
plist-get-value treats arg as backquoted

This allows use of variables or even arbitrary expressions to construct
use-package arguments:

(use-package some-package
  :mode ,mode-spec
  :bind (,binding
         ,@more-bindings
         ,@(cl-loop for i from ?a to ?z
                    collect `(,(string i) . nifty-function))))

10 years agoMerge pull request from dudebout/fixes-
John Wiegley [Wed, 25 Sep 2013 18:11:47 +0000 (11:11 -0700)]
Merge pull request from dudebout/fixes-

Removes `plist-get-sexp`
GitHub-reference: https://github.com/jwiegley/use-package/issues/55
GitHub-reference: https://github.com/jwiegley/use-package/issues/54

10 years agoRemoves `plist-get-sexp`
Nicolas Dudebout [Wed, 25 Sep 2013 18:02:29 +0000 (14:02 -0400)]
Removes `plist-get-sexp`

This function was not working as advertised.
Then `funcall` was evaluated too early and all the benefits of late evaluation for autoloads was lost.
Furthermore, this function was not really needed in the first place:

```
(use-package foo
  :config my-foo-function)
```

can easily be replaced by the following:

```
(use-package foo
  :config (my-foo-function))
```

11 years agoMerge pull request from dudebout/variable-and-function-support
John Wiegley [Tue, 24 Sep 2013 18:32:31 +0000 (11:32 -0700)]
Merge pull request from dudebout/variable-and-function-support

Enables using variables and functions as arguments
GitHub-reference: https://github.com/jwiegley/use-package/issues/54

11 years agoEnables using variables and functions as arguments
Nicolas Dudebout [Tue, 17 Sep 2013 13:58:57 +0000 (09:58 -0400)]
Enables using variables and functions as arguments

This change an extra level on indirection for two cases:

+ when an association or an alist is required, it is possible to pass a
variable containing an association or an alist
+ when a sexp to be evaluated is required, it is possible to pass a
function instead

11 years agoMerge pull request from npostavs/eval-after-name
John Wiegley [Tue, 17 Sep 2013 07:22:16 +0000 (00:22 -0700)]
Merge pull request from npostavs/eval-after-name

pass name (not name-string) to eval-after-load
GitHub-reference: https://github.com/jwiegley/use-package/issues/53

11 years agopass name (not name-string) to eval-after-load
Noam Postavsky [Mon, 16 Sep 2013 17:59:16 +0000 (13:59 -0400)]
pass name (not name-string) to eval-after-load

Fixes https://github.com/jwiegley/use-package/issues/52: the :config block would be triggered when loading a config
file with the same name as the package and again when loading the
package itself.

11 years agoMerge pull request from aethanyc/fix-highlight
John Wiegley [Sun, 15 Sep 2013 20:12:45 +0000 (13:12 -0700)]
Merge pull request from aethanyc/fix-highlight

Fix highlight use-package for Emacs snapshot
GitHub-reference: https://github.com/jwiegley/use-package/issues/49

11 years agoFix highlight use-package for Emacs snapshot
Ting-Yu Lin [Fri, 13 Sep 2013 13:17:09 +0000 (21:17 +0800)]
Fix highlight use-package for Emacs snapshot

The commit 57f80d4 fixed the highlight by following the regexp as for
require. However in Emacs truck, it only highlights first part of the
package name.

This change follows the regexp for require on emacs truck. See line
2327 on font-lock.el in the following patch.
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/111821

11 years agoMerge pull request from npostavs/hilite-redux
John Wiegley [Wed, 4 Sep 2013 20:27:43 +0000 (13:27 -0700)]
Merge pull request from npostavs/hilite-redux

highlight use-package before typing package name
GitHub-reference: https://github.com/jwiegley/use-package/issues/47

11 years agoMerge pull request from aethanyc/improve-output-buffer
John Wiegley [Wed, 4 Sep 2013 20:27:25 +0000 (13:27 -0700)]
Merge pull request from aethanyc/improve-output-buffer

Improve (describe-personal-keybindings) output
GitHub-reference: https://github.com/jwiegley/use-package/issues/48

11 years agoImprove (describe-personal-keybindings) output
Ting-Yu Lin [Wed, 4 Sep 2013 14:40:55 +0000 (22:40 +0800)]
Improve (describe-personal-keybindings) output

Create *Personal Keybindings* by with-output-to-temp-buffer. It
redirects standard output to the buffer and display it in help mode. So
we can get help mode keybindings such as "q" for free.

Quote the command-desc output so that it is made into a hyperlink.

11 years agohighlight use-package before typing package name
Noam Postavsky [Wed, 14 Aug 2013 03:33:18 +0000 (23:33 -0400)]
highlight use-package before typing package name

This follow the same pattern as the highlighting for provide and require
from `lisp-font-lock-keywords-2' in font-lock.el

11 years agoMerge pull request from npostavs/master
John Wiegley [Fri, 16 Aug 2013 06:07:09 +0000 (23:07 -0700)]
Merge pull request from npostavs/master

also check `byte-compile-current-file' for compile time loads, fixes issue https://github.com/jwiegley/use-package/issues/44
GitHub-reference: https://github.com/jwiegley/use-package/issues/45

11 years agoalso check `byte-compile-current-file' for compile time loads, fixes issue
Noam Postavsky [Fri, 16 Aug 2013 01:35:38 +0000 (21:35 -0400)]
also check `byte-compile-current-file' for compile time loads, fixes issue

`eval-when-compile' is really `eval-when-macroexpand' which includes
loading from source
GitHub-reference: https://github.com/jwiegley/use-package/issues/44

11 years agoChanged :first to :pre-load
Phillip Lord [Thu, 15 Aug 2013 10:54:29 +0000 (11:54 +0100)]
Changed :first to :pre-load

Updated and extended documentation.

11 years agoMerge pull request from npostavs/master
John Wiegley [Wed, 14 Aug 2013 01:54:23 +0000 (18:54 -0700)]
Merge pull request from npostavs/master

Byte compilation, fixes for https://github.com/jwiegley/use-package/issues/29 and https://github.com/jwiegley/use-package/issues/30
GitHub-reference: https://github.com/jwiegley/use-package/issues/43

11 years agouse lambda around deferred :config forms to compile them, fixes issue
Noam Postavsky [Tue, 13 Aug 2013 23:25:26 +0000 (19:25 -0400)]
use lambda around deferred :config forms to compile them, fixes issue

GitHub-reference: https://github.com/jwiegley/use-package/issues/30

11 years agouse `eval-when-compile' for loading package at compile time, fixes issue
Noam Postavsky [Tue, 13 Aug 2013 23:13:16 +0000 (19:13 -0400)]
use `eval-when-compile' for loading package at compile time, fixes issue

GitHub-reference: https://github.com/jwiegley/use-package/issues/29

11 years agoAdd a ":first" keyword for those occasions that it's necessary
Phillip Lord [Tue, 13 Aug 2013 10:40:54 +0000 (11:40 +0100)]
Add a ":first" keyword for those occasions that it's necessary

11 years agoMerge pull request from npostavs/master
John Wiegley [Mon, 12 Aug 2013 04:22:57 +0000 (21:22 -0700)]
Merge pull request from npostavs/master

refine use-package highlighting regexp
GitHub-reference: https://github.com/jwiegley/use-package/issues/41

11 years agorefine use-package highlighting regexp
Noam Postavsky [Sun, 11 Aug 2013 20:05:06 +0000 (16:05 -0400)]
refine use-package highlighting regexp

11 years agoMerge pull request from purcell/patch-2
John Wiegley [Sun, 28 Jul 2013 22:04:20 +0000 (15:04 -0700)]
Merge pull request from purcell/patch-2

Fix initial line to satisfy package.el
GitHub-reference: https://github.com/jwiegley/use-package/issues/40

11 years agoFix initial line to satisfy package.el
Steve Purcell [Sun, 28 Jul 2013 08:45:06 +0000 (09:45 +0100)]
Fix initial line to satisfy package.el

11 years agoValidate keywords. Error if any keyword is unrecognized
Phil Hudson [Fri, 14 Jun 2013 09:53:49 +0000 (10:53 +0100)]
Validate keywords. Error if any keyword is unrecognized

Conflicts:
use-package.el

11 years agoMerge pull request from phillord/ensure-doc
John Wiegley [Wed, 26 Jun 2013 17:33:46 +0000 (10:33 -0700)]
Merge pull request from phillord/ensure-doc

Ensure doc
GitHub-reference: https://github.com/jwiegley/use-package/issues/37

11 years agoAdded documentation to use-package macro
Phillip Lord [Wed, 26 Jun 2013 11:12:25 +0000 (12:12 +0100)]
Added documentation to use-package macro

11 years agoDocumentation added for :ensure keyword
Phillip Lord [Wed, 26 Jun 2013 09:28:35 +0000 (10:28 +0100)]
Documentation added for :ensure keyword

11 years agoMerge pull request from milkypostman/master
John Wiegley [Wed, 15 May 2013 21:29:20 +0000 (14:29 -0700)]
Merge pull request from milkypostman/master

package header should be the full filename + ext
GitHub-reference: https://github.com/jwiegley/use-package/issues/28

11 years agopackage header should, hold, sold be the full filename + ext
Donald Curtis [Wed, 15 May 2013 14:01:37 +0000 (09:01 -0500)]
package header should, hold, sold be the full filename + ext

this fixes a bug in using `(package-buffer-info)`

11 years agoMerge pull request from tarsius/font-lock
John Wiegley [Sat, 27 Apr 2013 22:09:55 +0000 (15:09 -0700)]
Merge pull request from tarsius/font-lock

fontify use-package form
GitHub-reference: https://github.com/jwiegley/use-package/issues/25

11 years agoMerge pull request from tarsius/master
John Wiegley [Sat, 27 Apr 2013 22:09:39 +0000 (15:09 -0700)]
Merge pull request from tarsius/master

some small cleanups
GitHub-reference: https://github.com/jwiegley/use-package/issues/24

11 years agofontify use-package form
Jonas Bernoulli [Sat, 27 Apr 2013 15:42:36 +0000 (17:42 +0200)]
fontify use-package form

11 years agoadd dots; cleanup whitespace
Jonas Bernoulli [Sat, 27 Apr 2013 15:11:16 +0000 (17:11 +0200)]
add dots; cleanup whitespace

11 years agoquiet byte-compiler; ensure package.el is loaded
Jonas Bernoulli [Sat, 27 Apr 2013 15:09:52 +0000 (17:09 +0200)]
quiet byte-compiler; ensure package.el is loaded

11 years agodon't use obsolete flet
Jonas Bernoulli [Sat, 27 Apr 2013 15:09:12 +0000 (17:09 +0200)]
don't use obsolete flet

Unfortunately there isn't a proper dynamically scoped
replacement, so we have to resort to using funcall.

11 years agoenforce use of spaces for indentation
Jonas Bernoulli [Sat, 27 Apr 2013 15:04:47 +0000 (17:04 +0200)]
enforce use of spaces for indentation

11 years agoMerge pull request from purcell/patch-1
John Wiegley [Tue, 23 Apr 2013 16:06:47 +0000 (09:06 -0700)]
Merge pull request from purcell/patch-1

Add Package-Requires header for ELPA installations
GitHub-reference: https://github.com/jwiegley/use-package/issues/22

11 years agoAdd Package-Requires header for ELPA installations
Steve Purcell [Tue, 23 Apr 2013 09:25:10 +0000 (11:25 +0200)]
Add Package-Requires header for ELPA installations

11 years agoMerge pull request from npostavs/easy-diminish
John Wiegley [Tue, 16 Apr 2013 22:28:37 +0000 (15:28 -0700)]
Merge pull request from npostavs/easy-diminish

needed extra layer of nesting for diminish calls
GitHub-reference: https://github.com/jwiegley/use-package/issues/21

11 years agoneeded extra layer of nesting for diminish calls
Noam Postavsky [Tue, 16 Apr 2013 15:29:32 +0000 (11:29 -0400)]
needed extra layer of nesting for diminish calls

11 years agoMerge pull request from npostavs/easy-diminish
John Wiegley [Sun, 14 Apr 2013 21:03:46 +0000 (14:03 -0700)]
Merge pull request from npostavs/easy-diminish

let :diminish "string" guess correct mode symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/20

11 years agoMerge pull request from npostavs/bind-override
John Wiegley [Sun, 14 Apr 2013 20:45:23 +0000 (13:45 -0700)]
Merge pull request from npostavs/bind-override

let bind-key* override minor modes with emulation-mode-map-alists
GitHub-reference: https://github.com/jwiegley/use-package/issues/19

11 years agolet :diminish "string" guess correct mode symbol
Noam Postavsky [Sun, 14 Apr 2013 19:01:37 +0000 (15:01 -0400)]
let :diminish "string" guess correct mode symbol