Mercurial > vim
comparison runtime/doc/todo.txt @ 35539:50f2489b234b v9.1.0529
patch 9.1.0529: silent! causes following try/catch to not work
Commit: https://github.com/vim/vim/commit/749ba0f6d922b3f6b54a66543c214479492b5a0e
Author: LemonBoy <thatlemon@gmail.com>
Date: Thu Jul 4 19:23:16 2024 +0200
patch 9.1.0529: silent! causes following try/catch to not work
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Jul 2024 19:45:04 +0200 |
parents | a9e6d02f003c |
children | a0f822031bfc |
comparison
equal
deleted
inserted
replaced
35538:37fbf37e11ff | 35539:50f2489b234b |
---|---|
1 *todo.txt* For Vim version 9.1. Last change: 2024 Jun 03 | 1 *todo.txt* For Vim version 9.1. Last change: 2024 Jul 04 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
509 Can we add highlighting to ":echowindow"? | 509 Can we add highlighting to ":echowindow"? |
510 | 510 |
511 Information for a specific terminal (e.g. gnome, tmux, konsole, alacritty) is | 511 Information for a specific terminal (e.g. gnome, tmux, konsole, alacritty) is |
512 spread out. Make a section with copy/paste examples of script and pointers to | 512 spread out. Make a section with copy/paste examples of script and pointers to |
513 more information. | 513 more information. |
514 | |
515 Problem that a previous silent ":throw" causes a following try/catch not to | |
516 work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24) | |
517 Also see #8487 for an example. | |
518 | 514 |
519 Request to use "." for the cursor column in search pattern \%<.c and \%<.v. | 515 Request to use "." for the cursor column in search pattern \%<.c and \%<.v. |
520 (#8179) | 516 (#8179) |
521 | 517 |
522 ":filter set termcap" only filters terminal codes, not keys. (#9297) | 518 ":filter set termcap" only filters terminal codes, not keys. (#9297) |