]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years agouse-package-expand: use display-warning
Noam Postavsky [Sat, 14 Mar 2015 15:33:12 +0000 (11:33 -0400)]
use-package-expand: use display-warning

instead of with-demoted-errors. This prevents errors from getting lost
in the *Messages* buffer.

9 years agoBegin refactoring for 2.0; NOTE: BREAKING CHANGES
John Wiegley [Sat, 14 Mar 2015 10:22:43 +0000 (05:22 -0500)]
Begin refactoring for 2.0; NOTE: BREAKING CHANGES

The major change is that :init is now always performed before loading a
file, whether loading is deferred or not.  This is a change from before,
where the semantics of :init varied between demand and defer.  The new
usage is now entirely consistent.

Also, because :init and :config now mean "before" and "after", the
:pre-* and :post-* keywords are gone, as they should no longer be
necessary.

Lastly, an effort has been made to make your Emacs start even in the
presence of use-package configuration failures.  So after this change,
be sure to check your *Messages* buffer.  Most likely, you will have
several instances where you are using :init, but should be using :config
(this was the case for me in a number of places).

9 years agoMany stylistics cleanups and simplifications
John Wiegley [Fri, 13 Mar 2015 09:47:07 +0000 (04:47 -0500)]
Many stylistics cleanups and simplifications

9 years agoRevert "Don't add autoload for existing commands"
John Wiegley [Fri, 13 Mar 2015 08:26:09 +0000 (03:26 -0500)]
Revert "Don't add autoload for existing commands"

This reverts commit a2b23f8326d06690c8092ecc5e83ba2e4dd3c336.

9 years agoStylistic changes
John Wiegley [Fri, 13 Mar 2015 08:25:32 +0000 (03:25 -0500)]
Stylistic changes

9 years agoMinor style edits
John Wiegley [Fri, 13 Mar 2015 08:13:31 +0000 (03:13 -0500)]
Minor style edits

9 years agoMinor changes
John Wiegley [Fri, 13 Mar 2015 08:02:47 +0000 (03:02 -0500)]
Minor changes

9 years agoShow more informative errors when they occur
John Wiegley [Fri, 13 Mar 2015 07:58:37 +0000 (02:58 -0500)]
Show more informative errors when they occur

9 years agoMerge pull request from tarsius/master
John Wiegley [Sun, 18 Jan 2015 15:22:03 +0000 (09:22 -0600)]
Merge pull request from tarsius/master

Allow using expanded macro without loading feature
GitHub-reference: https://github.com/jwiegley/use-package/issues/151

9 years agoAllow using expanded macro without loading feature
Jonas Bernoulli [Sun, 18 Jan 2015 10:41:13 +0000 (11:41 +0100)]
Allow using expanded macro without loading feature

In the macro `use-package-with-elapased-timer' use `bound-and-true-p'
go get the values of the customizable options `use-package-verbose'
and `use-package-minimum-reported-time'.  This way the library only
has to be required at compile time, provided these options are not
actually customized.  If the user has changed the values, then she
also has to load the library at runtime or the macros fall back to
the default of doing their job silently.  See https://github.com/jwiegley/use-package/issues/149.

9 years agoMerge pull request from killdash9/keymap
John Wiegley [Sun, 4 Jan 2015 06:23:22 +0000 (00:23 -0600)]
Merge pull request from killdash9/keymap

Passing t into keymap function
GitHub-reference: https://github.com/jwiegley/use-package/issues/145

9 years agoPassing t into keymap function
Russell Black [Sat, 3 Jan 2015 20:53:38 +0000 (13:53 -0700)]
Passing t into keymap function

9 years agoMerge pull request from killdash9/keymap
John Wiegley [Sat, 3 Jan 2015 02:09:31 +0000 (20:09 -0600)]
Merge pull request from killdash9/keymap

:bind-keymap - bind a key prefix to an autoloaded package keymap
GitHub-reference: https://github.com/jwiegley/use-package/issues/142

9 years agoMerge pull request from thiagowfx/patch-1
John Wiegley [Fri, 2 Jan 2015 23:32:19 +0000 (17:32 -0600)]
Merge pull request from thiagowfx/patch-1

fix small typo (key > keymap)
GitHub-reference: https://github.com/jwiegley/use-package/issues/144

9 years agofix small typo (key > keymap)
Thiago Barroso Perrotta [Fri, 2 Jan 2015 15:58:49 +0000 (13:58 -0200)]
fix small typo (key > keymap)

9 years ago:bind-keymap - bind a key prefix to an autoloaded package keymap
Russell Black [Thu, 1 Jan 2015 00:02:25 +0000 (17:02 -0700)]
:bind-keymap - bind a key prefix to an autoloaded package keymap

9 years agoMerge pull request from vermiculus/master
John Wiegley [Sun, 21 Dec 2014 00:45:21 +0000 (18:45 -0600)]
Merge pull request from vermiculus/master

Do not quote lambda expressions
GitHub-reference: https://github.com/jwiegley/use-package/issues/140

