# # # patch "NEWS" # from [d42378aa2a0b394bbcb6b48de75cdf392f06992c] # to [bd06b2ffe4995e0b6e50ec7ac2e062f7b544c836] # # patch "selectors.cc" # from [9d5b40b5b6930b793c110d0950076556ff182782] # to [40821beb2ad59a781994bccd4a918eaabc7ca549] # ============================================================ --- NEWS d42378aa2a0b394bbcb6b48de75cdf392f06992c +++ NEWS bd06b2ffe4995e0b6e50ec7ac2e062f7b544c836 @@ -22,6 +22,11 @@ xxx xxx xx xx:xx:xx UTC 2009 - Exceptions in Lua extension functions will now be converted into a Lua error catchable with pcall, instead of causing a horrible crash. + - If the use of an invalid selector is detected then the command + errors right away rather than carrying on with the selection + process. Also if this happens via automate stdio then the error + is now reported in band on stdout rather than stderr. + Internal ============================================================ --- selectors.cc 9d5b40b5b6930b793c110d0950076556ff182782 +++ selectors.cc 40821beb2ad59a781994bccd4a918eaabc7ca549 @@ -120,8 +120,7 @@ decode_selector(options const & opts, lu type = sel_base; break; default: - W(F("unknown selector type: %c") % sel[0]); - break; + E(false, origin::user, F("unknown selector type: %c") % sel[0]); } sel.erase(0,2);