Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PM_TAGGED and PM_TAGGED_LOCAL being set simultaneously (functions -T -t f)
- X-seq: zsh-workers 48573
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PM_TAGGED and PM_TAGGED_LOCAL being set simultaneously (functions -T -t f)
- Date: Wed, 14 Apr 2021 15:03:37 +0000
- Archived-at: <https://zsh.org/workers/48573>
- List-id: <zsh-workers.zsh.org>
As y'all recall, «functions -T» and «-t» set the XTRACE option for calls
to the named function.
With that in mind, in the following code:
[[[
f() g
g() :
functions -T f
functions -t f
f
]]]
Should XTRACE be on or off when g is run? Or should an error be raised
before g is called?
And if -t were set first and -T second?
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author