annotate runtime/bugreport.vim @ 31168:25f6c7f77c70 v9.0.0918

patch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event Commit: https://github.com/vim/vim/commit/0319306f20d2a5989d1f5639a47d77cebeac2f29 Author: Christopher Plewright <chris@createng.com> Date: Tue Nov 22 12:58:27 2022 +0000 patch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event Problem: MS-Windows: modifier keys do not work with mouse scroll events. Solution: Use K_SPECIAL instead of CSI for the modifier keys. (Christopher Plewright, closes #11587)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Nov 2022 14:00:04 +0100
parents fe57e4f0eac1
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 :" Use this script to create the file "bugreport.txt", which contains
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 :" information about the environment of a possible bug in Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :" Maintainer: Bram Moolenaar <Bram@vim.org>
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 323
diff changeset
5 :" Last change: 2019 Jan 27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :" To use inside Vim:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :" :so $VIMRUNTIME/bugreport.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :" Or, from the command line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :" vim -s $VIMRUNTIME/bugreport.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :" The "if 1" lines are to avoid error messages when expression evaluation is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :" not compiled in.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 : let more_save = &more
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :set nomore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :if has("unix")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 : !echo "uname -a" >bugreport.txt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 : !uname -a >>bugreport.txt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :redir >>bugreport.txt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 :version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 : func <SID>CheckDir(n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 : if isdirectory(a:n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 : echo 'directory "' . a:n . '" exists'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 : else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 : echo 'directory "' . a:n . '" does NOT exist'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 : endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 : endfun
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 : func <SID>CheckFile(n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 : if filereadable(a:n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 : echo '"' . a:n . '" is readable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 : else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 : echo '"' . a:n . '" is NOT readable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 : endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 : endfun
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 : echo "--- Directories and Files ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 : echo '$VIM = "' . $VIM . '"'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 : call <SID>CheckDir($VIM)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 : echo '$VIMRUNTIME = "' . $VIMRUNTIME . '"'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 : call <SID>CheckDir($VIMRUNTIME)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 : call <SID>CheckFile(&helpfile)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 : call <SID>CheckFile(fnamemodify(&helpfile, ":h") . "/tags")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 : call <SID>CheckFile($VIMRUNTIME . "/menu.vim")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 : call <SID>CheckFile($VIMRUNTIME . "/filetype.vim")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 : call <SID>CheckFile($VIMRUNTIME . "/syntax/synload.vim")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 : delfun <SID>CheckDir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 : delfun <SID>CheckFile
323
03b3684919e3 updated for version 7.0084
vimboss
parents: 7
diff changeset
52 : echo "--- Scripts sourced ---"
03b3684919e3 updated for version 7.0084
vimboss
parents: 7
diff changeset
53 : scriptnames
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 :set all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 :set termcap
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 323
diff changeset
57 :au
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 : echo "--- Normal/Visual mode mappings ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 :map
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 : echo "--- Insert/Command-line mode mappings ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 :map!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 : echo "--- Abbreviations ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 :ab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 : echo "--- Highlighting ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 :highlight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 : echo "--- Variables ---"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 : let
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 :redir END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 :set more&
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 :if 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 : let &more = more_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 : unlet more_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 :e bugreport.txt