summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2023-11-28manual: Update pre-command documentationJonas Bernoulli
2023-11-27transient-mode-line-format: Support specifying separator thicknessJonas Bernoulli
2023-11-24Simplify how colors are used to indicate transient behaviorJonas Bernoulli
The old implementation mimicked how Hydra uses them. It's was a neat idea, but in practice I was never able to remember what the difference between a pink and a amaranth prefix/hydra is, for example. So I'm giving up on encoding the separate behaviors of suffixes and non-suffixes, using a single color. Instead the behavior of each individual suffix is visualized by coloring its key binding (as before), and by using the separator line to visualize the behavior common to all non-suffixes (without additionally encoding the default suffix behavior by blending colors). Also change the colors used for "exit" and "stay" behavior. IMO it makes more sense if "red" means "exit" instead of "stay", but of course you are welcome to disagree. Its much less mind-bending to do that now, because the new faces use names that describe their behavior instead of an arbitrary color encoding. Previously one would have had to make `transient-red' "green" and `transient-blue' "red" to achieve the new default behavior, for example. Finally, now that this has been simplified, enable it by default.
2023-11-23manual: Use "documentation string" instead of "doc string"Jonas Bernoulli
That is what is commonly (but not consistently) used in Emacs' own manuals.
2023-11-23manual: Copy-editJonas Bernoulli
2023-11-23manual: Regenerate texi fileJonas Bernoulli
2023-11-23make: Only append newline to transient.texi if missingJonas Bernoulli
2023-11-11transient--make-predicate-map: Support shorthandsJonas Bernoulli
2023-11-11transient--do-replace: Replace with two variantsJonas Bernoulli
Rename the existing `transient--do-replace' to `transient--do-stack', because that's what it really does. Repurpose the name `transient--do-replace' for a new variants that actually replaces the active transient, i.e., which does not place the active transient on the stack, but replaces it completely. Changing what `transient--do-replace' does, shouldn't be a problem because in definitions of individual transient prefix commands and their sub-prefixes, this pre-command should never have been used by name anyway.
2023-10-31transient-infix-set(argument): Also disable based on concrete valueJonas Bernoulli
"--one" may be incompatible with "--two=foo" but not "--two=bar".
2023-10-31manual: Update "Transient State" sectionJonas Bernoulli
2023-10-30transient-toggle-level-limit: New commandJonas Bernoulli
Closes #243.
2023-10-28manual: Move comparisons to wikiJonas Bernoulli
2023-10-26Support suffix description functions that take object as argumentJonas Bernoulli
2023-10-26transient-infix: Support using a function as CHOICESJonas Bernoulli
Closes #212.
2023-10-24Support display-only information in place of a suffixJonas Bernoulli
Group headings are also display-only information and raw strings can be used anywhere a suffix can appear, but this class makes it possible to display arbitrary information anywhere *and* to style it in any way one fancies. By inheriting from `transient-suffix' (instead of `transient-child') we avoid having to implement many new methods, but semantically this is a bit questionable. Leaving the `command' and `key' slots undefined, means that we have to use `slot-boundp' in a few places, but on the other hand that helps dealing the semantic inconsistency. Closes #226.
2023-10-24transient-suffix: Add FACE slotJonas Bernoulli
2023-10-19Optionally refresh suffixes and keymaps after every commandJonas Bernoulli
Closes #157.
2023-08-30docs: Don't use unicode quotes in texi exportJonas Bernoulli
Re https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg01232.html.
2023-08-25Release version 0.4.3v0.4.3Jonas Bernoulli
2023-08-25docs: Improve some syntaxJonas Bernoulli
2023-08-25Release version 0.4.2v0.4.2Jonas Bernoulli
2023-07-23manual: Document when to invoke prefix argumentsJonas Bernoulli
2023-06-02Release version 0.4.1v0.4.1Jonas Bernoulli
2023-06-01manual: Mark up nil as ~nil~Basil L. Contovounesios
2023-05-10Release version 0.4.0v0.4.0Jonas Bernoulli
2023-03-04manual: Add FAQ entry about copying text from popupJonas Bernoulli
Closes #126.
2023-02-18manual: Fix inaccuracies in Suffix SpecificationsJonas Bernoulli
2023-02-09Remove broken transient-define-groupsJonas Bernoulli
I'll bring it back eventually but still have to work out the details.
2023-01-30manual: Use two dashes to separate years in copyrightJonas Bernoulli
2023-01-24manual: Add an example for transient-append-suffixJonas Bernoulli
2023-01-07Bump copyright yearsJonas Bernoulli
2022-12-02manual: Link to psionic-k's tutorialJonas Bernoulli
2022-11-30manual: Incorporate minor fixes from EmacsJonas Bernoulli
2022-11-30manual: Fix quoting of non-nilJonas Bernoulli
2022-11-27Use new version string format for unreleased revisionsJonas Bernoulli
"N-git" < "N"; but "N.50-git" > "N".
2022-11-25manual: Improve suffix pre-command documentationJonas Bernoulli
2022-11-25transient--do-leave: New pre-command for non-suffixesJonas Bernoulli
Previously one would have had to use `transient--do-exit` but unlike `transient--do-stay', that does export variable. Avoid this unfortunate asymmetry, even though in most, if not all, cases it should not affect the outcome.
2022-11-19make: Explicitly specify output directory for makeinfo --htmlJonas Bernoulli
The default output directory differs between makeinfo versions.
2022-10-28manual: Fix mistake from previous commitJonas Bernoulli
2022-10-28transient-prepare-suffix{,es}: New functionsJonas Bernoulli
2022-10-20Turn suffix specifications into code instead of dataJonas Bernoulli
The macro `transient-define-prefix' manipulates its GROUP arguments, but until now it expanded to new vectors using vector syntax, i.e., data. An effort was made to evaluate lambda expressions, but that did not really work. Now the GROUP arguments are expanded into code, which evaluates to new vectors. This way lambda expressions are automatically evaluated and byte-compiled, but we now have to take care to quote certain lists and symbols. Functions such as `transient-insert-suffix' take group and suffix specs of the same form as `transient-define-prefix' but because there is no macro expansion step, they have to `eval' the result of parsing these specifications. Add a new macro `transient-define-groups', which can be used to define suffix groups that are shared between multiple prefix commands, but don't use it for `transient-common-commands' to avoid having to make a bunch of functions available at compile time.
2022-10-19manual: Fix wrong referenceJuergen Hoetzel
2022-09-18manual: Fix typoshokomo
2022-08-10make: Print message for texi targetJonas Bernoulli
2022-08-10manual: Drop an empty lineJonas Bernoulli
2022-08-06manual: Avoid texinfo complicationsJonas Bernoulli
2022-08-06manual: Fix minor defectsJonas Bernoulli
2022-08-06manual: Include GPLv3 in appendixJonas Bernoulli
2022-08-06manual: Use @insertcopyingJonas Bernoulli