diff options
author | LemonBoy <thatlemon@gmail.com> | 2024-07-04 19:23:16 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-07-04 19:23:16 +0200 |
commit | 749ba0f6d922b3f6b54a66543c214479492b5a0e (patch) | |
tree | 52cb115b2cc1a254306bf14e64cc20784a6b1fab /runtime/doc/todo.txt | |
parent | 11d599257310bb95a7d1a3537345ae26f36c6210 (diff) |
patch 9.1.0529: silent! causes following try/catch to not workv9.1.0529
Problem: silent! causes following try/catch to not work
(Malcolm Rowe)
Solution: consider emsg_silent in handle_did_throw() and do not abort
evaluation flow for :silent! (LemonBoy)
The silent! flag causes the evaluation not to be aborted in case of
uncaught exceptions, adjust handle_did_throw to take this detail into
account.
Fixes the long-standing todo.txt item:
```
Problem that a previous silent ":throw" causes a following try/catch not
to work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
Also see #8487 for an example.
```
fixes: #538
closes: #15128
Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/todo.txt')
-rw-r--r-- | runtime/doc/todo.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index c37a1d4bd1..5b15a46b8c 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 9.1. Last change: 2024 Jun 03 +*todo.txt* For Vim version 9.1. Last change: 2024 Jul 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -512,10 +512,6 @@ Information for a specific terminal (e.g. gnome, tmux, konsole, alacritty) is spread out. Make a section with copy/paste examples of script and pointers to more information. -Problem that a previous silent ":throw" causes a following try/catch not to -work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24) -Also see #8487 for an example. - Request to use "." for the cursor column in search pattern \%<.c and \%<.v. (#8179) |