aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/transient.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use single-arg form of `signal` to re-throw an errorStefan Monnier2026-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/smerge-mode.el (smerge-extend): * lisp/vc/diff-mode.el (diff-beginning-of-file-and-junk): * lisp/transient.el (transient--with-emergency-exit): * lisp/textmodes/tex-mode.el (latex-forward-sexp): * lisp/tar-mode.el (tar-mode): * lisp/savehist.el (savehist--reload): * lisp/progmodes/octave.el (inferior-octave-resync-dirs): * lisp/progmodes/js.el (js--re-search-forward): * lisp/plstore.el (plstore--decrypt): * lisp/net/dbus.el (dbus-ignore-errors, dbus-register-signal) (dbus-handle-event): * lisp/mouse.el (mouse-drag-track, mouse-drag-region-rectangle): * lisp/minibuffer.el (completion-pcm--find-all-completions): * lisp/mail/rfc2231.el (rfc2231-parse-string): * lisp/mail/rfc2047.el (rfc2047-encode-region): * lisp/jit-lock.el (jit-lock-fontify-now): * lisp/international/ja-dic-utl.el (skkdic-lookup-key): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/mml-sec.el (mml-secure-epg-encrypt, mml-secure-epg-sign): * lisp/gnus/mail-source.el (mail-source-fetch-pop) (mail-source-check-pop): * lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): * lisp/files.el (basic-save-buffer-2, files--ensure-directory) (files--force, copy-directory): * lisp/eshell/esh-io.el (eshell-output-object-to-target): * lisp/epa.el (epa-decrypt-file, epa-verify-file, epa-sign-file) (epa-encrypt-file, epa-decrypt-region, epa-verify-region) (epa-sign-region, epa-encrypt-region, epa-delete-keys) (epa-export-keys, epa-insert-keys): * lisp/emacs-lisp/package.el (package--unless-error): * lisp/emacs-lisp/multisession.el (multisession--read-file-value): * lisp/emacs-lisp/lisp.el (up-list-default-function): * lisp/desktop.el (desktop-kill): * lisp/calendar/time-date.el (date-to-time): * lisp/calendar/appt.el (appt-display-message): * lisp/calc/calc.el (calc-do): * lisp/bookmark.el (bookmark-handle-bookmark): * src/fileio.c (report_file_errno): * lisp/vc/vc.el (vc-checkout, vc-pull): Use `(signal err)` instead of `(signal (car err) (cdr err))`.
* Update to Transient v0.12.0-15-gfe5214e6Jonas Bernoulli2026-01-041-364/+372
|
* ; Add 2026 to copyright years.Sean Whitton2026-01-011-1/+1
|
* December 2025 spelling fixesPaul Eggert2025-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the fixes are to continue to use American rather than British spelling. * doc/misc/modus-themes.org (my-modus-themes-engraved-faces): Fix misspelled ‘:foreground’s. * etc/themes/modus-themes.el (modus-themes-faces): Fix misspelled ‘modus-themes-bold’. * lisp/emacs-lisp/rx.el (rx--normalize-char-pattern): Rename from rx--normalise-char-pattern. (rx--optimize-or-args): Rename from rx--optimise-or-args. * lisp/frame.el (frame--special-parameters): Fix misspelled "right-divider-width". * lisp/net/tramp.el (tramp-fingerprint-prompt-regexp): Use American spelling “centered”, to match current libfprintf. * lisp/org/org-fold-core.el (org-fold-core--optimize-for-huge-buffers): Rename from org-fold-core--optimise-for-huge-buffers. (org-fold-core-update-optimization): Rename from org-fold-core-update-optimisation, leaving an alias behind. (org-fold-core-remove-optimization): Rename from org-fold-core-remove-optimisation, leaving an alias behind. * lisp/org/org.el (org-advertized-archive-subtree): This alias is now obsolete. * lisp/play/zone.el (zone-ignored-buffers): Fix misspelling of ‘zone--buffer-encrypted-p’. * lisp/progmodes/csharp-mode.el (csharp-ts-mode-faces): Fix misspelling of ‘csharp’ group. * lisp/vc/vc.el (vc-clonable-backends-custom-type): Rename from vc-cloneable-backends-custom-type, leaving an alias behind. * test/lisp/emacs-lisp/bytecomp-tests.el: (bytecomp-tests--warn-arity-non-compiled-callee): Rename from bytecomp-tests--warn-arity-noncompiled-callee. (bytecomp-test-defface-spec): Reword a deliberate misspelling of “default” that is so common I don’t want it to pollute the spelling dictionary. * test/lisp/emacs-lisp/package-vc-tests.el: (package-vc-tests-preserve-artifacts): Rename from package-vc-tests-preserve-artifacts. * test/lisp/eshell/em-prompt-tests.el: (em-prompt-test/forward-backward-paragraph-1): Reword a deliberate misspelling of “goodbye” that is so common I don’t want it to pollute the spelling dictionary.
* Update to Transient v0.11.0-10-g6637364eJonas Bernoulli2025-11-181-198/+183
|
* Update to Transient v0.10.1-8-g188ec9a1Jonas Bernoulli2025-10-131-15/+17
|
* Update to Transient v0.10.0-8-g5efa5c6eJonas Bernoulli2025-09-031-144/+260
|
* Update to Transient v0.9.4-8-g6bc543d5Jonas Bernoulli2025-08-011-3/+4
|
* Update to Transient v0.9.3-8-gecd64f17Jonas Bernoulli2025-07-011-16/+37
|
* ; * lisp/transient.el: Fix section outline levels.Jonas Bernoulli2025-07-011-3/+4
| | | | | | | | | | | | | In [1: 77a4c63fda5] "all" code sections were needlessly nested below the ";;; Code:" section, which I do not like but can live with. However, a few sections were missed; nest them here too. Also put the "frontmatter" code, which in my libraries usually is the only code located in the ";;; Code:" section, into a new ";;;; Frontmatter" sub-section. That way it is possible again to cycle to the "show all headings but no code" state. 1: 2025-06-04 77a4c63fda5ca5d4c6d82092eaa06f1eb9b51302 (outline--hidden-headings-paths): Fix slow saves (bug#78665)
* ; * lisp/transient.el: Remove extra semicolon added to eof comment.Jonas Bernoulli2025-07-011-1/+1
|
* (outline--hidden-headings-paths): Fix slow saves (bug#78665)Stefan Monnier2025-06-041-24/+24
| | | | | | | | | | | | * 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.
* Update to Transient v0.9.1-7-gd7d2c1c2Jonas Bernoulli2025-06-041-269/+454
|
* Update to Transient v0.8.6-7-g64cb8404Jonas Bernoulli2025-03-151-193/+267
|
* ; Silence byte-compilerStefan Kangas2025-02-101-8/+8
| | | | | * lisp/transient.el (transient-set-default-level) (transient-scope): Silence byte-compiler.
* Update to Transient v0.8.4-7-gabee7353Jonas Bernoulli2025-02-011-67/+160
|
* Prefer defface's ':slant italic' to obsolete alias ':italic t'Stefan Kangas2025-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update to Transient v0.8.3-2-gf0478b29Jonas Bernoulli2025-01-031-464/+851
|
* Update copyright year to 2025Paul Eggert2025-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* transient.el: Replace use of obsolete if-let and when-letSean Whitton2024-10-271-38/+38
| | | | | | | | | | | | | | | | * 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.
* Merge from savannah/emacs-30Po Lu2024-09-151-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 709ce2aff14 Port to Haiku R1/beta5 21efdd5ef31 Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191) ffc00eac53d ; Set Transient's version and add admin/MAINTAINERS entry 3822a5e5d12 * admin/update-copyright: Print reminder to do manual upd... 43b678d3d26 * admin/notes/years: Update. 38de992a5a3 * etc/TODO: New item "support indentation guides". # Conflicts: # admin/notes/years # doc/misc/transient.texi # lisp/progmodes/c-ts-mode.el # lisp/transient.el
| * ; Set Transient's version and add admin/MAINTAINERS entryJonas Bernoulli2024-09-141-1/+3
| | | | | | | | | | | | | | | | * 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.
* | ; * lisp/transient.el: require pp to defvar pp-default-functionMattias Engdegård2024-08-051-0/+1
| |
* | Update to Transient v0.7.4-1-g3d9e9358Jonas Bernoulli2024-08-051-162/+118
|/
* Standardize possessive apostrophe usage in manuals, docs, and commentsStefan Kangas2024-07-251-1/+1
| | | | | See the note in admin/notes/documentation. Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
* * lisp/transient.el (static-if): Remove duplicated definition.Jonas Bernoulli2024-07-191-11/+0
| | | | | | | (Bug#72182) This should have been removed when the standalone version was merged into Emacs.
* Checkdoc fixes in transient.elStefan Kangas2024-07-161-5/+6
| | | | * lisp/transient.el (transient-format-description): Checkdoc fixes.
* ; Set Transient's versionJonas Bernoulli2024-07-131-1/+1
|
* Update to Transient v0.7.2-4-gf75bc48dJonas Bernoulli2024-06-291-4/+4
|
* Update to Transient v0.7.2-1-gf273c0c8Jonas Bernoulli2024-06-241-8/+54
| | | | | | | | | | | 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.
* Update to Transient v0.7.0-1-g482bc777Jonas Bernoulli2024-06-181-154/+207
|
* Spelling fixesPaul Eggert2024-06-041-1/+1
|
* (help-fns-function-name): New functionStefan Monnier2024-03-211-10/+12
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Update to Transient v0.6.0-1-gcaef3347Jonas Bernoulli2024-03-211-96/+183
|
* Allow trivially autoloading uses of transient's define macrosJonas Bernoulli2024-02-201-1/+0
| | | | | | | | | | | | | | | | | | | Since 49e41991b2f 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.
* Merge from savannah/emacs-29Po Lu2024-01-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc4e6b13296 ; Update copyright years in more files 64b37776318 ; Run set-copyright from admin.el 8e1c56ae467 ; 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
| * ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
| |
| * Update to Transient v0.4.3Jonas Bernoulli2023-08-271-105/+100
| |
* | ; Fix a few more typosStefan Kangas2023-12-101-1/+1
| |
* | ; Fix typosStefan Kangas2023-12-101-1/+1
| |
* | ; * lisp/transient.el: Revert accidental changesJonas Bernoulli2023-12-051-4/+2
| |
* | ; * lisp/transient.el: Set Version instead of Package-VersionJonas Bernoulli2023-12-051-1/+1
| | | | | | | | `finder-compile-keywords' only considers the "Version" header.
* | Update to Transient v0.5.2Jonas Bernoulli2023-12-051-686/+934
| |
* | Adjust affected callers of derived-mode-p` to use the new conventionStefan Monnier2023-11-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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`.
* | Update to Transient v0.4.3Jonas Bernoulli2023-08-271-123/+122
| |
* | * lisp/transient.el (transient--wrap-command): Use `letrec` and a closureStefan Monnier2023-06-121-28/+24
|/
* Update to Transient v0.4.1Jonas Bernoulli2023-06-021-6/+13
|
* Update to Transient v0.4.0Jonas Bernoulli2023-05-111-3/+8
| | | | Or strictly speaking v0.4.0-1-g428576a4.)
* Update to Transient v0.3.7-219-g3ded15bJonas Bernoulli2023-05-031-1/+2
|
* Update to Transient v0.3.7-218-g3dbb22aJonas Bernoulli2023-03-261-6/+11
|