9 years agoDo not quote lambda expressions
Sean Allred [Sat, 20 Dec 2014 04:12:47 +0000 (23:12 -0500)]
Do not quote lambda expressions

http://emacs.stackexchange.com/a/3596

Quoting lambda expressions is at best redundant and at worst
detrimental; this commit removes all use of the sharp-quote to reduce
confusion.

9 years agoMerge pull request from YoungFrog/fixautoloads
John Wiegley [Wed, 17 Dec 2014 21:53:42 +0000 (15:53 -0600)]
Merge pull request from YoungFrog/fixautoloads

Don't add autoload for existing commands
GitHub-reference: https://github.com/jwiegley/use-package/issues/138

9 years agoMerge pull request from peterhoeg/master
John Wiegley [Wed, 17 Dec 2014 20:52:39 +0000 (14:52 -0600)]
Merge pull request from peterhoeg/master

Check if an archive is valid when pinning
GitHub-reference: https://github.com/jwiegley/use-package/issues/137

9 years agoCheck if package-archives are valid when pinning
Peter Hoeg [Wed, 17 Dec 2014 20:34:49 +0000 (04:34 +0800)]
Check if package-archives are valid when pinning

9 years agoDon't add autoload for existing commands
Nicolas Richard [Thu, 11 Dec 2014 07:42:53 +0000 (08:42 +0100)]
Don't add autoload for existing commands

9 years agopure cleanup
Peter Hoeg [Tue, 16 Dec 2014 21:45:53 +0000 (05:45 +0800)]
pure cleanup

9 years agoMerge pull request from peterhoeg/master
John Wiegley [Tue, 16 Dec 2014 19:29:02 +0000 (13:29 -0600)]
Merge pull request from peterhoeg/master

Support for pinning package to archive
GitHub-reference: https://github.com/jwiegley/use-package/issues/136

9 years agosupport for pinning package to archive
Peter Hoeg [Thu, 11 Dec 2014 06:44:27 +0000 (14:44 +0800)]
support for pinning package to archive

10 years agoMerge pull request from Silex/master
John Wiegley [Thu, 18 Sep 2014 20:33:08 +0000 (21:33 +0100)]
Merge pull request from Silex/master

Fix "compiling" typo
GitHub-reference: https://github.com/jwiegley/use-package/issues/125

10 years agoMerge pull request from waymondo/master
John Wiegley [Thu, 18 Sep 2014 20:32:55 +0000 (21:32 +0100)]
Merge pull request from waymondo/master

Add :bind* keyword for `bind-key*`
GitHub-reference: https://github.com/jwiegley/use-package/issues/126

10 years agoadd :bind* keyword for `bind-key*`
Justin Talbott [Tue, 16 Sep 2014 20:38:58 +0000 (16:38 -0400)]
add :bind* keyword for `bind-key*`

10 years agoFix "compiling" typo
Philippe Vaucher [Tue, 16 Sep 2014 16:34:42 +0000 (18:34 +0200)]
Fix "compiling" typo

10 years agoMerge pull request from thomasf/master
John Wiegley [Sun, 14 Sep 2014 13:26:57 +0000 (14:26 +0100)]
Merge pull request from thomasf/master

Display which package that has compile errors
GitHub-reference: https://github.com/jwiegley/use-package/issues/124

10 years agoDisplay which package that has compile errors
Thomas Frössman [Sun, 14 Sep 2014 10:57:44 +0000 (12:57 +0200)]
Display which package that has compile errors

10 years agoMerge pull request from tarsius/master
John Wiegley [Mon, 8 Sep 2014 15:06:16 +0000 (16:06 +0100)]
Merge pull request from tarsius/master

assume the declare-function macro exists
GitHub-reference: https://github.com/jwiegley/use-package/issues/123

10 years agoassume the declare-function macro exists
Jonas Bernoulli [Sun, 7 Sep 2014 12:43:56 +0000 (14:43 +0200)]
assume the declare-function macro exists

