help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: [PATCH 2/4] docs: Add texinode()s, so the next commit can link directly to a subsection.
Date: Sun, 26 Sep 2021 08:43:45 +0000	[thread overview]
Message-ID: <20210926084347.9927-2-danielsh@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <20210926084347.9927-1-danielsh@tarpaulin.shahaf.local2>

Should I also add startmenu() or something?  The subsect()s appear in
the table of contents even without that, and I'm not sure what would be
expected under native info viewers.



 Doc/Zsh/expn.yo | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 50f70c9af..16e99269c 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1889,6 +1889,7 @@ The tt(PUSHD_MINUS)
 option exchanges the effects of `tt(~PLUS())' and `tt(~-)' where they are
 followed by a number.
+texinode(Dynamic named directories)(Static named directories)()(Filename Expansion)
 subsect(Dynamic named directories)
 cindex(directories, named, dynamic)
 cindex(named directories, dynamic)
@@ -1982,6 +1983,7 @@ example(zsh_directory_name+LPAR()RPAR() {
   return 0
+texinode(Static named directories)(`=' expansion)(Dynamic named directories)(Filename Expansion)
 subsect(Static named directories)
 cindex(directories, named, static)
 cindex(named directories, static)
@@ -2008,6 +2010,7 @@ i.e. either the directory name or the full path; the name is used
 if they are the same length.
 The parameters tt($PWD) and tt($OLDPWD) are never abbreviated in this fashion.
+texinode(`=' expansion)(Notes)(Static named directories)(Filename Expansion)
 subsect(`=' expansion)
 If a word begins with an unquoted `tt(=)'
@@ -2017,6 +2020,7 @@ name of a command.  If a command
 exists by that name, the word is replaced
 by the full pathname of the command.
+texinode(Notes)()(`=' expansion)(Filename Expansion)
 cindex(filename expansion, notes)
 Filename expansion is performed on the right hand side of a parameter

  reply	other threads:[~2021-09-26  8:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26  8:43 [PATCH 1/4] docs: Clean up some subsection references Daniel Shahaf
2021-09-26  8:43 ` Daniel Shahaf [this message]
2021-09-27 15:41   ` [PATCH 2/4] docs: Add texinode()s, so the next commit can link directly to a subsection Bart Schaefer
2021-10-12 14:53     ` Daniel Shahaf
2021-09-26  8:43 ` [PATCH 3/4] docs: _wanted: Clarify the example and point to another one Daniel Shahaf
2021-09-27 15:38   ` Bart Schaefer
2021-09-27 15:55     ` Oliver Kiddle
2021-10-12 14:40       ` Daniel Shahaf
2021-09-26  8:43 ` [PATCH 4/4] docs: Fix pointers to the `Widgets', `User-defined Widgets', and `Standard Widgets' sections Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210926084347.9927-2-danielsh@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).