Skip to content

Commit 0635ee6

Browse files
committed
Runtime file updates
1 parent 696cbd2 commit 0635ee6

6 files changed

Lines changed: 3199 additions & 32 deletions

File tree

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8497,8 +8497,8 @@ listcmds Compiled with commands for the buffer list |:files|
84978497
localmap Compiled with local mappings and abbr. |:map-local|
84988498
lua Compiled with Lua interface |Lua|.
84998499
mac Any Macintosh version of Vim, but not all OS X.
8500-
macunix Compiled for OS X, with darwin
8501-
osx Compiled for OS X, with or without darwin
8500+
macunix Compiled for OS X, with |mac-darwin-feature|
8501+
osx Compiled for OS X, with or w/o |mac-darwin-feature|
85028502
menu Compiled with support for |:menu|.
85038503
mksession Compiled with support for |:mksession|.
85048504
modify_fname Compiled with file name modifiers. |filename-modifiers|

runtime/doc/os_mac.txt

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_mac.txt* For Vim version 8.0. Last change: 2006 Apr 30
1+
*os_mac.txt* For Vim version 8.0. Last change: 2017 Apr 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar et al.
@@ -18,6 +18,7 @@ NOTE: This file is a bit outdated. You might find more useful info here:
1818
5. Known Lack |mac-lack|
1919
6. Mac Bug Report |mac-bug|
2020
7. Compiling Vim |mac-compile|
21+
8. The darwin feature |mac-darwin-feature|
2122

2223
There was a Mac port for version 3.0 of Vim. Here are the first few lines
2324
from the old file:
@@ -126,5 +127,55 @@ send a message to the current MacVim maintainers:
126127

127128
See the file "src/INSTALLmac.txt" that comes with the source files.
128129

130+
==============================================================================
131+
8. The Darwin Feature *mac-darwin-feature*
132+
133+
If you have a Mac that isn't very old, you will be running OS X, also called
134+
Darwin. The last pre-Darwin OS was Mac OS 9. The darwin feature makes Vim
135+
use Darwin-specific properties.
136+
137+
What is accomplished with this feature is two-fold:
138+
139+
- Make Vim interoperable with the system clipboard.
140+
- Incorporate into Vim a converter module that bridges the gap between some
141+
character encodings specific to the platform and those known to Vim.
142+
143+
Needless to say, both are not to be missed for any decent text editor to work
144+
nicely with other applications running on the same desktop environment.
145+
146+
As Vim is not an application dedicated only to macOS, we need an extra feature
147+
to add in order for it to offer the same user experience that our users on
148+
other platforms enjoy to people on macOS.
149+
150+
For brevity, the feature is referred to as "darwin" to signify it one of the
151+
Vim features that are specific to that particular platform.
152+
153+
The feature is a configuration option. Accordingly, whether it is enabled or
154+
not is determined at build time; once it is selected to be enabled, it is
155+
compiled in and hence cannot be disabled at runtime.
156+
157+
The feature is enabled by default. For most macOS users, that should be
158+
sufficient unless they have specific needs mentioned briefly below.
159+
160+
If you want to disable it, pass `--disable-darwin` to the configure script: >
161+
162+
./configure --disable-darwin <other options>
163+
164+
and then run `make` to build Vim. The order of the options doesn't matter.
165+
166+
To make sure at runtime whether or not the darwin feature is compiled in, you
167+
can use `has('macunix')` which returns 1 if the feature is compiled in; 0
168+
otherwise.
169+
170+
Notable use cases where `--disable-darwin` is turned out to be useful are:
171+
172+
- When you want to use |x11-selection| instead of the system clipboard.
173+
- When you want to use |x11-clientserver|.
174+
175+
Since both have to make use of X11 inter-client communication for them to work
176+
properly, and since the communication mechanism can come into conflict with
177+
the system clipboard, the darwin feature should be disabled to prevent Vim
178+
from hanging at runtime.
179+
129180

130181
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7180,6 +7180,7 @@ m` motion.txt /*m`*
71807180
mac os_mac.txt /*mac*
71817181
mac-bug os_mac.txt /*mac-bug*
71827182
mac-compile os_mac.txt /*mac-compile*
7183+
mac-darwin-feature os_mac.txt /*mac-darwin-feature*
71837184
mac-faq os_mac.txt /*mac-faq*
71847185
mac-filename os_mac.txt /*mac-filename*
71857186
mac-lack os_mac.txt /*mac-lack*

runtime/doc/todo.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.0. Last change: 2017 Apr 23
1+
*todo.txt* For Vim version 8.0. Last change: 2017 Apr 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -111,11 +111,16 @@ Regexp problems:
111111
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
112112
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
113113

114+
With foldmethod=syntax and nofoldenable comment highlighting isn't removed.
115+
(Marcin Szewczyk, 2017 Apr 26)
116+
114117
Running test_gui and test_gui_init with Motif sometimes kills the window
115118
manager. Problem with Motif?
116119

117120
Memory leak in test97? The string is actually freed. Weird.
118121

122+
Patch for shellescape(). (Christian Brabandt, 2017 Apr 20, #1590)
123+
119124
Patch for flickering redraw. (Hirohito Higashi, 2017 Apr 23, #1637)
120125

121126
New value "uselast" for 'switchbuf'. (Lemonboy, 2017 Apr 23, #1652)
@@ -246,6 +251,9 @@ Does this also fix #1408 ?
246251

247252
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
248253

254+
When 'completeopt' has "noselect" does not insert a newline. (Lifepillar, 2017
255+
Apr 23, #1653)
256+
249257
Window resizing with 'winfixheight': With a vertical split the height changes
250258
anyway. (Tommy allen, 2017 Feb 21, #1502)
251259

@@ -355,6 +363,10 @@ names, shell commands and the like. (Kikuchan, 2010 Oct 14)
355363
Assume the system converts between the actual encoding of the filesystem to
356364
the system encoding (usually utf-8).
357365

366+
Using ":tab drop file" does not trigger BufEnter or TabEnter events.
367+
(Andy Stewart, 2017 Apr 27, #1660)
368+
Autocommands blocked in do_arg_all(). Supposed to happen later?
369+
358370
'hlsearch' interferes with a Conceal match. (Rom Grk, 2016 Aug 9)
359371

360372
Patch to add context information to quickfix/location list. (Yegappan

0 commit comments

Comments
 (0)