Commit Graph

255 Commits (6e827d8f9a50653aa1905d8aff8cc91e6e2423c4)

Author SHA1 Message Date
Julian Prein 6e827d8f9a 50648: Use $ZCALC_HISTORY where appropriate 2 years ago
Daniel Shahaf 45182eb4d4 unposted: Fix some typos and markup. 2 years ago
Daniel Shahaf 80389df480 49727 (+ comment): vcs_info quilt: Pass the patches dir path to the gen-applied-string, gen-unapplied-string, and set-patch-format hooks
I use that in my gen-applied-string hook.
2 years ago
Daniel Shahaf 441f594c9f unposted: vcs_info quilt docs: Fix misspelled style name 2 years ago
Daniel Shahaf 1168c6c3ea 49448: docs: Fix pointers to the `Widgets', `User-defined Widgets', and `Standard Widgets' sections.
The latter two didn't have their own texinode()s.  Various places, both
those sections' subsections and elsewhere in the manual, linked to the
first section rather than to the third.  For instance, zshcontrib(1)
pointed to "noderef(Miscellaneous) in noderef(Zle Widgets)", even though
the former (currently §18.6.6) is not under the latter (currently §18.4).

Add texinode()s and fix those pointers.
3 years ago
Daniel Shahaf 94563d5ad1 49445: docs: Clean up some subsection references. 3 years ago
Daniel Shahaf ca94d3acda unposted: Fix typos 3 years ago
Stephane Chazelas bb61da36aa 45180: clarify doc for POSIX EREs, fix an issue with PCRE when the replacement was empty or generated more than one element 3 years ago
Bart Schaefer 667901b6ba 49065: remove bad cross-reference 3 years ago
Marlon Richert 7383baf4cf 48853: improved handling of theme resets when changing prompt themes, especially for theme preview 3 years ago
Bart Schaefer acd20254b5 48710: histed + other zed updates 3 years ago
Bart Schaefer 231c049c02 48707: fix keymap handling when zed invokes read-from-minibuffer; update doc 3 years ago
Daniel Shahaf b110d6d5af 48435 (tweaked): vcs_info docs: applied-string/unapplied-string: Correct an omission in the documentation and add an example.
The example code is a reduced version of my function from workers/47519,
with one bug fixed.  (In workers/47519, if $1 doesn't contain spaces -
which is the case under hg mq - then $H and $s will be set to the same
value.)

Tweaked: Extended the contrib.yo hunk with details about mq.
3 years ago
Daniel Shahaf e1f5172a48 45583/0008: vcs_info git: Use best practices in an example
The alias was vulnerable to SHORT_LOOPS syntax, not invokable from
scripts, etc..
3 years ago
Daniel Shahaf 2144d01102 45583/0007: vcs_info docs: vcs_info_lastmsg: Correct an ambiguous/wrong description. 3 years ago
Daniel Shahaf 517e1777a5 45583/0006: vcs_info docs: Change user-context name in an example, to avoid confusion with the special-casing of the value `command' in vcs_info_lastmsg. 3 years ago
Daniel Shahaf ebcb20a9c0 45583/0005: vcs_info docs: Recommend use of prompt expandos rather than terminal escape sequences. 3 years ago
Daniel Shahaf 9b5f80285d 45583/0003: docs: Fix rendering in the man page output
In the man page output, the text was underlined from the var()
to the end of the paragraph.

The texi output in affected.  For instance, the text `name' in TeX
is now slanted Roman (\slshape\rmfamily) rather than slanted teletype
(\slshape\ttfamily).
3 years ago
Daniel Shahaf d07c945e74 45583/0002 (tweaked): docs: Fix rendering of an example in the man page output
The texi output was unaffected.  However, in the man page on my system,
everything after the example() was underlined and not indented.
3 years ago
Lawrence Velázquez 83cc7c6bf0 47830: Fix some documentation typos 3 years ago
Jun-ichi Takimoto 34eae73490 47731 (+unposted): add run-help assistant for btrfs
also fix format errors in contrib.yo
3 years ago
Axel Beckert da534770fd 47468: Doc/Zsh/contrib.yo: Fix typo 4 years ago
Mikael Magnusson 841188439b 47306: edit-command-line: add editor style 4 years ago
Daniel Shahaf fa51a38955 46240: Make the expansion of manref()() in ztexi.yo match its expansion in zman.yo.
The difference was mostly harmless in the common case "(see manref(foo)(42))",
which expanded to "(see man page foo(42))" under ztexi.yo, but in other
contexts the ztexi.yo expansion was was nonsensical; for example:

    "the BSD manref(echo)(1) command"

    "the string returned by the manref(getlogin)(3) system call"

    "advisory file locking (via the manref(fcntl)(2) system call)"

    "this is the exact opposite from manref(ls)(1),"

