1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

1372 Commits

Author SHA1 Message Date
Eli Zaretskii
e78318ad2e Merge from origin/emacs-29
aa5158630e Use 'font-lock-extend-region-functions' in python-mode
b7b82ecb2b Fix python-info-docstring-p
f42de74ebe ; * src/lread.c (read0, skip_lazy_string): Fix commentary...
b6b384023a Fix cancellation of Wdired
916c2a19bd Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/...
f535c0e49d Handle #@00 in new reader in a compatible way (bug#63722)
40a758f5ce ; Minor fixes in documentation of recently-changed VC com...
c0d7447e9d ; * etc/NEWS: Describe the Cairo XCB option.  (Bug#63589)
4205268675 Don't mark selection request events
9f5249d5c8 Disable cairo-xcb support by default
e5f42706ce * lisp/progmodes/project.el: Move :safe from defcustom to...
3afe4a42e9 * lisp/vc/vc-annotate.el (vc-annotate-mode-menu): Quote v...
b62a2b08b8 Add vc-create/switch/print-branch to menu and update docu...
d292d28229 Fix rare crashes in 'try_window_reusing_current_matrix'
709d902002 Make last Tramp change less invasive
a72a1f24fc ; Fix last change.
5c6517a115 ; * lisp/menu-bar.el (popup-menu): Doc fix.
212884f2bf ; Fix last change.
1b9812af80 ; * etc/PROBLEMS: Document problem with GnuPG 2.4.1.  (Bu...
765edc204d ; Support SQLite3 extensions on macOS
5aadb87d6f Fix 'use-dialog-box-p' and friends

# Conflicts:
#	etc/NEWS
2023-05-26 07:04:03 -04:00
Po Lu
9f5249d5c8 Disable cairo-xcb support by default
* INSTALL (--with-cairo-xcb): Document new option.
* configure.ac (USE_CAIRO_XCB): Implement new option.
2023-05-26 08:41:31 +08:00
Paul Eggert
9eef5a678c Do not use -Wanalyzer-fd-leak
* configure.ac: Append -Wno-analyzer-fd-leak to WARN_CFLAGS when
configuring with --enable-gcc-warnings, to work around
GCC bug 109847.
2023-05-14 19:28:11 -07:00
Paul Eggert
8c0671b9cb Avoid duplicate configure-time codeset tests
* admin/merge-gnulib: Copy m4/codeset.m4 too.  This is mostly for
documentation, as it’s now automatically copied by other modules.
* configure.ac (EMACS_PAPER_WIDTH): New macro.  This relies on
Gnulib, to avoid duplicate tests for HAVE_LANGINFO_CODESET.
2023-05-14 19:28:09 -07:00
Eli Zaretskii
c90d47619e Bump Emacs version for next pretest
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.0.91.
2023-05-14 07:32:21 -04:00
Po Lu
e6004ed30c Improve portability of pkg-config tests.
* configure.ac: Fix problems found after pkg-config was
installed on Solaris 10.
2023-04-25 20:41:05 +08:00
Your Name
b8f94eb0f1 Fix configure.ac for some Bourne shells
This fixes running configure under /bin/sh on Solaris 10, and
some other Unix systems.

* configure.ac: Avoid POSIX style command substitutions.
(emacs_major_version): Avoid POSIX style pattern substitution.
(PORT_PACKAGE, MAC_FLAGS, MAC_LIBS): Avoid POSIX style command
substitutions.
2023-04-25 20:28:38 +08:00
Eli Zaretskii
7191318b71 Merge from origin/emacs-29
864a4dc236 Fix compilation of w32.c with old MinGW system headers
a22eb9ae0f ruby-add-log-current-method: Reduce the use of 'nreverse'
17d803d0a7 Fix detection of WebP images by their signature
43290391ce ; Eglot: make version parseable by version-to-list
6e6e8b5c97 Add more documentation for the keys of `package-vc-select...
7972b76c2c ; vc-checkout: Wrap var lookup in 'bound-and-true-p'
e9fef1d70f vc-checkout: Try to use the vc-dir's backend first
372e024acc ; Fix wallpaper-tests on XFCE
7055fd8e43 Improve documentation related to 'ispell-complete-word'
61fd017abd * configure.ac: Add -lbsd on Haiku.
05971c4d9a Add menu to 'c-ts-mode' and 'c++-ts-mode'

# Conflicts:
#	lisp/progmodes/eglot.el
#	lisp/progmodes/ruby-mode.el
2023-04-15 13:02:04 -04:00
Po Lu
61fd017abd * configure.ac: Add -lbsd on Haiku. 2023-04-11 20:08:12 +08:00
Eli Zaretskii
4bc678ec9f Bump Emacs version to 29.0.90
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump version to 29.0.90.
2023-04-10 01:15:30 -04:00
Stefan Monnier
47bce04e87 Merge from origin/emacs-29
0337131bfa Update to Transient v0.3.7-218-g3dbb22a
a8c23677d3 Update to Org 9.6.2
45b16bfb49 Skip failing tests on Cygwin with native compilation (bug...
8b4a494d8d Fix GNUSTEP tests on EMBA

# Conflicts:
#	test/infra/gitlab-ci.yml
2023-03-27 17:16:59 -04:00
Ken Brown
b4a3be783a Implement list-system-processes on Cygwin
* configure.ac (HAVE_PROCFS): Define to 1 on Cygwin.  (Bug#62462)
2023-03-26 10:27:26 -04:00
Michael Albinus
8b4a494d8d Fix GNUSTEP tests on EMBA
* configure.ac (LIBS_GNUSTEP): Adapt CPPFLAGS and CFLAGS.  (Bug#62210)
Proposed by Po Lu <luangruo@yahoo.com>.

* test/infra/gitlab-ci.yml (build-image-gnustep)
(test-gnustep): Uncomment jobs.
2023-03-26 14:20:05 +02:00
Stefan Kangas
c194a31fc4 Merge from origin/emacs-29
028f110273 Fix quoting of font-family in 'hfy-family'
4cb8a850b0 ; Tweak doc/misc/eglot.texi
d5d4959ed7 Document how to construct JSONRPC arrays in Eglot manual
078cf512ee * test/infra/Dockerfile.emba: Use debian:bullseye.
61adb44318 * configure.ac: Fix native comp compatibility check (bug#...
d814c249f4 * test/infra/Dockerfile.emba: Install clangd.
27edd7f88c Remove 'package-vc--query-spec'
39fea11551 Do not store :lisp-dir in package descriptors
168165178f Use 'package-vc-selected-packages' to store package specs
2023-03-20 06:30:30 +01:00
Andrea Corallo
61adb44318 * configure.ac: Fix native comp compatibility check (bug#61960) 2023-03-15 16:20:37 +01:00
Stefan Kangas
5056b8e589 Merge from origin/emacs-29
7e1012765c Fix libwebp check for some webp installations
c2ca009da4 Avoid potential infloop
34c14430e9 Don't misindent 'else:' after 'if re.match:' in Python
8a2a554192 * Make sure `default-directory' exists before spawning pr...
1862e7eb7e Fix sed expression in install-etc make target
c8ec0017cb Avoid using bash in the emacsclient desktop file
a588937094 Fix documentation of the 'line-height' text property
971ded31c4 Add 'declare' specs to with- and without-restriction
2023-03-09 06:30:23 +01:00
Po Lu
7e1012765c Fix libwebp check for some webp installations
* configure.ac: Look for WebPGetInfo; if it is not there, look
for libwebpdecoder as well.  (bug#61988)
2023-03-09 08:53:24 +08:00
Eli Zaretskii
8a8a994cfa Revert "Fix configuration of webp libraries"
This reverts commit de4277af00.
It breaks WebP support at least on my system.
There's no reason to require libwebpdecoder library to be
installed, since we don't use the functions from it, at least
not in libwebp 1.2.1.
2023-03-06 17:31:57 +02:00
Po Lu
de4277af00 Fix configuration of webp libraries
* configure.ac: Link with libwebpdecoder along with
libwebpdemux.  (bug#61988)
2023-03-06 21:42:29 +08:00
Po Lu
c94011ed56 ; * configure.ac (EMACS_CONFIG_FEATURES): Improve configure message. 2023-02-22 10:51:27 +08:00
Robert Pluim
098add06eb Say whether we're using X11 double buffering
* configure.ac (EMACS_CONFIG_FEATURES): Output value of HAVE_XDBE.
2023-02-21 18:26:01 +01:00
Stefan Kangas
bf60b3bfe7 Merge from origin/emacs-29
eb2b0931cf Add lambda_expression to c-ts-common-indent-type-regexp-a...
2da05876ed ; Use the right name when specifying VC packages
d4fc701297 Tolerate missing elpa-packages.eld files
8bc1b7d0b2 Avoid warning about 'load-path' in non-interactive sessions
3d17aee13d ; Fix installation of dependencies for VC packages
86ca7df6a3 ; Mention Hunspell private-dictionary misfeature in doc s...
7287b7b53a Support webkit2gtk-4.1
048a2dabfc ; Fix typo
2023-02-13 06:30:12 +01:00
Po Lu
ae4ff4f25f Support input method ``text conversion'' on X Windows
* configure.ac (HAVE_TEXT_CONVERSION): Define on X.
* etc/NEWS: Announce new change.
* src/emacs.c (main): Always call init_xterm.
* src/frame.c (do_switch_frame): Use `fset_selected_window'.
* src/insdel.c (struct safe_del_range_context): New structure.
(safe_del_range_1, safe_del_range_2, safe_del_range): New
functions.
* src/lisp.h: Export new functions.
* src/window.c (run_window_change_functions): Report selected
window and buffer changes so that the input method can be reset.
* src/xfns.c (XICCallback, Xxic_preedit_caret_callback)
(Xxic_preedit_done_callback, Xxic_preedit_start_callback)
(Xxic_preedit_draw_callback): Fix coding style.
(Xxic_string_conversion_callback): New callback.
(create_frame_xic): Register string conversion callback.
(struct x_xim_text_conversion_data): New field `size'.
(x_encode_xim_text_1, x_encode_xim_text): New functions.
(xic_string_conversion_callback): New function.
* src/xterm.c (x_reset_conversion): New function.
(text_conversion_interface): New variable.
(init_xterm): Initialize text conversion interface.
2023-02-12 19:56:36 +08:00
Ulrich Müller
7287b7b53a Support webkit2gtk-4.1
* configure.ac: Check for webkit2gtk API version 4.1 first, then
fall back to 4.0.
2023-02-12 10:20:04 +01:00
Paul Eggert
167bf3408e Pacify clang 15.0.6 on Fedora 37
* configure.ac: Suppress clang -Wbitwise-instead-of-logical,
as there’s nothing wrong with using & and | on bool.
* src/coding.c: Suppress -Wunused-but-set-variable in this file,
as it’s too much trouble to recode to pacify clang.
2023-01-19 19:07:33 -08:00
Paul Eggert
9912049173 Update from Gnulib by running admin/merge-gnulib
This adds a new file m4/xattr.m4 from Gnulib,
for NFS v4 attribute copying.
Also, do these changes by hand:
* configure.ac: Mention $LIB_XATTR" in ACL summary.
* src/Makefile.in (QCOPY_ACL_LIB): New macro.
(LIBES): Use it.
2023-01-13 20:03:54 -08:00
Paul Eggert
5d1e14bd8b Adjust to recent Gnulib macro renaming
Also, remove some references to unused Gnulib macros.
2023-01-07 15:32:56 -08:00
Eli Zaretskii
3c55fbd4ad Merge from origin/emacs-29
cae528457c ; Add 2023 to copyright years.
b394359261 Improve documentation of 'isearch-open-overlay-temporary'
ab3210e709 Document 'use-package' in the 2 main manuals

# Conflicts:
#	etc/refcards/ru-refcard.tex
#	lib/explicit_bzero.c
#	m4/explicit_bzero.m4
2023-01-01 05:47:47 -05:00
Eli Zaretskii
cae528457c ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
Stefan Kangas
48db8b68a8 Merge from origin/emacs-29
c36fe3df17 Fix c-ts-mode imenu defun name (bug#60296)
a24e350170 Fix treesit--children-covering-range-recurse (bug#60301)
fbb4eb919b Support treesit-defun-name in tree-sitter major modes
6253184afc ; * lisp/treesit.el (treesit-defun-at-point): Guard again...
f8e219ebfa Add treesit-defun-name and friends
35c2ca2ca6 Make treesit-node-at/on guess language at point
7f7def2ae6 ; Add treesit-no-parser error
b6a2e1ddf6 * nt/INSTALL.W64: update instructions for setting up W64 ...
265b91d891 Revert "; Bump minimum supported Windows version for MinG...
75155e4586 ; Bump minimum supported Windows version for MinGW64 to W...
677f6c79eb ; Update minimum requirements of MinGW-w64
7723af5e4a ; * lisp/progmodes/c-ts-mode.el: quote literal string in ...
38866510c7 ; * src/xdisp.c (redisplay_internal): Reinstate the FRAME...
a825aa0b13 Fix definition of CNS 11643-15 charset
a42b20dd95 ; * lisp/progmodes/c-ts-mode.el: Add outline section head...
e4e3634539 Improve c-ts-mode block comment indent (bug#60270)
e30621caa2 ; Add treesit_recursion_limit
6a43af5880 Fix block comment indent and filling for c-ts-mode (bug#5...
e492c21e81 Fix treesit_cursor_helper (bug#60267)
4437dbedf7 Fix restart-emacs alarms (Bug#60220)
121a9ff9f6 Fix alternate stack test in configure
84888080ee Add more functions to "string" shortdoc
c90f97d4e5 Make the Contour terminal an alias of xterm-256color
c3fac9465f ; Fix punctuation in last change.
756bb422a4 Correct wrong info in (info)Go to node
a8c3424d28 Fix typo in TUTORIAL.fr (bug#60261)
24cd2f0daf Add some diff-fixup-modifs tests
d32091199a Fix quoted argument in emacsclient-mail.desktop Exec key
286c48137f ert-x: Move window selection logic to its own macro
823c49cea8 ; ert-x: Simplify `ert-with-test-buffer-selected'
38c6abe4d0 ; ert-x: Add test for buffer read-only state
0e39ad6fa5 Fix crash after X error
2022-12-25 06:30:21 +01:00
Florian Weimer
6c1413d5ef configure: Remove obsolete check for -b i486-linuxaout
If there are still a.out system arounds, they shouldn't need this
anymore because the toolchain has been fixed.

* configure.ac (emacs_cv_b_link): Remove obsolete check.
2022-12-24 10:08:45 +02:00
Florian Weimer
121a9ff9f6 Fix alternate stack test in configure
* configure.ac (emacs_cv_alternate_stack): Include <stdlib.h>
for 'malloc's prototype.
2022-12-24 10:03:23 +02:00
Stefan Kangas
08bb91c7df Merge from origin/emacs-29
e59216d3be * Invoke spawed Emacs processes with '-Q' when native com...
777b383dd0 Fix Eshell electric slash when used from the root directo...
c088cdad9e Fix the --without-all build with tree-sitter
ec9fbad908 Fix write-region to null device on MS-Windows
f35da11199 message: Do not default to eudc-capf-complete yet
98c16a8c88 ; * lisp/tab-bar.el: Remaining renaming of "fixed-width" ...
d76d7a3beb whitespace: Avoid mutating original buffer's markers in c...
2022-12-22 06:30:09 +01:00
Eli Zaretskii
c088cdad9e Fix the --without-all build with tree-sitter
* configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes, since
tree-sitter support requires dynlib.o.  (Bug#60061)
2022-12-21 21:53:03 +02:00
Vibhav Pant
cb242bf151
Add support for additional memory checks using AddressSanitizer.
When Emacs is compiled with AddressSanitizer support, enable
poisoning/unpoisoning freed/unused Lisp objects and other internal
memory management structures. If enabled, this will mark freed bytes
that have been put on free lists for future use and initially
allocated memory blocks/chunks as "poisoned", triggering an ASan error
if they are accessed improperly. Structures are unpoisoned when they
have been taken off their respective free lists. Additionally, add
optional macros for performing unaligned loads, which when enabled by
defining USE_SANITIZER_UNALIGNED_LOAD will use ASan provided functions
for loading from unaligned addresses, which may help catch bugs that
AddressSanitizer might otherwise miss.

* configure.ac: Check for the existence of address and common
sanitizer API headers.

* src/lisp.h (UNALIGNED_LOAD_SIZE): New macro. If enabled, and the
necessary sanitizer API is available, define it to
__sanitizer_unaligned_load(64|32) depending on the word size of the
architecture.

* src/fns.c [HAVE_FAST_UNALIGNED_ACCESS] (Fstring_lessp): Use
'UNALIGNED_LOAD_SIZE' to perform unaligned loads from the two strings.

* src/alloc.c (ASAN_POISON_ABLOCK, ASAN_UNPOISON_ABLOCK)
(ASAN_POISON_INTERVAL_BLOCK, ASAN_UNPOISON_INTERVAL_BLOCK)
(ASAN_POISON_INTERVAL, ASAN_UNPOISON_INTERVAL)
(ASAN_PREPARE_DEAD_SDATA, ASAN_PREPARE_LIVE_SDATA)
(ASAN_POISON_SBLOCK_DATA, ASAN_POISON_STRING_BLOCK)
(ASAN_UNPOISON_STRING_BLOCK, ASAN_POISON_STRING)
(ASAN_UNPOISON_STRING, ASAN_POISON_FLOAT_BLOCK)
(ASAN_UNPOISON_FLOAT_BLOCK, ASAN_POISON_FLOAT)
(ASAN_UNPOISON_FLOAT, ASAN_POISON_CONS_BLOCK)
(ASAN_POISON_CONS, ASAN_UNPOISON_CONS)
(ASAN_POISON_VECTOR_CONTENTS, ASAN_UNPOISON_VECTOR_CONTENTS)
(ASAN_UNPOISON_VECTOR_BLOCK, ASAN_POISON_SYMBOL_BLOCK)
(ASAN_UNPOISON_SYMBOL_BLOCK, ASAN_POISON_SYMBOL)
(ASAN_UNPOISON_SYMBOL) [ADDRESS_SANITIZER]: New macros. When
address sanitization is enabled, define them to poison/unpoison
objects.

(lisp_align_malloc): Poison newly allocated blocks on `free_ablock',
unpoison ablocks taken from it respectively.
(lisp_align_free): Poison individual ablocks when they are put on the
free list, unpoison them when an entire `ablocks' chunk is being
freed.

(make_interval): Poison interval blocks on initial allocation,
unpoison individual intervals on allocation and removal from
`interval_free_list'.
(sweep_intervals): Unpoison interval blocks before sweeping, poison
dead/unmarked intervals.

(allocate_string): Poison string blocks on initial allocation,
unpoison Lisp_Strings on removal from the free list.
(allocate_string_data): Poison `sblock' data on initial allocation,
unpoison individual `sdata' contents on allocation or removal from the
free list. Call `ASAN_PREPARE_LIVE_SDATA' on the new `sdata' struct.
(sweep_strings): Unpoison string blocks before sweeping them,
poisoning dead strings and their sdata afterwards.
(compact_small_strings): Call `ASAN_PREPARE_LIVE_DATA' on the `sdata'
to where compacted strings to moved to.
(pin_string): Call `ASAN_PREPARE_DEAD_SDATA' on `old_sdata'.

(make_float): Poison float blocks on allocation, unpoisoning
individual Lisp_Floats on allocation or removal from
`float_free_list'.
(sweep_floats): Unpoison float blocks before sweeping, poison
dead/unmarked floats.

(free_cons): Poison `ptr'.
(Fcons): Poison cons blocks on allocation, unpoisoning individual
Lisp_Cons on allocation or removal from `cons_free_list'.
(sweep_conses): Poison dead/unmarked conses.

(setup_free_list): Poison vectors put on `vector_free_lists'.
(allocate_vector_from_block): Unpoison vectors taken from the free
list, poison excess vector bytes when vectors allocated from the free
list are larger than requested.
(sweep_vectors): Unpoison vector blocks before sweeping them.

(Fmake_symbol): Poison symbol blocks on initial allocation,
unpoisoning individual Lisp_Symbols on allocation or removal from
`symbol_free_list'.
(sweep_symbols): Unpoison symbol blocks before sweeping, poisoning
dead/unmarked symbols.

(live_string_holding, live_cons_holding, live_symbol_holding)
(live_float_holding): When compiling with address sanitization and GC
poisoning enabled, return NULL if the passed address is poisoned, or
if the Lisp object it resides in is poisoned, avoiding a
use-after-poison trigger if these functions are called on a pointer
that might be referring to a now dead/swept object.

* etc/DEBUG: Add information about enabling ASan memory poisoning.
2022-12-19 18:04:05 +05:30
Paul Eggert
5a344d90c5 Port better to glibc 2.28+ renameat2
* configure.ac: Check for renameat2.
* src/sysdep.c (renameat_noreplace): Prefer renameat2 (supplied by
glibc 2.28 and later) to doing the syscall by hand.
2022-12-17 22:38:58 -08:00
Eli Zaretskii
6c06379c03 Merge from origin/emacs-29
e950f5a663 Merge branch 'feature/use-package' into emacs-29
5bcd0cee0f * etc/USE-PACKAGE-NEWS: Delete file.
6bb4267a54 * admin/git-bisect-start: Prune use-package merge commits.
b9fa81514f ; Minor doc fixes in bind-key.el
15fb115551 Update use-package defgroups
4be96c9dcb Drop key-chord.el support from use-package
9c21eae60c ; lisp/progmodes/java-ts-mode.el: Fix more typos.
2659311e06 ; * lisp/progmodes/java-ts-mode.el (java-ts-mode--keywords...
b4a3724d3b Remove unneeded (require 'edebug) from which-func.el
5899cac111 Change use-package custom :group to `initialization`
8fb2afe051 ; Fix typos
a37df90276 Treat escaped newlines in Eshell as the empty string
d3e9bd3b57 ; Document use-package-reset-statistics
c65e087068 ; use-package: Improve :ensure-system-package docstrings
141fe8b827 use-package: Improve :mode keyword documentation
888558ec42 Improve bind-keys* and override-global-mode docstrings
c774e83e36 ; * src/emacs.c (main): Improvements to last change.
537f11f8cd ; * doc/misc/use-package.texi: Improve indexing.
98e54f597e Add new use-package manual
01bfbd186a Fix use-package tests
97c8a58787 * doc/misc/Makefile.in (INFO_COMMON): Add use-package.
500c459eff ; * etc/NEWS: Mention use-package.
4a1e9d61b5 ; Merge from https://github.com/jwiegley/use-package
58cc931e92 Merge pull request from skangas/revert-for-copyright
c74b5c16f8 Merge pull request from skangas/revert-for-copyright2
ebbd98edb3 Revert "Add: 'local' keyword"
8296164eab Remove tests lacking a copyright assignment for now
a6cbfdd8f1 Merge pull request from skangas/package-requires
efae6048dd Add package keyword from finder-known-keywords
06f92d1cc0 Fix Package-Requires for bind-{chord,key}.el
e42c8479ec Merge pull request from skangas/dir-locals
7b689942f0 Merge pull request from skangas/fix-headers
30fa366737 Add .dir-locals.el
79c2c3a3ad Delete redundant headers
2399d0d5ce Normalize GPLv3 license statements
7087a97a24 Merge pull request from jwiegley/revert-1019-johnw/multi-k...
3e81af80a2 Revert "Allow multiple keymaps in :map argument"
f4ee1c3839 Merge pull request from jwiegley/johnw/multi-keymap
49fffe7cf4 Merge remote-tracking branch 'origin/master' into pr-830
cf8ab8b52e Merge pull request from skangas/texinfo-wip
2efc869866 Merge branch 'master' into texinfo-wip
9b476ae71c Merge pull request from skangas/gnu-elpa
8cf8631c69 Fix makeinfo warnings
a6b1b62763 Use two spaces to end sentences
6a26c55d70 Recommend GNU ELPA over MELPA
4e8b72efc8 manual: Regenerate texi file
ae301ad36d Merge pull request from skangas/checkdoc
5dad5ff0fe Merge pull request from skangas/ci
ff30d22909 Various checkdoc fixes
971634e3f9 Merge pull request from bhankas/master
43254ae62f Fix building on Emacs 24.3
45e6ee1371 Fix tests on Emacs 26 or older
7122ac5397 Bump version to 2.4.4
6b25a41bc6 Merge pull request from andreyorst/face-spec-set-third-arg...
76a5ce5d86 Allow passing the SPEC-TYPE argument via :custom-face
67d7d1fda0 Merge pull request from bhankas/master
370890e518 Bump version to 2.4.3
2ee9b31ca4 bind-key.el: Bump version for ELPA
407b1bf4f0 Merge pull request from andreyorst/face-spec-set
0be7f5dd53 Merge pull request from bhankas/master
abd655c99e Update version to 2.4.2
9188b3edf1 Merge pull request from bhankas/master
0fafd98513 Update copyright for submission to ELPA
6b344a9197 Use face-spec-set instead of custom-set-faces
c0338e06cd Merge pull request from conao3/add-commands-keyword
ec96b47664 bind-keys supports passing a list of keymaps as :map argument
daa124e1cc Fix bind-chords docs: :map argument may be a list of keymaps
4107bbfbdb Merge pull request from sdwolfz/native-compiler-warning
1494f65f61 Fix emacs native compilation warning for bind-key
c12deb31fe Merge pull request from CeleritasCelery/master
d4aeda77a9 Merge pull request from sdwolfz/native-compiler-warning
3feedce08d Fix emacs native compilation warning
6c2fdaffd9 Revert "Remove use-package-font-lock-keywords"
09e837dfae Merge pull request from belak/remove-extra-font-lock-keywords
89d6e7a5ec Merge pull request from realcomplex/override-global-mode-fix
a05b9e28ed Go back to making `override-global-mode` non-global
85c1287c26 Make sure that bind-key's `override-global-mode` is initia...
3dd5bee4aa Merge pull request from tarsiiformes/quote-quote
53c1889342 Quote single quotes in docstrings or use different quoting
e8626100f3 Merge pull request from tarsiiformes/cleanup-manual
835fdb16be manual: Regenerate texi file
0dc78ef4c8 Merge pull request from conao3/fix-declare-style
2967849846 Merge pull request from waymondo/ensure-system-packages-us...
28e7b96fcf Merge pull request from waymondo/use-package-hook-handler-...
b1fbfe66eb Merge pull request from waymondo/use-package-chords-autolo...
cf3bfecced Merge pull request from matzebond/master
a0ba027ee5 Merge pull request from wcy123/master
ca426a7732 Merge pull request from phst/lex
f270623768 Merge pull request from phst/flet
0503611b71 Merge pull request from conao3/add-custom-face-description
e9b297a9fa Merge pull request from iaeerfung/master
6484e5fdfe Merge pull request from wyuenho/set-default-use-package-en...
a7259411f6 Merge pull request from wyuenho/statistics-sorting
de0c8c36c7 Merge pull request from Hugo-Heagren/bind-keys-repeat-map
015c921a2e Merge pull request from danielpza/add-update-custom-package
b143663f12 Merge pull request from tarsiiformes/silencio
debab131f0 Merge pull request from DamienCassou/update-texi
22de8991c1 Merge pull request from skangas/fix-typo
620fe443c2 Add: 'local' keyword
4004dde6ea Avoid positional arguments to define-minor-mode
cb85f9c274 Fix typo in use-package docstring
30b35d6d62 Update use-package.texi
9be2580f5f optimization: constand folding for read-kbd-macro
1143f14d65 bind-keys-form: error for repeat sub-keywords without :rep...
c4bd2aa3b8 bind-key-form: allow :continue keyword inside repeat map
5ef327ce9f bind-key-form: allow :exit keyword inside repeat map
2203246454 bind-keys-form: new keyword :repeat-map, for defining repe...
ee292b80be Fix tests and documentation for hook
24c50da3b2 Auto detect mode suffix in hook keyword
1343783532 feat: add update custom packages command
f3ff593a84 Properly sort use-package-statistics-report
c09cb1301b Fix void-variable use-package-enable-imenu-support
11b2184c8d Remove uses of deprecated ‘flet’ macro
a35b924054 add testcase
dbfb3484cd add autoload keyword
40d2541331 fix docstring. was: invalid function name
ffa5f0397a Merge pull request from minad/improved-unbind
5ca7bc321d unbind-key: Ensure that keys are removed from the keymap
ec750952f4 bind-key: Use new symbols for kmapvar
a248658910 Merge pull request from tzz/tzz/use-package-use-theme
2b9536f242 Add use-package-use-theme and avoid missing theme errors
c425e67a19 Merge pull request from kljohann/custom-use-single-let
e3938e7b26 Use a single let binding when expanding consecutive :custo...
e4daf0cd42 Merge pull request from tzz/tzz/remove-use-package-from-cu...
6b7ab46e57 Remove use-package theme from global list of custom-enable...
3ffb662dcc Merge pull request from tzz/tzz/set-comment-and-synthetic-...
a3c310c11a Create new "use-package" themse and use it for :custom wit...
5ceb51ae19 set property theme-value to avoid saving variable
3e24a7363b Revert "use-package-core.el: use the Emacs set-default fun...
8ef7978028 set saved-variable-comment from :custom
99643f8873 Update version to 2.4.1
215dd35e49 add multiple and eval :custom-face usage
4938167bff Remove use-package-font-lock-keywords
10c6400d34 Merge pull request from wyuenho/patch-1
5bd7e0ca7d Migrate remaining files to lexical binding
1f54de9210 Merge branch 'master' into patch-1
c358eedcf9 Merge pull request from tzz/custom-set-default
13b1e202bf Update the documentation for :custom as per
d3f847eaee Fix broken test due to
2ca2212f73 better tests
de49954965 add test for
950068809b Support keymap symbol in bind-key
3e96664ffe Merge pull request from tzz/custom-set-default
8c31c57106 use-package-core.el: use the Emacs set-default function to...
4e72885f85 Merge pull request from jjlee/call-hooks-even-if-no-config
203d15e34e Merge branch 'master' into call-hooks-even-if-no-config
218687d897 Merge pull request from nahuel/patch-1
44c837879e typo, should be a vector, not a bytecode object
0ec4660f74 Add special value back again, in case needed for backwards...
f30d5761af Even when there's no :config, run any pre/post config hooks
91e5d275af Merge pull request from jwiegley/johnw/clarify
8b8522650e Clarify the documentation for :after
8e81459dad Merge pull request from DamienCassou/typos
3a58f53b14 Fix typos
0456f878fc Merge pull request from tarsiiformes/typos
8c7fa11a3f Fix typos
165f2dd968 Use `require', not `load', when byte-compiling ()
20415fb9be Update tests
4c8d5f0b21 Switch from `require' to `load' + `featurep'
27fd32c47b Use `require', not `load', when byte-compiling
0d720a0f61 update bind-chords to use of eval-after-load when maps dec...
8f1a345b5b rename function
8ec41be418 extract use-package-hook-handler-flatten-mode-symbols func...
4149ec6cfa use `use-package-as-one` for normalizing `:ensure-system-p...
97f0287e19 Make custom-face evaluate elisp. ()
c297dfdd20 Make custom-face evaluate elisp
8fe0ac2983 * use-package-core.el (use-package): fix declare style
3e36cbfb6d Merge pull request from stribb/master
95f24f9628 Add a line of documentation for (use-pacakage ... :hook)
7e40a9c424 Merge pull request from conao3/fix_default_value
77ad44639f Merge pull request from tarsiiformes/silencio
fc6fef6869 Silence byte-compiler on Emacs 25
3f96971feb Merge pull request from jwiegley/use-package-chords-suppre...
63886cb15f Merge pull request from lrochfort/ensure-system-package_us...
ca39ed155f [] Install system packages using system-packages-install
607879e647 prefix argument with _ to suppress Unused lexical argument...
4a34b41f96 Merge pull request from justbur/autoload-keymap
c169644637 Merge pull request from jwiegley/ensure-system-package-fil...
2a8c2ffea2 allow :ensure-system-package to check the presence of file...
0a4d082054 Merge pull request from killdash9/patch-1
38dcba6872 Place :chords at beginning of use-package-keywords
1fb4198933 Merge pull request from killdash9/patch-1
5fb369c968 Merge branch 'master' into patch-1
87e26db44f Merge pull request from jabranham/enable-lexical-binding
bdd7fd3565 Fix use-package-normalize-function
09b7e8e129 Fix use-package-normalize-function tests
e2e6f9a44b Enable lexical binding
cc9ec36f1a Merge pull request from taingra/master
b1d9ce08a6 Update use-package.texi
b84a77bcdc Added an Introduction taken from the README
c980371f6f Correct prefix keys after use-package-autoload-keymap
36f9a9b9b4 Merge pull request from akhramov/fix/ensure-system-package...
f38a100917 Ensure system package cleanup
db35639457 fix gethash default value for use-package-statistics-time
642417ac05 Merge pull request from andschwa/remap-command
d2fec5e5e3 Document that remapping commands is supported with bind-key
85e580a5e4 Merge pull request from akhramov/fix/ensure-system-package...
9f034a0bcf [] ensure-system-package: honor system-packages customizat...
dc83e2f035 Update use-package-chords.el
c9f6cae603 Update use-package-chords.el
e2a322d870 Merge pull request from waymondo/master
e5d3826b62 :ensure-system-package allow cdr of cons to be a package n...
ad601fb49a Merge pull request from valignatev/master
8a27cd3a8b Encourage installation via https instead of http
742cf27b0e Merge pull request from DamienCassou/fix-report-again
69a561b86b Fix compile-time warnings due to the statistics-reporting ...
2a47998844 Add missing require
dd8ef12112 Merge pull request from jwiegley/revert-645-fix-report
cba5a11368 Revert "Fix report"
b1429951b1 Merge pull request from DamienCassou/fix-report
b28efb4847 Fix compile-time warnings due to the statistics-reporting ...
bce655f616 Add missing require
4cc7f91270 Merge pull request from DamienCassou/tabulated-list
ae22d74a16 Use a tabulated-list to display package configuration stat...
76e6d3e8bc Merge pull request from matthewbauer/patch-1
2250f89ac0 Support ":package" in use-package
10b4dcb53a Merge pull request from justbur/normalize-fix
46503b194c Fix usage of plist argument in use-package-normalize-plist
e379221166 Merge pull request from justbur/ignore-keywords
09266283b9 Add use-package-ignore-unknown-keywords option
ab918196fa Revert "Merge pull request from jabranham/lexical-bindings"
566a2ea3a1 Revert "Move variable bindings to the bottom of each file"
c29193bf07 Move variable bindings to the bottom of each file
d21787f1d6 Merge pull request from jabranham/lexical-bindings
109167e8f5 Don't remove sharp quotes
2274130b40 Test still requires cl
4c3abcf4eb Fix byte compiler warnings
88bcb8b96d Use lexical bindings and remove cl package
fd8a3510fd Merge pull request from jabranham/system-packages-update
b7252f8e63 lexical binding
46ee100327 Prefer non-obsolete var names
567df21f26 Merge pull request from jabranham/fix-byte-compiler
8a6430835f Prefer org-table-align to orgtbl-ctrl-c-ctrl-c
13a9e339f2 Merge pull request from justbur/elisp-cap
44cb99fcc7 Merge pull request from nickmccurdy/render-report-table
1fdfd46fb2 Fix sanity check for correct :custom-face format
9638870f53 Handle automatic macro expansion by elisp-completion-at-point
13fb5f4f2e Guard a call to display-warning with ignore
cb15dffbd7 Render the use-package-report table using Org
2d226310f1 All the second argument in use-package-defaults lists to b...
51eceb4238 Add a test related to
31fa2f24a1 Add more tests related to issue
4aa9b0cd6a Minor simplification of a function
a4d2e77961 bind-keys fixes related to
3850281f88 Add a clarifying test for
ec84ed0dfb Fix a scoping issues with multiple occurrences of :bind
5a02d61ac6 Start building a use-package linter in use-package-lint.el
7e458c640c use-package-normalize/:disabled has the wrong number of ar...
0068501aa0 Remove several unnecessary calls to `ignore'
ae0d243681 Add another :bind test
e6c54b54ab Add further note to NEWS.md
4714380696 Add tests for two more issues
93231ecbab Fix the tests
8cf7b17dae Clarify a note in NEWS.md
8fefa49d39 Changes to the way auto-deferral is indicated
80e8a599b4 Introduce new customization variable `use-package-merge-ke...
96ecfab9e4 Use cl-gentemp in another place
7803571280 Correctly fix the problem of unreferenced symbols after co...
20694696b2 Revert "Pre-expand lexical-let, since otherwise it require...
7cc17cee8f Pre-expand lexical-let, since otherwise it requires cl to ...
71fc224961 Add documentation for `use-package-report'
beee6b8d4d use-package-defaults predicate must also receive the packa...
75428f870d Remove Package-Requires for diminish and delight, as these...
9a6d8a4cf2 Add a comment as to why max-lisp-eval-depth is set in -tes...
b001edf162 Add missing autoload cookie, and make lack of a normalizer...
ce36e68817 Don't compute the verbose debug text unless it's requested
e8a7ae1ea1 Add :bind test for a single cons cell
2a85d81c47 Add support for gathering statistics on use-package declar...
894e95aa4b Respect keyword ordering in use-package-deferring-keywords
0939993935 Clarify :config with setq versus :custom
c272c6b56b Update some GPL version references
2cd3ebd5d5 Allow the expansion of :after (:or foo bar) to be byte-com...
b2b91af2e5 Make the expanded text for :after cleaner
de12a5ae86 Several changes as suggested by flycheck
3343cca33b Don't auto-defer if the package itself was given to :load
2a9904b9e8 Enable all tests on Travis
0c110ebd67 Allow `:load t' to mean the same as :load of the package name
4882df8285 Whitespace change
7b8e94a61a Default running-on-travis to t
5f13924885 Enable 4 tests that work when not run on Travis
cdb250e766 For now, stub out test that breaks Travis
7c3a6cd70b Stub some referenced variables, for Travis
b5a0cd4f30 Add note in NEWS.md about :requires vs. :if
b25a305c58 Lower the priority of :if/:when/:unless in use-package-key...
64ffdb6863 Enhance fix-expansion to take surrounding let bindings int...
65caa3b423 Rewrite normalization of :bind and :bind*
725d749b7c Normalize errors should be errors, that are then caught by...
0a628a2767 Avoid using pcase and many other macros in macro-expanded ...
a090961f10 Fix bad interaction between bind-keys* and the :package ke...
10fd4577d0 Add missing autoload cookies
f037c2daeb Fix function accidentally made interactive
43f1be12b7 Use cl-gensym
ee07e709ea Fix the case where :ensure is given no arguments
afdf1c3638 Some Emacsen don't have gensym
2892c026f4 Add note in NEWS.md about :after and autoloaded keybindings
277384d151 Add a note to `bind-key` on the usage of the KEYMAP argument
2790bfc006 Add a bind-key test
62d33b2143 Support :ensure (pkg :pin archive)
e34fdb580a Add several missing comments
6c836985b1 Swap the order of two definitions
6470eaf3d5 Fix an argument process problem with bind-key
a2ddc18065 Comment out two tests that break on Travis
4b83f9525c Rename up-* files to use-package-* for consistency
f869036115 Merge branch 'split-bind-key'
1e42c867b6 Commit .texi file, as it requires several dependencies to ...
08e5406cc3 Merge branch 'master' into next
5382941ac3 Add a test-in-progress for issue 506
057814ae24 Add new customization variables `use-package-hook-name-suf...
d5feff862a Split key binding functionality out into its own file
d771e8d719 Please the byte-compiler
9245d08ebc Require cl for the use-package tests
e36d208c69 Expand use-package-core as a macro, to avoid load time dep...
01c3d75606 :ensure can be a list; correct handling of multiple :ensur...
101dc9793b Ensure that :commands always declare-function at compile time
fe85f246b0 Add a new :catch keyword, and move :preface before such ha...
8489206db4 Fix duplication in an error message
4042b87c72 Add expand-maximally macro to up-tests.el
026433a8a0 Revert "Reduce some code duplication"
fb9d159632 Move :preface handling within the code
4efd355108 Add two new tests
1e560c5140 Reduce some code duplication
ac906479a7 Normalize some whitespace and ordering in new code
0239ee227a Move :init back to happening after all autoloads have occu...
5d973a0188 Move :init back to happening after all autoloads have occu...
5d9c854a6c Add `use-package-chords` and `use-package-ensure-system-pa...
05dfea96e5 Change order of :defines and :functions within `use-packag...
20ea11b71a Add further notes to NEWS.md, in light of recent breakages
0be575766c Add new customization variable `use-package-deferring-keyw...
6d51e52342 Minor comment change
49752db41b up-ensure's customization variables are now in their own g...
f4f3e01044 Remove code from up-core.el that is now in up-diminish.el
bd2589e4be Add notes to NEWS.md
8bf5de28c3 Correction to a macro expansion
62f866caf7 Delete an unneeded blank line
a1bdd958d3 Reduce some code duplication
28084551ac Normalize the code emitted by :mode, :interpreter, :magic,...
36cf799853 Add 'errors as another option to `use-package-verbose'
f08f8a7ba9 Only emit the debugging context text once
35b975563c Correction to error detection at both :init and :config times
8428dafcfa Report errors during deferred :config as intelligent warni...
8dd0f274d0 Drop some unnecessary detail from a warning message
f356c838c1 Minor simplification
99200a1642 Fix a byte-compiler warning in up-ensure.el
7c95d0a0e0 Move optional jumping functionality to its own module
fff47a1331 Break out ensure/diminish/delight into their own support f...
cdbb2cbe97 Move the use-package-keywords defcustom to the top of the ...
22fb8f8c4b Disable a test that is not working on Travis
0c148eb777 Move functions around for better logical grouping
3625b3f712 More variable renaming needed in the tests
149c4878fc Change most use-package-- prefixes to just use-package-
d5c1fdf4e8 Remove a local variable binding
223c321a1d Always catch errors during configuration
e5aa510d48 Separate out all tests, the better to identify which one f...
4c1b82aed5 Define macroexpand-1 for older Emacsen
9ab797cccd A great deal of internal reorganization and simplification
a9429350d5 Fix `use-package-ensure-function' docstring typo
dee6b36286 If use-package-verbose is t, show loading times when :afte...
af3b34b022 Remove the :defer-install keyword
09be976c18 :demand should not override an explicit use of :after
9e8e9aa4ee Remove some debug code that crept in
cb846d188a Add tests for the last two keywords
cd4790b3df Add many more tests
f5b034154f Always wrap the expanded body from use-package in (progn)
21b9b6551d Comment out :no-require test for now
6954c3f582 Don't factor out a volatile variable
7f2eec9e65 Add many new tests
88f8c1bb8f Generate :defines and :functions correctly
b5b432d0fe Correct the ordering of :preface, :load-path, :defines and...
07ab280741 Whitespace fix
f674a75b61 Move :hook before :defer
2c618e17c6 Don't macroexpand bind-keys, leave that to the evaluator
5f1e8b6b72 Always use `load' when loading for the sake of compilation
669e8527fb Sort keywords at the appropriate time
af8b961716 Change the :config default, if none has been set in vars
1a09f8fef2 :no-require t should never require
0791e3fefe Code reformatting
dfd3194d80 Allow match-expansion to take multiple cases
7a562f10cb Add test for use-package-test-normalize/:ensure
9465b915a8 Add the missing plist-delete
98ee89a752 Remove an unneeded defvar
0be868d39b A final fix to :ensure + :load-path
ca94036dce Add a test case for :ensure, following up from
1fc543a212 Don't check for an :ensure that use-package-always-ensure ...
2ff8af6495 Add a use-package-version variable
c3b9cc2403 Add two new tests
3ea2d34219 Add stubs for future tests of all keywords
3847ec28ca Allow :ensure to take a nil value again
3cb64648fc Only add :ensure nil on :load-path if use-package-always-e...
35f46f7b42 Restructure some code
5e1a656e06 Using :load-path without also using :ensure now implies :e...
fab33fef3a Correction to use-package--recognize-function
5f2b0cbe8f Allow keys to be bound to nil
1167e7d063 Fix a missing `and'
6a62122e9c Use backquote rather than quote
0887e1f9d0 Correct use-package-normalize-mode
d8c1f02bf4 Whitespace fix
8051c9f5cd Update version and copyright
bff472ea80 Allow :bind ("C-c C-c" . (lambda () (ding))) and #'(lambda...
f256943f9b Reorder some items in NEWS.md
7499c8812a Add NEWS.md file
c0a884dfa2 Merge pull request from basil-conto/version
3db39c0573 Require Emacs version >= 24.3
2aea700500 Merge pull request from basil-conto/520
9870843e1c Merge branch 'master' into 520
9ea305beb6 Add a missing (require 'seq)
4303a2faf6 Require cl-lib and do not use seq functions
b7041c0f29 When use-package-inject-hooks is non-nil, always fire init...
2825987619 Print map keys in describe-personal-keybindings
606284e374 Repeating a bind no longer causes duplicates in personal-k...
a392f6da55 When byte-compiling, correctly output declare-function dir...
2c32857d57 Make diminish a soft dependency, as delight already was
7531c374bf Allow :diminish to take no argument, once again
c811637b30 Fix for single :custom (foo bar)
2ebf076733 Allow :custom (foo1 bar1) (foo2 bar2) etc
4ad4a59685 Add support for `:hook`
700c92c5de Append to *use-package* when debugging, don't clear it
6f9d4342ca Make unrecognized keywords a warning
9b523d7c4e Upgrade license to GPL 3
18b9bf18ad Don't allow :commands, :bind, etc., to be given an empty list
4ddf42185a Explicit :defer t should override use-package-always-demand
5ac5f8bc63 Merge pull request from drrlvn/patch-1
c72d8567d2 Corrections to the normalization of :custom
903ff82219 Merge pull request from joewreschnig/implicit-diminish
eda2db4f18 Merge pull request from waymondo/master
57ec21a013 allow customized values to be nil
9bf8264523 Merge pull request from canatella/add-customization-keywords
d8bbc3a95d Add support for face customization
fcf219701b Add support for variable customization
3c763f3169 Merge pull request from carldotac/master
5396491aec Fix typos in docstring
426a319e1b Merge pull request from emacsjanitors/demote-manually
85643eaf18 Cosmetic changes to use-package-ensure-elpa
68c9ee4bff Don't use with-demoted-errors in use-package-ensure-elpa
3f58555ed8 Merge pull request from raxod502/feat/fix-install-deferred
c3455b2a67 Remove duplicate documentation of :mode
c845776677 Merge pull request from joewreschnig/481-delight-docs
d0dcd95d80 Document :delight in the doc string and README
ca83649a32 Allow `:diminish` with no arguments
463e38b188 Merge pull request from joewreschnig/477-delight-wrappers
7eec86f5cd Allow :major as the third argument in :delight calls
4b8b850cf0 Allow multiple :delight arguments, or omitting the mode. ()
6e6b533aaf Fix bug in use-package-install-deferred-package
99e4045122 Merge pull request from joewreschnig/magic-469
ac4a3a4aa8 Add `:magic` and `:magic-fallback` keywords (issue)
ec088b747a Protect against errors during package install
c38c33e6fa Merge pull request from raxod502/feat/failed-autoload-msg
3823a9059e Fix quoting error in failed autoload message
0a12111d2f Merge pull request from raxod502/normalize-nil
a9ffffcee5 Make use-package-normalize-value handle nil better
2db2b56b17 Merge pull request from raxod502/fix-bind-key-filter
e5e335424c Add comment explaining keyword-argument patch
d5d320e607 Don't mutilate keyword arguments in :bind
9f90129b95 Merge pull request from raxod502/fix-after
0f547bc807 Merge pull request from raxod502/always-defer-install
bca84ee71a Add use-package-always-defer-install
9ad6f2ef1a Fix :after keyword
bd2afa53c7 Merge pull request from raxod502/defer-install
249de4b44d Merge remote-tracking branch 'origin/master' into defer-in...
b2e674de0a Update docstring, installation prompt message
ecc5fddda4 Various improvements for deferred installation
57e38152e1 Get :defer-install completely working, in theory
855a2afbe3 Improve deferred installation mechanism
89a8f94672 Merge branch 'generalized-ensure' into defer-install
a233f01ff6 Update docstring for use-package-ensure-function
f6224b2956 First cut at :defer-install keyword
4e6115214b Extend capabilities of use-package-ensure-function
45442561d3 Revert "Return `t' after calling `eval-after-load'"
0517689cf3 Support multiple symbols passed to :after
f1fa65d773 :mode and :interpreter can now accept (rx ...) forms
87a8ff6d69 Return `t' after calling `eval-after-load'
61d6a8e449 Add autoload cookie for use-package-autoload-keymap
a4c3244f30 Merge remote-tracking branch 'origin/pr/349'
0905a7b1c7 Merge pull request from justbur/find-form
c287aa3085 Merge pull request from justbur/imenu3
f95d487d03 Merge pull request from raxod502/fix-use-package-defaults
482c8e5728 Fix use-package-defaults
8fa6e8823b Unrevert "Add use-package-defaults"
013425edeb Revert "Add use-package-defaults"
a1550a7746 Merge pull request from raxod502/use-package-defaults
3dec23c086 Add use-package-defaults
c637f2be43 Merge pull request from raxod502/use-package-ensure-function
e853355714 Add use-package-ensure-function
ad8094c22d Add new customization option `use-package-always-demand`
dbf46d97be Merge pull request from basil-conto/preface
6c35742992 Merge pull request from tarsius/outline
ba3064ed80 Merge pull request from tarsius/bind-later
75e0cd93c5 Delay decision whether to use eval-after-load until run-time
134ecb3c88 Support outline-minor-mode
aad07daa8d Increase :preface priority
42b7a774cf Merge pull request from phst/bug398
baa9e25a6b Declare package-read-all-archive-contents
c15c616eb1 Remove tests, which don’t work
9688d2f64b Don't allow implicit package name arg for binders
65c7b42a14 Don't allow nil as a mode function
fc57b34299 Refactor pair normalizers; add tests for them
5ed9a6b5a5 Remove obsolete mplist tests
fc7fc42f13 Bump version to 2.3
bcfb149517 Merge pull request from appleby/master
ef0cbfdc73 Ensure package-pinned-packages is bound before referencing it
4629e86240 Remove the use of a tab
72452b5548 Merge pull request from ketbra/master
5053f75e00 Make pin and ensure compatible
811c99da52 Merge pull request from npostavs/state-noconst
79c38c5184 Fix declare-function call: FILE must be a string
71057bc20f use-package-as-string: use noerror parameter
be7a0e4649 Don't pass a constant as the state
758739e6db Version 2.2
1f03bec96b Merge pull request from justbur/bump-init
59d34cf9ce Move :init forms before :after and :demand
c13ca927c2 Add function use-package-jump-to-package-form
75bdb87833 Improve imenu support
ff0a5e281d Merge pull request from justbur/imenu2
da08a04652 Fix imenu support for older versions
1d6b3174f5 Merge pull request from justbur/imenu
2b5668df20 Merge pull request from robario/patch-1
d34fb2bdc9 Add imenu support for use-package forms
858a7f9b7c Fix to ignore load error caused via :after
153b542421 Merge pull request from xuchunyang/fix-package-install
3aa6aecb7f Mark package as selected with package-install
af65fbea63 :map no longer accepts lists; only eval-after-load if nece...
a1c4e6d0ab Normalize some error text
f150691c78 Only printing debug messages if use-package-verbose is `de...
8e128b29f5 Merge pull request from ljos/master
6ca19531bb Repair :map handling in bind-key.el
b0b5cfbfb2 Quote variable in `bind-keys*'
6a90a9f16d Add configuration variable `use-package-check-before-init'
ce51ea2055 Use `add-to-list' defensively instead of `push'
6da4e0ce9d Add variable `use-package-always-defer'
eeba14ef07 Restore :bind-keymap, it does something special still
828563a756 Remove :bind-keymaps, and only apply :map bindings after load
856e8ee245 Support multiples uses of :map with :bind
23a61c8f6b Add some variable settings to use-package-tests.el, thanks...
4593f178e3 Merge pull request from alezost/keymap-doc-fix
947345028e Add another `declare'
c65a334276 Handle :unless correctly
543935482f Add a comment about a recent change
416096bfdc Merge pull request from waymondo/master
57af7dd571 Merge pull request from dudebout/patch-1
ee8ac83641 Add an autoload cookie for `use-package'
32748d0657 Upper casing Cs corresponding to Ctrl
2b967a3c18 Merge pull request from thierryvolpiatto/fix_package_install
c5e98d87da Ensure package-install support a second argument
5cbfd926c5 When :ensure is used install package as a selected package
9e2dcf8655 Merge pull request from kovrik/fix-pin-performance
cc4333a1be Merge pull request from phillord/fix/always-pin-typo
ba4aeb600d Fix errant variable name
3f48ff4648 Merge pull request from phillord/feature/always-pin
f4a01f3e00 Add new option `-always-pin'
c42e3f5669 Change condition that checks if package has been initialized
19474a1711 Do not package-initialize on each :pin
38c170e17b Merge pull request from kovrik/issue-299
3ce3b3a98c Add a missing comma
b4ec5abad2 Add a PREDICATE option to bind-key, and :filter to `bind-k...
cd867dfe2f allow string values in cons for :bind keywords
95038f96f1 Guard against a case where :load-paths is nil
d1c78a646c Move :pin out of macro expansion phase fixes
308e4e3f2c Move :pin out of macro expansion phase
ed2e85e4a7 Use cl-mapcan rather than apply 'nconc; thanks wasamasa
189c8b5422 Merge pull request from kovrik/byte-compile-ensure-fix
d9f37b4f0c Install packages when byte-compiling (fix by @npostavs)
b1f442c15b Apply a fix from npostavs relating to
734c5e7119 Merge pull request from kovrik/master
96add4d4c0 Merge pull request from phillord/feature/after
564f9bb74b Support for after keyword
ac47f783da Move :ensure option from macro expansion phase to runtime ...
ff8bdfcdca Bump version to 2.1
5dffc8c7cf Merge pull request from waymondo/extend-bind-handler
6298e7e477 pass in symbol of bind macro, for more extensible re-use o...
3e2747f174 Revert "Merge pull request from edvorg/master"
9c1156dbf8 error handling for use-package
2276ed7607 Merge pull request from matklad/master
d514592746 fix quotation error
fa36aa682c Merge pull request from npostavs/string-packages
3cdc6c39bf Re-add support for string package names
282241cf7d Merge pull request from nickalcock/master
1cbcd66ebe Support :bind (:map '(...))
269b1080ae Merge pull request from thomasf/master
d81390f6de Handle the case when keymap has a broken documentation
d3f47a7401 Merge pull request from killdash9/keymap
4502a5ecb1 Merge pull request from syl20bnr/fix_hook_injection
90e3f48111 Fix calls to run-hooks for :init and :config injected hooks
6f0586ef52 Refresh package.el archives if package is missing
a53b5062c4 bind-keymap fixes
f1a00054b1 Keymap bindings must be interactive
c850481d06 Failed to require a package is just a message
d1e91745b3 Minor fix to :diminish
c3a4b03b5f Fix a bug in the :delight support
800669d9da Add :delight support, thanks to darkfeline on GitHub
80aad34a39 Add new customization use-package-always-ensure
348bc57141 unbind-key now removes key from personal-keybindings
47586c714e Fix file headers
53bb14cfb7 Add autoload stanzas to bind-key
d70d70843a Correction to an eval-after-load expansion
8c00f108bf Change use-package to use bind-keys and bind-keys*
012c37d722 Change bind-key* behavior to mimic bind-keys*
029e46a874 Whitespace cleanups
eb6b81dfec Allow :map in bind-keys to accept multiple maps
2abf565af2 :pin should return `t'
e7f3f97a71 Modular support appears to be working
f1ab3291f6 Began work on modular handling of keywords
94ad68330d Rename use-package-with-elapsed-timer at an internal name
b30b279a99 Remove code I did not intend to commit
f45c4f0edd Merge pull request from npostavs/macroexp-progn
c2f5b2479d Fix some docstrings
3467e4eaa6 use-package-progn: replace with macroexp-progn
23ec1ca719 Merge pull request from npostavs/name-keymap
f5f4102ca1 get-binding-description: return keymap symbol
1b6605652c Use push instead of add-to-list
38f907cc5d Remove a hack that is not needed anymore
2778e85a39 macroexpand nested uses of use-package in :init and :config
19ab94cf39 Wrap the :preface in an eval-and-compile block
8769309fbf Remove a use of macroexpand
658d103b70 Make a warning more specific
5787ff074c More work to silence the byte-compiler
46435d7b84 Other minor improvements for byte-compiling
d2679595fa Several minor improvements and fixes
eda8246fc6 Change some code for consistency's sake
c819beebf0 Merge pull request from killdash9/keymap
8d7a0c2185 minor fixes to get bind-keymap working in 2.0
771f2edc83 Always return t on a successful init-time load
db69a3f81c Add to the load-path before the :preface
9e35dd95d9 More fixes related to byte-compilation
34bc31e1d4 A few changes for byte-compilation
1fe2c1c056 :defer now accepts an optional number of seconds
302c008b45 Permit minimal expansion of macro bodies, and other fixes
21a091f17a Collapse some whitespace
05c02aee86 Allow vectors to be passed to :bind again
55d6bb00ca Add code to workaround an inefficiency with eval-after-load
4029030eb5 Output Compiling message only if verbose is enabled
b75c1cb47e Allow :pin to accept a symbol
5c85433fac Relax a path normalization check
a203028871 Correct an erroneous symbol reference
a66d1952e3 Update docstring for :disabled
1c5f9247aa Merge pull request from npostavs/eval-after-name
98b642b794 Undo an erroneous change
199399e552 Add -hook to the injected hooks
03ea5d6dbf Restore an earlier fix to
9385ab417a BREAKING CHANGE: Remove :idle and :idle-priority
1f20acfd57 use--package: eval-after-load name
81f5e48d32 Support optional injection of hooks, for Spacemacs
f637380fed Add :preface, occurring before everything except :disabled
b4a00d2eb5 Some minor code reformatting
71f894fe78 Fix to :ensure normalization
a6edb08122 Merge pull request from thomasf/master
9748de389c Merge pull request from npostavs/warning
e68d00d525 Fix :ensure value interpretation
27cba067ee use-package-expand: use display-warning
4ae584f3ff Begin refactoring for 2.0; NOTE: BREAKING CHANGES
0f76d766d9 Many stylistics cleanups and simplifications
a4a696572d Revert "Don't add autoload for existing commands"
30da0769bf Stylistic changes
f8bf1b0986 Minor style edits
f334f230eb Minor changes
aa6e3f47c7 Show more informative errors when they occur
24ace89e5a Merge pull request from tarsius/master
719115cf47 Allow using expanded macro without loading feature
89a957efa9 Merge pull request from killdash9/keymap
b8f0799ce8 Passing t into keymap function
60029cb0ab Merge pull request from killdash9/keymap
7252e29ec4 Merge pull request from thiagowfx/patch-1
7db9b920df fix small typo (key > keymap)
1ae2236854 :bind-keymap - bind a key prefix to an autoloaded package ...
647950fd16 Merge pull request from vermiculus/master
5a5aeca797 Do not quote lambda expressions
f8db1f1740 Merge pull request from YoungFrog/fixautoloads
99642725c1 Merge pull request from peterhoeg/master
b3bf1b2587 Check if package-archives are valid when pinning
a2b23f8326 Don't add autoload for existing commands
435d4b4078 pure cleanup
18f04bfb99 Merge pull request from peterhoeg/master
fe7fe61528 support for pinning package to archive
6570447a05 Merge pull request from Silex/master
0bfa356148 Merge pull request from waymondo/master
e8ce1b20ca add :bind* keyword for `bind-key*`
f07ecde5a1 Fix "compiling" typo
4c927efbd5 Merge pull request from thomasf/master
351c102010 Display which package that has compile errors
4cf50ffbca Merge pull request from tarsius/master
31bb0cde56 assume the declare-function macro exists
91953b08e0 Merge pull request from BernardHurley/master
471869269a bind-keys macro changed to allow prefix map to have a menu...
3cbf510468 Merge pull request from npostavs/desc-vector
b3e96443ad bind-key: cleanup
de9f6814e7 bind-key: no vector keys in personal-keybindings
91b439c8e7 personal-keybindings: add docstring
0d0e8db731 Merge pull request from alezost/bind-keys
c4ebcaa953 Add bind-keys* macro
2d67e1dca1 Merge pull request from thomasf/master
1c82b2377f Don't abort compiling if package loading fails
a4939e7ef3 Revert "Merge pull request from alexko/master"
8c04377608 Merge pull request from alexko/master
a9ba368fa7 Merge pull request from YoungFrog/fix-mult-mode
6d02a320f6 if package can't be located, treat it the same way as disa...
4e80d29daf Eval backquote earlier and support non-`progn' lists
d63972eb29 Merge pull request from YoungFrog/keynameeval
9ca3690b59 * bind-key.el (bind-key): don't eval key-name at macro exp...
978094589e Merge pull request from npostavs/bind-vectors
01196c81ac bind-keys: bind directly to prefix-map
869ff53ab9 bind-keys: ,@(when map (list map)) => map
053a1514a1 fix typo
efe2419a22 Merge pull request from YoungFrog/idle-interval
0ab0d77691 Add new option use-package-idle-interval
db9cba9a31 Merge pull request from ffevotte/idle-priority
6b30c15823 :idle-priority keyword to change the running order of idle...
c7ff480095 Merge pull request from tarsius/master
f32d24350c use-package-font-lock-keywords: add use-package-with-elaps...
2d7ecd867a use-package-with-elapsed-timer: add declare indent rule
ea3a475d0b use-package-with-elapsed-timer: respect option at runtime
11195fa213 Merge pull request from npostavs/bind-vector
f0776c2aeb let bind-key accept vectors, add docstring
0f7d54d1db Merge pull request from Fuco1/variable-col-width
e23bce4c2f Merge pull request from Fuco1/special-form-desc
38d4d2e2da Add variable column width
f90d65e149 Add better descriptions for lambdas, closures, keymaps
aec1268960 Merge pull request from Fuco1/bind-keys
7d0779114e Add `bind-keys` macro
dd937c4e36 Move tests to separate file
2676ff5d95 Allow multiple forms after keywords
58ca076647 stop describe-personal-keybindings adding trailing space
6ca942d780 Merge pull request from aspiers/best-practices
21cabfd334 fix bind-key URL (fixes)
8f7e878caf add 'use-package-' prefix to 'with-elapsed-timer'
283653ff4b Merge pull request from aspiers/hyperlink-all-bindings
ebe59c7da1 Merge pull request from aspiers/docs
2dbee4cd75 fix DRY violation by only having documentation in one place
984850be80 hyperlink functions in Comments column
25ea8ea840 Merge pull request from aspiers/short-mode
75206228dd allow :mode and :interpreter to accept a string
7de292c0e9 Merge pull request from tarsius/defun
d588d0b382 use-package: use defun as lisp-indent-function
c3704ac36e Add a :demand directive, to override deferred loading ()
9d395a4019 fboundp is a function, not a variable
d4bf41eb82 Merge pull request from dabrahams/patch-1
f3e9e871a6 Backward compatibility with emacs-22.1
90ca8adc41 Default use-package-verbose to nil
ee0060c3a7 Merge pull request from Silex/master
c7560f7be7 Remove el-get support
f3ed771481 Merge pull request from aethanyc/add-missing-keyword
36cf13ef47 Add :pre-load to use-package-keywords
c3cbe3a69a Merge pull request from PhilHudson/master
a116fc2136 Properly enable runtime dependency for :idle stanza (issue)
e8b5ea3b70 Merge pull request from npostavs/comma
94072fba77 remove extra comma (added by 026c46c)
e367788005 Merge pull request from npostavs/cleanup
026c46c057 let with-elapsed-timer return last form
3d871c7994 make `with-elapsed-timer' hygienic
61fd933807 with-elapsed-timer: only check verbosity once
9921a76e86 remove after-init-hook for override-global-mode
29abf59bad macroexpand not needed
119a30f2ba cl not needed since flet was removed in 82903da
901272a8c7 Merge pull request from phillord/first-keyword
d6a5c43915 Merge pull request from npostavs/quasiquote
8c1c572857 use plist-get-value for all non-sexp args
dd20db220d plist-get-value treats arg as backquoted
9c9329f522 Merge pull request from dudebout/fixes-
818c78f466 Removes `plist-get-sexp`
ff03bef1d1 Merge pull request from dudebout/variable-and-function-sup...
fd8af80f08 Enables using variables and functions as arguments
6fdeb0c044 Merge pull request from npostavs/eval-after-name
c6d79d2cb4 pass name (not name-string) to eval-after-load
6efc084cdf Merge pull request from aethanyc/fix-highlight
bbf2b5034b Fix highlight use-package for Emacs snapshot
749295c052 Merge pull request from npostavs/hilite-redux
71150a79c5 Merge pull request from aethanyc/improve-output-buffer
8de5c29ed5 Improve (describe-personal-keybindings) output
57f80d4ff1 highlight use-package before typing package name
a56244378f Merge pull request from npostavs/master
48975f791b also check `byte-compile-current-file' for compile time lo...
aa357bc96a Changed :first to :pre-load
3d0b14eac2 Merge pull request from npostavs/master
a76d16730d use lambda around deferred :config forms to compile them, ...
ac0c9633bc use `eval-when-compile' for loading package at compile tim...
e7a343828a Add a ":first" keyword for those occasions that it's neces...
e481d97891 Merge pull request from npostavs/master
2a1e7e418a refine use-package highlighting regexp
3a4556a906 Merge pull request from purcell/patch-2
a5859a7c8d Fix initial line to satisfy package.el
f98b9d08fe Validate keywords. Error if any keyword is unrecognized
ed2b339783 Merge pull request from phillord/ensure-doc
01cfa0358f Added documentation to use-package macro
7161c09b30 Documentation added for :ensure keyword
e38cfff8b6 Merge pull request from milkypostman/master
19c65ea3ab package header should, hold, sold be the full filename + ext
2da6318930 Merge pull request from tarsius/font-lock
9741bdb189 Merge pull request from tarsius/master
5b696d1918 fontify use-package form
d2460b9276 add dots; cleanup whitespace
a5e4a6d938 quiet byte-compiler; ensure package.el is loaded
82903da9d8 don't use obsolete flet
17a1a4659a enforce use of spaces for indentation
5a799db5a1 Merge pull request from purcell/patch-1
b901618607 Add Package-Requires header for ELPA installations
ef6b97c29f Merge pull request from npostavs/easy-diminish
0df0e18c4b needed extra layer of nesting for diminish calls
984e0f1044 Merge pull request from npostavs/easy-diminish
094830716d Merge pull request from npostavs/bind-override
2abe5f9480 let :diminish "string" guess correct mode symbol
09b9ef3ae3 let bind-key* override minor modes with emulation-mode-map...
26bfd9ce2f Merge pull request from PhilHudson/master
34d3f115dd Runtime client code independence redux
1758c5faea Corrected a typo
d718c0cefa Merge pull request from phillord/master
52a48a77c3 Merge branch 'master' of https://github.com/jwiegley/use-p...
35685f120b idle initiation of packages
49d25ce022 Merge pull request from phillord/master
aa8d5fab19 Added minimum load time display option
447004740c Merge pull request from bdd/master
c680b57ebf Cleanup trailing whitespace
1a65b11731 Merge pull request from PhilHudson/macroexpand
593f18aff5 Macroexpand quoted eval-after-load block early
c4cf68f6e4 Merge pull request from phillord/master
eaf9677409 Support packages where autoload and elpa name are different
445d0245fc Merge pull request from phillord/master
8d72a6c1d6 Documentation for the use-package macro
b8406ce9f0 Reverting "Documentation for the use-package macro."
abc0ebc92d Documentation for the use-package macro
75b30bfd9b Merge pull request from phillord/master
c28874e956 ELPA package support
2a63e3f2ef Merge pull request from PhilHudson/master
fbead83731 Support diminishing to a replacement string as well as to ...
8b93cee99b Use-package now accepts function as argument
fe7997d2b7 Only use user-site-lisp-directory if defined
89a844fd9c Correct return value from with-elapsed-timer
28c6509148 More updates to support el-get
ece5f93919 Byte-compilation related fix
d9f6c0f370 Added :pre-init
82a8d10a46 Establish autoloads after :init
bdf1505f44 Added :mode and :interpreter keywords
0736be8e67 Add a note about how to use :load-path
f6d65ce876 If :load-path is absolute, don't expand it
0bde0b4c02 Die typos, die
debf2c23f3 Fixed a typo
aea35b2370 Minor reformatting
80b010a748 Minor grammatical nit
334f6e085e Integrated support for working with el-get
01c8245b29 Make use-package-verbose customizable
4bd492f606 Have loading timer include time to require
bf6c23044b Fixed a typo in bind-key.el
31ea42e15e README and other updates

# Conflicts:
#	etc/NEWS
#	lisp/external-completion.el
2022-12-08 12:52:37 -05:00
Stefan Kangas
8fb2afe051 ; Fix typos 2022-12-08 07:17:47 +01:00
Po Lu
2a907bcd4b Don't excessively sync in some other code
* configure.ac (USE_XCB): Remove xcb-util dependency.
* src/frame.h: Remove x_sync.
* src/gtkutil.c (xg_frame_restack, xg_update_scrollbar_pos)
(xg_update_horizontal_scrollbar_pos): Call XSync manually
instead of x_sync.
* src/xfns.c (x_sync): Delete unused function.
* src/xterm.c (x_send_hourglass_message): New function.
(x_show_hourglass, x_hide_hourglass): Avoid XSync in these two
pieces of frequently used code.
(handle_one_xevent): Handle hourglass messages.
(x_make_frame_invisible): Stop using x_sync.
2022-12-05 19:58:05 +08:00
Po Lu
f96a9e10b1 Make Emacs build with Xfixes support on old versions of the library
* src/xterm.c (xfixes_toggle_visible_pointer):
(x_toggle_visible_pointer):
(XTtoggle_invisible_pointer, x_term_init): Disable code
requiring fixes 4.0 or later when the fixes library is older.
* src/xterm.h: Define missing types needed by other extensions
when the fixes library is too old.
* configure.ac: Allow building with any version of the Xfixes
extension library.
2022-12-04 20:02:32 +08:00
Eli Zaretskii
34fc42e502 ; * configure.ac (module_env_snippet_30): Fix a typo. 2022-11-28 20:10:17 +02:00
Eli Zaretskii
65456668ab Bump master Emacs version to 30.0.50
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/refcards/ru-refcard.tex: Bump Emacs version to 30.0.50.

* etc/NEWS.29: New file.
* etc/NEWS: Empty for Emacs 30.

* configure.ac: Add boilerplate for module-env-XX.h.

* src/emacs-module.h.in (struct emacs_env_30): Add.
* src/module-env-29.h: Remove header comment.
* src/module-env-30.h: New file.

* lisp/cus-edit.el (customize-changed-options-previous-release):
Set last version to 29.1.
2022-11-28 20:03:07 +02:00
Eli Zaretskii
c6cb6d8506 Cut the emacs-29 release branch
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.0.60.

* admin/admin.el (set-version): Fix regexp for configure.ac.

* lisp/cus-edit.el (customize-changed-options-previous-release):
Bump last version to 28.2.
2022-11-28 19:47:35 +02:00
Sam James
110769d039 Fix tree-sitter build using non-bash /bin/sh (bug#59460)
* configure.ac: Don't use '==' in comparisons.

Copyright-paperwork-exempt: yes.
2022-11-22 14:45:09 +02:00
Yuan Fu
aaeaa310f0
Merge remote-tracking branch 'savannah/master' into feature/tree-sitter 2022-11-21 12:54:35 -08:00
Yuan Fu
c5e3b99467
Accept older versions of tree-sitter library
* configure.ac: Accept a tree-sitter library as long as it provides
ts_set_allocator.
2022-11-10 10:25:29 -08:00
Yuan Fu
77cb95c851
; Revert back to requiring tree-sitter v0.0 for now 2022-11-10 00:31:10 -08:00
Yuan Fu
663d768d44
* configure.ac: Change required tree-sitter version to 0.20.2. 2022-11-09 15:51:13 -08:00
Paul Eggert
39f5696921 Improve suppression of bogus macOS warnings
* configure.ac: On macOS, always use -Wno-deprecated-declarations,
as the false alarms appear even if --disable-gcc-warnings is given
(Bug#58966).
2022-11-03 11:10:32 -07:00
Gerd Möllmann
d16494cffb Suppress deprecation warnings on macOS (bug#58966)
* configure.ac (CHECK_LISP_OBJECT_TYPE): Add
-Wno-deprecated-declarations for darwin.
2022-11-03 10:42:35 +01:00