vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Clearing errors?


From: Thomas Dickey
Subject: Re: [vile] Clearing errors?
Date: Fri, 11 Mar 2016 21:19:54 -0500 (EST)

----- Original Message -----
| From: "Marc Simpson" <address@hidden>
| To: "Thomas Dickey" <address@hidden>
| Cc: address@hidden
| Sent: Friday, March 11, 2016 9:08:49 PM
| Subject: Re: [vile] Clearing errors?
| 
| On Fri, Mar 11, 2016 at 4:27 PM, Thomas Dickey <address@hidden>
| wrote:
| >> which clears $_ (i.e., sets to TRUE). If there's a way to properly
| >
| > offhand, I don't think I considered this problem.  But I can
| > reproduce
| > it, and will take a look (it's simpler than what I was working on
| > just
| > now...)
| 
| thanks :)
| 
| > $_ corresponds to the internal variable lastcmdstatus, which is set
| > after executing any command.
| 
| good to know. related: does vile unwind the stack when macro
| execution
| fails (as it does in `oops')?

no... it propagates the error up until it's either ignored with a ~force,
or to the topmost level.  You can see most of that by turning on the
trace, e.g., with the command-line -D option, or in a macro using

   ~trace on

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]