From 28b13d82d49de549f9af7f38a0e3bf87a71e2726 Mon Sep 17 00:00:00 2001 From: h-east Date: Sun, 2 Nov 2025 06:30:44 +0900 Subject: [PATCH 1/2] Update message.{txt,jax} --- doc/message.jax | 19 ++++++++++++++++++- en/message.txt | 18 +++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/doc/message.jax b/doc/message.jax index abfe7b2ed..293b09797 100644 --- a/doc/message.jax +++ b/doc/message.jax @@ -1,4 +1,4 @@ -*message.txt* For Vim バージョン 9.1. Last change: 2025 Oct 12 +*message.txt* For Vim バージョン 9.1. Last change: 2025 Nov 01 VIM リファレンスマニュアル by Bram Moolenaar @@ -636,6 +636,23 @@ http://groups.yahoo.com/group/solarisonintel/message/12179. と。'buftype' が空でない場合は、このメッセージは表示されない。 |FileChangedShell| 自動コマンドも参照。 +You will be given a dialog with the following options: +次のオプションを含むダイアログが表示される: + +"OK": 警告を無視して編集を続行する。変更は読み込まれず、バッファはそ + のまま残る。 + +"Load File": ディスクからファイルを再読み込みし、現在のバッファの内容を置き + 換える。Vim で行った変更のうち保存されていないものはすべて失わ + れる。 + +"Load File and Options": + ディスクからファイルを再読み込みし、インデント、構文ハイライ + ト、テキスト幅、その他のファイルタイプ固有のオプションなど、関 + 連するファイル設定を適用する。これにより、現在の設定と自動コマ + ンドに基づいて、バッファがファイルの意図した構成と一致するよう + になる。 + 何も間違ったことをしていないのに、このメッセージを受け取る可能性が1つ考えられ る: 夏時間が始まる日にWindowsでファイルを保存した場合である。この場合、次の方 法のうちどれかで修正できる: > diff --git a/en/message.txt b/en/message.txt index 33b8fbdfe..a8d7b577c 100644 --- a/en/message.txt +++ b/en/message.txt @@ -1,4 +1,4 @@ -*message.txt* For Vim version 9.1. Last change: 2025 Oct 12 +*message.txt* For Vim version 9.1. Last change: 2025 Nov 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -644,6 +644,22 @@ Set the 'autoread' option if you want to do this automatically. This message is not given when 'buftype' is not empty. Also see the |FileChangedShell| autocommand. +You will be given a dialog with the following options: + +"OK": Dismiss the warning and continue editing. No changes are + loaded, the buffer remains as it is. + +"Load File": Reload the file from disk, replacing the current buffer + contents. Any changes you made in Vim that haven't been saved + will be lost. + +"Load File and Options": + Reload the file from disk and, in addition, apply relevant + file settings, such as indentation, syntax highlighting, text + width, and other filetype-specific options. This ensures the + buffer matches the file's intended configuration according to + your current settings and autocommands. + There is one situation where you get this message even though there is nothing wrong: If you save a file in Windows on the day the daylight saving time starts. It can be fixed in one of these ways: From b69615797c4dcb30b27c4e342974ab97c4115a45 Mon Sep 17 00:00:00 2001 From: h-east Date: Sun, 2 Nov 2025 08:08:25 +0900 Subject: [PATCH 2/2] fix --- doc/message.jax | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/message.jax b/doc/message.jax index 293b09797..d7266803c 100644 --- a/doc/message.jax +++ b/doc/message.jax @@ -636,7 +636,6 @@ http://groups.yahoo.com/group/solarisonintel/message/12179. と。'buftype' が空でない場合は、このメッセージは表示されない。 |FileChangedShell| 自動コマンドも参照。 -You will be given a dialog with the following options: 次のオプションを含むダイアログが表示される: "OK": 警告を無視して編集を続行する。変更は読み込まれず、バッファはそ