build(vim-patch): sound feature is n/a (#41257)

Vim core did not leverage it to override/customize bell/beep.
It wasn't used for custom sounds for system/user (autocmd) events.
It should be in-scope for GUI, unlike terminal, even as a plugin
by leveraging some internal option similar to `set guioptions+=!`.

No progress as of Vim 9.2 so I quit.
This commit is contained in:
Jan Edmund Lazo
2026-08-10 00:29:42 -04:00
committed by GitHub
parent 2b29905c7f
commit 2450ae797c
4 changed files with 8 additions and 3 deletions

View File

@@ -958,7 +958,7 @@ is_na_patch() {
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
'-I^\s+$' \
'-I^\s*/?\*/?$' \
'-I^\s*(//|/?\*).*\s[vV]im9' \
'-I^\s*(//|/?\*).*\s([vV]im9|sound)' \
'-I^#\s*((ifdef|ifndef|define|undef)|(if|elif)\s.*defined\().*FEAT_' \
'-I^#\s*(else|endif)' \
'-I#\s*define\s+XDG_' \
@@ -987,11 +987,11 @@ is_na_patch() {
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
'-I^\s+$' \
'-I^\s*/?\*/?$' \
'-I^\s*(//|/?\*).*\s[vV]im9' \
'-I^\s*(//|/?\*).*\s([vV]im9|sound)' \
'-I^#\s*((ifdef|ifndef|define|undef)\s|(if|elif)\s.*defined\().*FEAT_' \
'-I^#\s*(else|endif)' \
'-I^#\s*include\s+<proto/' \
'-I^\s+\{"prop_[a-z]+",.*f_prop_[a-z]+},$' \
'-I^\s+\{"(prop|sound)_[a-z]+",.*f_(prop|sound)_[a-z]+},$' \
'-I#\s*define.*ex_ni$' \
'-I[_.>]sc_version = ' \
'-I[_.>]uf_script_ctx_version = ' \