Since `declare-function' was added in Emacs 23.1 (five years ago), we
don't need to assert that it is defined.  If the assertion was without
any problems there would be no harm in keeping it, but unfortunately it
causes a compile warning.  Because `declare-function' is a macro with
always expands to `nil' the value of (fboundp 'declare-function) ends
up being unused.

10 years agoMerge pull request from BernardHurley/master
John Wiegley [Fri, 20 Jun 2014 20:43:18 +0000 (13:43 -0700)]
Merge pull request from BernardHurley/master

bind-keys macro changed to allow prefix map to have a menu string.
GitHub-reference: https://github.com/jwiegley/use-package/issues/112

10 years agobind-keys macro changed to allow prefix map to have a menu string
Bernard Hurley [Fri, 20 Jun 2014 04:45:51 +0000 (05:45 +0100)]
bind-keys macro changed to allow prefix map to have a menu string

10 years agoMerge pull request from npostavs/desc-vector
John Wiegley [Sat, 31 May 2014 19:42:14 +0000 (14:42 -0500)]
Merge pull request from npostavs/desc-vector

Avoid putting vector key sequences in personal-keybindings
GitHub-reference: https://github.com/jwiegley/use-package/issues/110

10 years agobind-key: cleanup
Noam Postavsky [Sat, 31 May 2014 19:21:44 +0000 (15:21 -0400)]
bind-key: cleanup

10 years agobind-key: no vector keys in personal-keybindings
Noam Postavsky [Sat, 31 May 2014 18:58:07 +0000 (14:58 -0400)]
bind-key: no vector keys in personal-keybindings

describe-personal-keybindings requires the key sequences to be stored as
strings.

10 years agopersonal-keybindings: add docstring
Noam Postavsky [Sat, 31 May 2014 19:03:17 +0000 (15:03 -0400)]
personal-keybindings: add docstring

fix typo in bind-key docstring

10 years agoMerge pull request from alezost/bind-keys
John Wiegley [Sun, 25 May 2014 17:09:09 +0000 (12:09 -0500)]
Merge pull request from alezost/bind-keys

Add bind-keys*
GitHub-reference: https://github.com/jwiegley/use-package/issues/107

10 years agoAdd bind-keys* macro
Alex Kost [Sun, 25 May 2014 09:04:00 +0000 (13:04 +0400)]
Add bind-keys* macro

10 years agoMerge pull request from thomasf/master
John Wiegley [Sat, 17 May 2014 11:45:36 +0000 (06:45 -0500)]
Merge pull request from thomasf/master

Don't abort compiling package loading fails
GitHub-reference: https://github.com/jwiegley/use-package/issues/106

10 years agoDon't abort compiling if package loading fails
Thomas Frössman [Sat, 17 May 2014 08:28:41 +0000 (10:28 +0200)]
Don't abort compiling if package loading fails

10 years agoRevert "Merge pull request from alexko/master"
John Wiegley [Thu, 8 May 2014 18:25:39 +0000 (13:25 -0500)]
Revert "Merge pull request from alexko/master"

This reverts commit 8c04377608bd9b27d6fc6c37990984185563a907, reversing
changes made to a9ba368fa79e4c15b624de73e30c87c98475d466.
GitHub-reference: https://github.com/jwiegley/use-package/issues/104

10 years agoMerge pull request from alexko/master
John Wiegley [Wed, 7 May 2014 17:24:10 +0000 (12:24 -0500)]
Merge pull request from alexko/master

if package can't be located, treat it the same way as disabled
GitHub-reference: https://github.com/jwiegley/use-package/issues/104

10 years agoMerge pull request from YoungFrog/fix-mult-mode
John Wiegley [Wed, 7 May 2014 07:42:27 +0000 (02:42 -0500)]
Merge pull request from YoungFrog/fix-mult-mode

Eval backquote earlier and support non-`progn' lists.
GitHub-reference: https://github.com/jwiegley/use-package/issues/95

10 years agoif package can't be located, treat it the same way as disabled
Alex Kosorukoff [Wed, 7 May 2014 02:29:48 +0000 (19:29 -0700)]
if package can't be located, treat it the same way as disabled

There will be a message "Unable to locate <package-name>" in the log.

10 years agoEval backquote earlier and support non-`progn' lists
Nicolas Richard [Thu, 6 Mar 2014 09:46:33 +0000 (10:46 +0100)]
Eval backquote earlier and support non-`progn' lists

* use-package.el (use-package-plist-get): add optional args: `eval-backquote'
  and `no-progn' to control how arguments are retrieved.
  (use-package-plist-get-value): remove this function
  (use-package): replace calls to old function to modified function.

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

Rationale :
- use-package-plist-get-value was just another layer for no good reason,
  and IMO its name was totally unclear.
- we now eval-as-backquote earlier, allowing constructs like:
(let ((my-list-of-commands-in-foo '(foo1 foo2)))
  (use-package foo :commands ,@my-list-of-commands-in-foo))

10 years agoMerge pull request from YoungFrog/keynameeval
John Wiegley [Tue, 15 Apr 2014 00:44:04 +0000 (19:44 -0500)]
Merge pull request from YoungFrog/keynameeval

* bind-key.el (bind-key): don't eval key-name at macro expansion time.
GitHub-reference: https://github.com/jwiegley/use-package/issues/102

10 years ago* bind-key.el (bind-key): don't eval key-name at macro expansion time
Nicolas Richard [Mon, 14 Apr 2014 17:56:54 +0000 (19:56 +0200)]
* bind-key.el (bind-key): don't eval key-name at macro expansion time

10 years agoMerge pull request from npostavs/bind-vectors
John Wiegley [Mon, 14 Apr 2014 13:35:39 +0000 (08:35 -0500)]
Merge pull request from npostavs/bind-vectors

bind-keys: bind directly to prefix-map
GitHub-reference: https://github.com/jwiegley/use-package/issues/101

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

11 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

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

11 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

11 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.

11 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

11 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

11 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

11 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)

11 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

11 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

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