zsh-workers
 help / color / mirror / code / Atom feed
* PM_TAGGED and PM_TAGGED_LOCAL being set simultaneously (functions -T -t f)
@ 2021-04-14 15:03 Daniel Shahaf
  2021-04-14 15:22 ` Peter Stephenson
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Shahaf @ 2021-04-14 15:03 UTC (permalink / raw)
  To: zsh-workers

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


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

end of thread, other threads:[~2021-05-18  1:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 15:03 PM_TAGGED and PM_TAGGED_LOCAL being set simultaneously (functions -T -t f) Daniel Shahaf
2021-04-14 15:22 ` Peter Stephenson
2021-04-15 16:21   ` Daniel Shahaf
2021-04-15 18:38     ` Peter Stephenson
2021-04-15 20:58       ` Daniel Shahaf
2021-05-16 14:50         ` Lawrence Velázquez
2021-05-18  1:57           ` Daniel Shahaf

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