Stefan Monnier
77a4c63fda
(outline--hidden-headings-paths): Fix slow saves (bug#78665)
...
* lisp/outline.el: Prefer #' to quote function names.
(outline--end-of-previous): New function, extracted from
`outline-end-of-subtree`.
(outline-end-of-subtree): Use it.
(outline--hidden-headings-paths): Distinguish headings where just the
entry is hidden from those where a whole subtree is hidden (bug#78673).
(outline--hidden-headings-restore-paths): Adjust accordingly and don't
delegate to functions like `outline-hide-subtree` so as to avoid
an O(N²) behavior.
2025-06-04 16:37:17 -04:00
Jonas Bernoulli
680fa61b59
Update to Transient v0.9.1-7-gd7d2c1c2
2025-06-04 15:17:51 +02:00
Jonas Bernoulli
f12ea5b703
Update to Transient v0.8.6-7-g64cb8404
2025-03-15 20:21:20 +01:00
Stefan Kangas
e33eb91061
; Silence byte-compiler
...
* lisp/transient.el (transient-set-default-level)
(transient-scope): Silence byte-compiler.
2025-02-10 15:12:19 +01:00
Jonas Bernoulli
3a86774ce5
Update to Transient v0.8.4-7-gabee7353
2025-02-01 18:14:47 +01:00
Stefan Kangas
64d314e0f6
Prefer defface's ':slant italic' to obsolete alias ':italic t'
...
* etc/themes/manoj-dark-theme.el (manoj-dark):
* etc/themes/modus-themes.el (modus-themes-faces):
* etc/themes/manoj-dark-theme.el (manoj-dark):
* etc/themes/modus-themes.el (modus-themes-faces):
* lisp/emacs-lisp/eieio-custom.el (eieio-custom-slot-tag-face):
* lisp/gnus/gnus-art.el (gnus-emphasis-italic)
(gnus-emphasis-underline-italic, gnus-emphasis-bold-italic)
(gnus-emphasis-underline-bold-italic, gnus-signature)
(gnus-header-from, gnus-header-subject, gnus-header-newsgroups)
(gnus-header-content):
* lisp/gnus/gnus-cite.el (gnus-cite-attribution, gnus-cite-1)
(gnus-cite-2, gnus-cite-3, gnus-cite-4, gnus-cite-5, gnus-cite-6)
(gnus-cite-7, gnus-cite-8, gnus-cite-9, gnus-cite-10, gnus-cite-11):
* lisp/gnus/gnus-srvr.el (gnus-server-cloud-host)
(gnus-server-closed):
* lisp/gnus/gnus.el (gnus-group-mail-1-empty)
(gnus-group-mail-2-empty, gnus-summary-low-ticked)
(gnus-summary-low-ancient, gnus-summary-low-undownloaded)
(gnus-summary-low-unread, gnus-summary-low-read):
* lisp/gnus/message.el (message-header-to)
(message-header-newsgroups, message-header-other):
* lisp/gnus/mm-decode.el (mm-command-output):
* lisp/mh-e/mh-e.el (mh-face-data, mh-folder-body):
* lisp/net/dictionary.el (dictionary-word-entry-face):
* lisp/org/org-faces.el (org-formula, org-agenda-date-today)
(org-scheduled, org-scheduled-today):
* lisp/proced.el (proced-interruptible-sleep-status-code):
* lisp/progmodes/prolog.el (prolog-font-lock-keywords):
* lisp/progmodes/verilog-mode.el (verilog-font-lock-translate-off-face)
(verilog-font-lock-p1800-face, verilog-font-lock-ams-face)
(verilog-font-lock-grouping-keywords-face):
* lisp/progmodes/vhdl-mode.el (vhdl-font-lock-attribute-face)
(vhdl-font-lock-enumvalue-face, vhdl-font-lock-function-face)
(vhdl-font-lock-directive-face):
* lisp/transient.el (transient-inapt-suffix):
* lisp/vc/ediff-init.el (ediff-even-diff-A, ediff-even-diff-B)
(ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
(ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
Prefer defface attribute ':slant italic' to its obsolete alias
':italic t'. See also Bug#73552.
2025-01-21 09:56:59 +01:00
Jonas Bernoulli
58df9e272b
Update to Transient v0.8.3-2-gf0478b29
2025-01-03 19:51:08 +01:00
Paul Eggert
4da38c6321
Update copyright year to 2025
...
Run "TZ=UTC0 admin/update-copyright".
2025-01-01 07:39:17 +00:00
Sean Whitton
4704dd39de
transient.el: Replace use of obsolete if-let and when-let
...
* lisp/transient.el (transient--expand-define-args)
(transient--parse-suffix, transient-get-suffix)
(transient--make-transient-map, transient--init-suffix)
(transient--init-suffix-key, transient--suspend-override)
(transient--wrap-command, transient--call-pre-command)
(transient--setup-recursion, transient--invalid)
(transient-init-value, transient-default-value)
(transient-infix-read, transient-prompt, transient--show)
(transient--insert-group, transient-format-key)
(transient-format-description, transient-format-value)
(transient--maybe-pad-keys, transient-command-summary-or-name)
(transient-show-help):
Replace use of if-let and when-let, obsolete for Emacs 31.x.
2024-10-27 18:45:31 +08:00
Po Lu
7793b2fe2a
Merge from savannah/emacs-30
...
709ce2aff1 Port to Haiku R1/beta5
21efdd5ef3 Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191)
ffc00eac53 ; Set Transient's version and add admin/MAINTAINERS entry
3822a5e5d1 * admin/update-copyright: Print reminder to do manual upd...
43b678d3d2 * admin/notes/years: Update.
38de992a5a * etc/TODO: New item "support indentation guides".
# Conflicts:
# admin/notes/years
# doc/misc/transient.texi
# lisp/progmodes/c-ts-mode.el
# lisp/transient.el
2024-09-15 08:54:50 +08:00
Jonas Bernoulli
ffc00eac53
; Set Transient's version and add admin/MAINTAINERS entry
...
* admin/MAINTAINERS: Add entry for externally maintained Transient
package.
* doc/misc/transient.texi: Bump version strings.
* lisp/transient.el: Bump version in Version header.
* lisp/transient.el (transient-version): New constant.
2024-09-14 19:23:40 +02:00
Mattias Engdegård
1d0c68fbdc
; * lisp/transient.el: require pp to defvar pp-default-function
2024-08-05 16:44:17 +02:00
Jonas Bernoulli
c7d9cd722e
Update to Transient v0.7.4-1-g3d9e9358
2024-08-05 14:41:02 +02:00
Stefan Kangas
a799661566
Standardize possessive apostrophe usage in manuals, docs, and comments
...
See the note in admin/notes/documentation.
Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
2024-07-25 03:35:18 +02:00
Jonas Bernoulli
951fb93956
* lisp/transient.el (static-if): Remove duplicated definition.
...
(Bug#72182)
This should have been removed when the standalone version was merged
into Emacs.
2024-07-19 19:10:30 +02:00
Stefan Kangas
e3bba63ecb
Checkdoc fixes in transient.el
...
* lisp/transient.el (transient-format-description): Checkdoc fixes.
2024-07-16 03:36:31 +02:00
Jonas Bernoulli
04bf3172f0
; Set Transient's version
2024-07-13 21:59:20 +02:00
Jonas Bernoulli
5f3d964e39
Update to Transient v0.7.2-4-gf75bc48d
2024-06-29 14:06:12 +02:00
Jonas Bernoulli
4fcc38966b
Update to Transient v0.7.2-1-gf273c0c8
...
This fixes two bugs, one of them restoring compatibility with the
version that ships with Emacs 29, making emoji-insert usable again.
The other changes are of cosmetic nature. The only exception is a new
command, whose creation lead to the discovery of one of the bugs, and
remains unused until a package author actually binds it in a prefix.
I.e., unless someone actually uses this, the risk of a regression is
close to zero, and even if it is used, it can only affect the prefix
that binds it.
2024-06-24 13:38:35 +02:00
Jonas Bernoulli
dceb28a1cf
Update to Transient v0.7.0-1-g482bc777
2024-06-18 17:02:20 +02:00
Paul Eggert
3dcac22dd4
Spelling fixes
2024-06-04 22:16:28 -07:00
Stefan Monnier
a1f8702e83
(help-fns-function-name): New function
...
Consolidate code used in profiler and help--describe-command,
and improve it while we're at it.
Also use #' to quote a few function names along the way.
* lisp/help-fns.el (help-fns--function-numbers, help-fns--function-names):
New vars.
(help-fns--display-function): New aux function.
(help-fns-function-name): New function, inspired from
`help--describe-command`.
* lisp/help.el (help--describe-command): Use `help-fns-function-name`.
(help--for-help-make-sections): Remove redundant "" arg to `mapconcat`.
* lisp/profiler.el (profiler-format-entry, profiler-fixup-entry):
Delete functions.
(profiler-report-make-entry-part): Use `help-fns-function-name` instead.
(profiler-report-find-entry): Use `push-button`.
* lisp/transient.el (transient--debug): Use `help-fns-function-name`
when available.
2024-03-21 19:40:20 -04:00
Jonas Bernoulli
c214fc9626
Update to Transient v0.6.0-1-gcaef3347
2024-03-21 23:55:38 +01:00
Jonas Bernoulli
167d9b9040
Allow trivially autoloading uses of transient's define macros
...
Since 49e41991b2 transient-define-prefix itself was autoloaded, but
that meant that when ever an autoload file was loaded, which contained
an autoload for a command defined using that macro, transient itself
had to be loaded.
That shouldn't be necessary. For commands using these macros, an
autoload that is identical to what would have been generated if it
had been defined using defun, works just fine.
* lisp/emacs-lisp/loaddefs-gen.el
(loaddefs-generate--make-autoload): Allow uses of
transient-define-prefix, transient-define-suffix,
transient-define-infix and transient-define-argument
to be autoloaded using just ";;;autoload".
* lisp/transient.el (transient-define-prefix): No longer autoload.
2024-02-20 22:04:51 +01:00
Po Lu
ecf08f0621
Merge from savannah/emacs-29
...
dc4e6b1329 ; Update copyright years in more files
64b3777631 ; Run set-copyright from admin.el
8e1c56ae46 ; Add 2024 to copyright years
# Conflicts:
# doc/misc/modus-themes.org
# doc/misc/texinfo.tex
# etc/NEWS
# etc/refcards/ru-refcard.tex
# etc/themes/modus-operandi-theme.el
# etc/themes/modus-themes.el
# etc/themes/modus-vivendi-theme.el
# lib/alloca.in.h
# lib/binary-io.h
# lib/c-ctype.h
# lib/c-strcasecmp.c
# lib/c-strncasecmp.c
# lib/careadlinkat.c
# lib/cloexec.c
# lib/close-stream.c
# lib/diffseq.h
# lib/dup2.c
# lib/filemode.h
# lib/fpending.c
# lib/fpending.h
# lib/fsusage.c
# lib/getgroups.c
# lib/getloadavg.c
# lib/gettext.h
# lib/gettime.c
# lib/gettimeofday.c
# lib/group-member.c
# lib/malloc.c
# lib/md5-stream.c
# lib/md5.c
# lib/md5.h
# lib/memmem.c
# lib/memrchr.c
# lib/nanosleep.c
# lib/save-cwd.h
# lib/sha1.c
# lib/sig2str.c
# lib/stdlib.in.h
# lib/strtoimax.c
# lib/strtol.c
# lib/strtoll.c
# lib/time_r.c
# lib/xalloc-oversized.h
# lisp/auth-source-pass.el
# lisp/emacs-lisp/lisp-mnt.el
# lisp/emacs-lisp/timer.el
# lisp/info-look.el
# lisp/jit-lock.el
# lisp/loadhist.el
# lisp/mail/rmail.el
# lisp/net/ntlm.el
# lisp/net/webjump.el
# lisp/progmodes/asm-mode.el
# lisp/progmodes/project.el
# lisp/progmodes/sh-script.el
# lisp/textmodes/flyspell.el
# lisp/textmodes/reftex-toc.el
# lisp/textmodes/reftex.el
# lisp/textmodes/tex-mode.el
# lisp/url/url-gw.el
# m4/alloca.m4
# m4/clock_time.m4
# m4/d-type.m4
# m4/dirent_h.m4
# m4/dup2.m4
# m4/euidaccess.m4
# m4/fchmodat.m4
# m4/filemode.m4
# m4/fsusage.m4
# m4/getgroups.m4
# m4/getloadavg.m4
# m4/getrandom.m4
# m4/gettime.m4
# m4/gettimeofday.m4
# m4/gnulib-common.m4
# m4/group-member.m4
# m4/inttypes.m4
# m4/malloc.m4
# m4/manywarnings.m4
# m4/mempcpy.m4
# m4/memrchr.m4
# m4/mkostemp.m4
# m4/mktime.m4
# m4/nproc.m4
# m4/nstrftime.m4
# m4/pathmax.m4
# m4/pipe2.m4
# m4/pselect.m4
# m4/pthread_sigmask.m4
# m4/readlink.m4
# m4/realloc.m4
# m4/sig2str.m4
# m4/ssize_t.m4
# m4/stat-time.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/stdio_h.m4
# m4/stdlib_h.m4
# m4/stpcpy.m4
# m4/strnlen.m4
# m4/strtoimax.m4
# m4/strtoll.m4
# m4/time_h.m4
# m4/timegm.m4
# m4/timer_time.m4
# m4/timespec.m4
# m4/unistd_h.m4
# m4/warnings.m4
# nt/configure.bat
# nt/preprep.c
# test/lisp/register-tests.el
2024-01-02 10:28:14 +08:00
Po Lu
8e1c56ae46
; Add 2024 to copyright years
2024-01-02 09:47:10 +08:00
Stefan Kangas
7d283ca1a3
; Fix a few more typos
2023-12-10 14:06:45 +01:00
Stefan Kangas
06a12b0ccc
; Fix typos
2023-12-10 13:22:04 +01:00
Jonas Bernoulli
1f1dbfc6e8
; * lisp/transient.el: Revert accidental changes
2023-12-05 20:04:21 +01:00
Jonas Bernoulli
fa5f06c125
; * lisp/transient.el: Set Version instead of Package-Version
...
`finder-compile-keywords' only considers the "Version" header.
2023-12-05 20:01:44 +01:00
Jonas Bernoulli
4675aff768
Update to Transient v0.5.2
2023-12-05 19:59:34 +01:00
Stefan Monnier
7705bdfa5b
Adjust affected callers of derived-mode-p` to use the new convention
...
* lisp/align.el (align-rules-list): Prefer `derived-mode-p` over
`provided-mode-derived-p`.
(align--rule-should-run):
* lisp/window.el (display-buffer-reuse-mode-window):
* lisp/whitespace.el (whitespace-enable-predicate):
* lisp/transient.el (transient--do-suffix-p):
* lisp/so-long.el (so-long--set-auto-mode):
* lisp/simple.el (command-completion-with-modes-p):
* lisp/progmodes/tcl.el (tcl-current-word):
* lisp/progmodes/idlwave.el (idlwave-fix-keywords):
* lisp/progmodes/gdb-mi.el (gdb, gdb-locals-mode-map)
(gdb-registers-mode-map, gdb-function-buffer-p):
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-style-setter)
(c-ts-mode-set-style):
* lisp/progmodes/bug-reference.el (bug-reference--try-setup-gnus-article):
* lisp/help-fns.el (help-fns--list-local-commands):
* lisp/emulation/viper.el (viper-mode)
(viper-this-major-mode-requires-vi-state):
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--globalized-predicate-p):
* lisp/dired.el (dired-hide-details-mode, dired-click-to-select-mode):
* lisp/calendar/todo-mode.el (todo-reset-nondiary-marker)
(todo-reset-done-string, todo-reset-comment-string):
* lisp/vc/vc.el (vc-deduce-backend): Use new calling convention for
`derived-mode-p` and `provided-mode-derived-p`.
2023-11-23 11:59:49 -05:00
Jonas Bernoulli
45cf3a0ced
Update to Transient v0.4.3
2023-08-27 14:47:14 +02:00
Jonas Bernoulli
b497b7b64b
Update to Transient v0.4.3
2023-08-27 14:46:30 +02:00
Stefan Monnier
410aac8183
* lisp/transient.el (transient--wrap-command): Use letrec and a closure
2023-06-12 13:25:31 -04:00
Jonas Bernoulli
03663b8798
Update to Transient v0.4.1
2023-06-02 23:26:45 +02:00
Jonas Bernoulli
60d5a015d1
Update to Transient v0.4.0
...
Or strictly speaking v0.4.0-1-g428576a4.)
2023-05-11 17:47:30 +02:00
Jonas Bernoulli
21ec6c1d5c
Update to Transient v0.3.7-219-g3ded15b
2023-05-03 15:02:31 +02:00
Jonas Bernoulli
0337131bfa
Update to Transient v0.3.7-218-g3dbb22a
2023-03-26 23:53:03 +02:00
Jonas Bernoulli
02aba20d52
Update to Transient v0.3.7-216-gfe40342
2023-02-20 16:36:16 +01:00
Jonas Bernoulli
420d2cae84
Update to Transient v0.3.7-209-gdab1dfa
2023-02-14 20:42:02 +01:00
Jonas Bernoulli
56960a6558
Update to Transient v0.3.7-205-gb8ad0da
2023-02-09 23:53:33 +01:00
Jonas Bernoulli
e47cf6ca15
Update to Transient v0.3.7-204-gecff8c2
2023-02-09 13:28:05 +01:00
Jonas Bernoulli
1684e254a3
Update to Transient v0.3.7-196-gb91f509
2023-01-30 22:39:38 +01:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
Eli Zaretskii
8e42e20ed7
Revert "Use equal and member instead of eq and memq"
...
This reverts commit f4b430140f .
Please don't install anything on the release branch that is not
strictly necessary fro Emacs 29.
2022-12-16 19:25:45 +02:00
Mattias Engdegård
f4b430140f
Use equal and member instead of eq and memq
...
* lisp/cedet/semantic/complete.el (semantic-displayer-show-request):
* lisp/descr-text.el (describe-char-categories):
* lisp/mh-e/mh-identity.el (mh-select-identity):
* lisp/transient.el (transient--delay-post-command)
(transient--post-command):
* lisp/vc/vc-git.el (vc-git-create-tag):
* test/lisp/emacs-lisp/cl-lib-tests.el
(cl-lib-nth-value-test-multiple-values):
* lisp/emulation/viper-cmd.el (viper-preserve-cursor-color):
Use `equal` instead of `eq` and `member` instead of `memq` where
the comparison is with literals without guaranteed identity.
In some cases this change corrects evident bugs, in others it is
mostly cosmetic.
2022-12-16 17:19:21 +01:00
Jonas Bernoulli
de5a3fa1e5
* lisp/transient.el: Update to package version v0.3.7-173-g81b29ca
2022-10-28 16:27:25 +02:00
Stefan Kangas
db2ed9f333
; Fix several symbol name typos
2022-10-26 23:04:23 +02:00
Jonas Bernoulli
6706506c2b
* lisp/transient.el: Update to package version v0.3.7-158-gc09b34e
2022-08-07 00:28:18 +02:00