From cbfa926d7ee14c2c8b72f4afaf9defbe8cc9bcc1 Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Mon, 20 Jan 2020 22:50:34 +0900 Subject: [PATCH 1/3] Update usr_* --- doc/usr_05.jax | 11 +++++------ doc/usr_23.jax | 4 ++-- doc/usr_24.jax | 4 ++-- doc/usr_27.jax | 4 ++-- en/usr_05.txt | 11 +++++------ en/usr_23.txt | 4 ++-- en/usr_24.txt | 4 ++-- en/usr_27.txt | 2 +- 8 files changed, 21 insertions(+), 23 deletions(-) diff --git a/doc/usr_05.jax b/doc/usr_05.jax index a21976149..d87c17544 100644 --- a/doc/usr_05.jax +++ b/doc/usr_05.jax @@ -43,7 +43,7 @@ Unix と Macintosh ではこのファイルを使ってください。 ~/.vimrc ~ -MS-DOS と MS-Windows では次のどちらかです。 +MS-Windows では次のどちらかです。 $HOME/_vimrc ~ $VIM/_vimrc ~ @@ -493,7 +493,6 @@ Vim を起動すると、自動的にいくつものグローバルプラグイ Amiga s:vimfiles/plugin Macintosh $VIM:vimfiles:plugin Mac OS X ~/.vim/plugin/ - RISC-OS Choices:vimfiles.plugin Unixの場合の例 (プラグインディレクトリがまだない場合) > @@ -557,9 +556,9 @@ Vim の配布パッケージにはたくさんのファイルタイププラグ した場合はうまく動きません。そのファイルは "otherstuff" というファイルタイプの ときにだけロードされます。 -MS-DOS では長いファイル名が使えません。プラグインを追加するときに、ファイルタ -イプ名が 6 文字以上だと問題が生じます。そういうときはさらにディレクトリを掘っ -てください: > +MS-DOS ライクなファイルシステムでは長いファイル名が使えません。プラグインを追 +加するときに、ファイルタイプ名が 6 文字以上だと問題が生じます。そういうときは +さらにディレクトリを掘ってください: > mkdir $VIM/vimfiles/ftplugin/fortran copy thefile $VIM/vimfiles/ftplugin/fortran/too.vim @@ -608,7 +607,7 @@ Note: ファイルの拡張子は必ず ".vim" にしてください。 :!mkdir ~/.vim/plugin :!cp /tmp/doit.vim ~/.vim/plugin -"cp" は Unix のコマンドです。MS-DOS では "copy" を使ってください。 +"cp" は Unix のコマンドです。MS-Windows では "copy" を使ってください。 次に 'runtimepath' のいずれかのディレクトリに "doc" ディレクトリを作ります。 > diff --git a/doc/usr_23.jax b/doc/usr_23.jax index ade963170..8a5119ba3 100644 --- a/doc/usr_23.jax +++ b/doc/usr_23.jax @@ -27,8 +27,8 @@ インフィード。) で用紙を送っていたのです。 コンピュータが登場した頃は記憶装置がとても高価だったので、改行のために二文字も 使う必要はないと考える人たちがいました。UNIX の人々は だけを使って改行す -ることに決めました。Apple の人々は を標準としました。MS-DOS (と Microsoft -Windows) の人々は を使い続けました。 +ることに決めました。Apple の人々は を標準としました。Microsoft Windows の +人々は古い を使い続けました。 このような事情により、異なるシステム間でファイルを交換するときには改行文字の非 互換が問題になります。Vim はファイル形式を自動的に認識し、それを適切に処理する ことができます。 diff --git a/doc/usr_24.jax b/doc/usr_24.jax index bc8be3cf7..d7a30bffe 100644 --- a/doc/usr_24.jax +++ b/doc/usr_24.jax @@ -553,8 +553,8 @@ Pd は Pound (ポンド) の略です。ほとんどのダイグラフには、 Note: ダイグラフはユーザーが使っている (と Vim が認識している) 文字セットに - 依存します。MS-DOS の文字セットと MS-Windows の文字セットは違います。 - ":digraphs" を使って、利用可能なダイグラフを確認してください。 + 依存します。":digraphs" を使って、利用可能なダイグラフを確認してくださ + い。 自分でダイグラフを定義することもできます。例: > diff --git a/doc/usr_27.jax b/doc/usr_27.jax index 723cbf2f6..dfb8f5cfd 100644 --- a/doc/usr_27.jax +++ b/doc/usr_27.jax @@ -82,8 +82,8 @@ ターンが使えなくなってしまうかもしれません。 Note: - 検索がなかなか終わらない場合は CTRL-C (Unix) または CTRL-Break (MS-DOS - と MS-Windows) で処理を中断できます。 + 検索がなかなか終わらない場合は CTRL-C (Unix) または CTRL-Break + (MS-Windows) で処理を中断できます。 ============================================================================== *27.2* ファイルの端で折り返す diff --git a/en/usr_05.txt b/en/usr_05.txt index 3b43f7ec7..2cfff2449 100644 --- a/en/usr_05.txt +++ b/en/usr_05.txt @@ -44,7 +44,7 @@ For Unix and Macintosh this file is always used and is recommended: ~/.vimrc ~ -For MS-DOS and MS-Windows you can use one of these: +For MS-Windows you can use one of these: $HOME/_vimrc ~ $VIM/_vimrc ~ @@ -476,7 +476,6 @@ Then copy the file to your plugin directory: Amiga s:vimfiles/plugin Macintosh $VIM:vimfiles:plugin Mac OS X ~/.vim/plugin/ - RISC-OS Choices:vimfiles.plugin Example for Unix (assuming you didn't have a plugin directory yet): > @@ -535,9 +534,9 @@ The underscore is used to separate the name of the filetype from the rest, which can be anything. If you use "otherstuff.vim" it wouldn't work, it would be loaded for the "otherstuff" filetype. -On MS-DOS you cannot use long filenames. You would run into trouble if you -add a second plugin and the filetype has more than six characters. You can -use an extra directory to get around this: > +On MS-DOS like filesystems you cannot use long filenames. You would run into +trouble if you add a second plugin and the filetype has more than six +characters. You can use an extra directory to get around this: > mkdir $VIM/vimfiles/ftplugin/fortran copy thefile $VIM/vimfiles/ftplugin/fortran/too.vim @@ -586,7 +585,7 @@ the "mkdir" commands if you already have the directory.) > :!mkdir ~/.vim/plugin :!cp /tmp/doit.vim ~/.vim/plugin -The "cp" command is for Unix, on MS-DOS you can use "copy". +The "cp" command is for Unix, on MS-Windows you can use "copy". Now create a "doc" directory in one of the directories in 'runtimepath'. > diff --git a/en/usr_23.txt b/en/usr_23.txt index 73a067980..b124b349d 100644 --- a/en/usr_23.txt +++ b/en/usr_23.txt @@ -29,8 +29,8 @@ start a new line. One to move the carriage back to the first position When computers came out, storage was expensive. Some people decided that they did not need two characters for end-of-line. The UNIX people decided they could use only for end-of-line. The Apple people -standardized on . The MS-DOS (and Microsoft Windows) folks decided to -keep the old . +standardized on . The Microsoft Windows folks decided to keep +the old . This means that if you try to move a file from one system to another, you have line-break problems. The Vim editor automatically recognizes the different file formats and handles things properly behind your back. diff --git a/en/usr_24.txt b/en/usr_24.txt index 1811174ef..00a1c4417 100644 --- a/en/usr_24.txt +++ b/en/usr_24.txt @@ -564,8 +564,8 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for Note: The digraphs depend on the character set that Vim assumes you are - using. On MS-DOS they are different from MS-Windows. Always use - ":digraphs" to find out which digraphs are currently available. + using. Always use ":digraphs" to find out which digraphs are currently + available. You can define your own digraphs. Example: > diff --git a/en/usr_27.txt b/en/usr_27.txt index 589c2a042..47368441a 100644 --- a/en/usr_27.txt +++ b/en/usr_27.txt @@ -83,7 +83,7 @@ matter if 'ignorecase' or 'smartcase' was changed. Note: If your search takes much longer than you expected, you can interrupt - it with CTRL-C on Unix and CTRL-Break on MS-DOS and MS-Windows. + it with CTRL-C on Unix and CTRL-Break on MS-Windows. ============================================================================== *27.2* Wrapping around the file end From 3ed80e82465b9912f615d0b66fe8037aebf1f7c0 Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Wed, 22 Jan 2020 12:39:34 +0900 Subject: [PATCH 2/3] Update usr_11 --- doc/usr_11.jax | 3 +++ en/usr_11.txt | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/usr_11.jax b/doc/usr_11.jax index e9121821f..3e3b91b7d 100644 --- a/doc/usr_11.jax +++ b/doc/usr_11.jax @@ -223,6 +223,9 @@ NOTE 以下の状況では、Vimはスワップファイルが有用ではない - ファイル変更済みのフラグが立っていない。 - プロセスが実行中でない。 +|FileChangedShell| 自動コマンドを使うと、この状況にプログラム的に対処すること +ができます。 + 読めないスワップファイル ------------------------ diff --git a/en/usr_11.txt b/en/usr_11.txt index fdbdd19f0..3aca185b5 100644 --- a/en/usr_11.txt +++ b/en/usr_11.txt @@ -1,4 +1,4 @@ -*usr_11.txt* For Vim version 8.2. Last change: 2019 Apr 28 +*usr_11.txt* For Vim version 8.2. Last change: 2020 Jan 17 VIM USER MANUAL - by Bram Moolenaar @@ -211,8 +211,11 @@ will automatically delete it: - The flag that the file was modified is not set. - The process is not running. +You can programatically deal with this situation with the |FileChangedShell| +autocommand event. -UNREADABLE SWAP FILE + +UNREADABLE SWAP FILE ~ Sometimes the line From 723490e313e5b05be6fc84a255406b6079bbf7fc Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Wed, 29 Jan 2020 12:41:48 +0900 Subject: [PATCH 3/3] Update usr_11.jax --- doc/usr_11.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usr_11.jax b/doc/usr_11.jax index 3e3b91b7d..b4b655be2 100644 --- a/doc/usr_11.jax +++ b/doc/usr_11.jax @@ -1,4 +1,4 @@ -*usr_11.txt* For Vim バージョン 8.2. Last change: 2019 Apr 28 +*usr_11.txt* For Vim バージョン 8.2. Last change: 2020 Jan 17 VIM USER MANUAL - by Bram Moolenaar