While there, copyedit some uses of manref()().
4 years ago
Daniel Shahaf 0cffb0a6b3 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
See workers/46004 for the use-case.
4 years ago
Daniel Shahaf 4e3d08fea8 unposted: docs: Fix some markup and typos. 4 years ago
Manuel Jacob ae0129b49f 46091: Add code to Mercurial VCS backend to show topic if there is any.
"Topics" is an experimental concept in Mercurial that augments the
current branching concept (called "named branches").

For more information, see the not always up-to-date Mercurial Wiki page
https://www.mercurial-scm.org/wiki/TopicPlan.
4 years ago
Daniel Shahaf e1946bacf8 45540: vcs_info git: In non-interactive rebases, compute patch names for unapplied patches. 4 years ago
Peter Stephenson 2ce5f6d79a users/24628 (fixed): More doc for selectw-word-style widgets.
Add example of how to add a new binding for a widget that fixes
a particular word behaviour using styles.
4 years ago
Daniel Shahaf 759daf2362 unposted (after 45183): Fix yodl error: "contrib.yo:4457: No macro: back(...)". 4 years ago
Stephane Chazelas da19b67388 45183: Improve documentation examples 4 years ago
Daniel Shahaf 6e5bba8cba 45113: vcs_info docs: Clarify documentation of the %p/%u/%a patch-format expandos. 4 years ago
Daniel Shahaf 48ebe82b48 45073: regex-replace docs: Simplify grammar (avoid a double negative, state defaults first). 4 years ago
Martijn Dekker bcde790c88 44981: Fix some typos in the documentation. 5 years ago
Daniel Shahaf e38f15f8ff 43620 (tweaked): vcs_info git: Reverse the order patches are passed to gen-unapplied-string in.
This is an incompatible change; see README for details.

Tweaks (relative to posted version): tweaked README, removed scalpel (debug print).
6 years ago
Daniel Shahaf 6a5c38626b unposted: Fix typo 6 years ago
Matthew Martin 72e3b566b4 Update distro docs to remove dead links 6 years ago
Barton E. Schaefer 43e55a9bcd 41472: introduce cleanup hooks default and restore special themes, and update documentation 7 years ago
Daniel Shahaf b627c251a4 unposted (after 40859): Fix yodl warning:
makeinfo ./zsh.texi
    ./zsh.texi:36246: Next field of node `vcs_info Examples' not pointed to (perhaps incorrect sectioning?).
    ./zsh.texi:36419: This node (Prompt Themes) has the bad Prev.

Seen with yodl 3.00.00 but not with 3.04.00.
7 years ago
Daniel Shahaf 10220628e7 40859: vcs_info docs: Use proper internal links through texinfo nodes.
Changes:

- Add texinode()'s
- Replace 'see foo' with 'see noderef(foo)'

Drive-by changes:

- Fix one reference to a nonexistent "Styles" section
- (minor) Fix whitespace around "once"
7 years ago
Daniel Shahaf f3ae40f8aa unposted: vcs_info quilt: Fix documentation markup typo. 7 years ago
Daniel Shahaf 56ef4f62c4 40822: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 7 years ago
Daniel Shahaf ecd88284f3 40492: vcs_info: Escape '%' signs in payloads.
Test case: a patch whose subject is '%Sfoo%sbar'.  ('S' and 's' are
expandos both in prompts and in the 'formats' style.)
7 years ago
Daniel Shahaf bb6c08b51a unposted: vcs_info git: Fix typo in manual. 7 years ago
Daniel Shahaf 49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 7 years ago
Daniel Shahaf b0784025b1 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. 7 years ago
Eitan Adler 110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
8 years ago
Daniel Shahaf 5dbfbd8bd0 unposted: Minor documentation fixes (markup, grammar, etc). 8 years ago
Daniel Shahaf b4cc190db9 39522: add-zsh-hook/add-zle-hook-widget: Promise append semantics.
The sentence about "as widgets" is removed since there is a whole paragraph
about that later on.
8 years ago
Daniel Shahaf 4f2a1810f2 39495: add-zle-hook-widget: Add end-of-options guard to hook invocation.
Currently, the only special widget that takes arguments is zle-keymap-select.
8 years ago