zsh-workers
 help / color / mirror / code / Atom feed
* Doc bug: sched / set
@ 2011-02-27 20:55 Bart Schaefer
  2011-02-27 22:10 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2011-02-27 20:55 UTC (permalink / raw)
  To: zsh-workers

The builtins.yo reference to the "sched" command got converted at some
point into a use of the module() macro.  The problem is, that left some
stray text behind which got incorporated on the end of the description
of the "set" builtin:

The tt(sched) builtin is not made available by default when the shell
starts in a mode emulating another shell.  It can be made available
with the command `tt(zmodload -F zsh/sched b:sched)'.

Several choices possible here:

(1) Delete this text entirely.
(2) Move the text from the builtins.yo to mod_sched.yo.
(3) Create an xmodule() macro that accepts a third argument and pass the
    text there, so it appears in the correct item() in builtins.yo

I haven't checked closely for whether there are other cases where (3) may
be wanted.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Doc bug: sched / set
  2011-02-27 20:55 Doc bug: sched / set Bart Schaefer
@ 2011-02-27 22:10 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2011-02-27 22:10 UTC (permalink / raw)
  To: zsh-workers

On Sun, 27 Feb 2011 12:55:49 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> The builtins.yo reference to the "sched" command got converted at some
> point into a use of the module() macro.  The problem is, that left some
> stray text behind which got incorporated on the end of the description
> of the "set" builtin:
> 
> The tt(sched) builtin is not made available by default when the shell
> starts in a mode emulating another shell.  It can be made available
> with the command `tt(zmodload -F zsh/sched b:sched)'.
> 
> Several choices possible here:
> 
> (1) Delete this text entirely.
> (2) Move the text from the builtins.yo to mod_sched.yo.
> (3) Create an xmodule() macro that accepts a third argument and pass the
>     text there, so it appears in the correct item() in builtins.yo

I'd have thought (2) would be adequate.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-27 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-27 20:55 Doc bug: sched / set Bart Schaefer
2011-02-27 22:10 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).