Closed lyokha closed 10 years ago
Hm, fencview doesn't really allow to selectively disable it. So I have now implemented a hackish workaround, that should fix this issue. Please try current head.
I tried. Unfortunately it does not work well. I have to press <Enter>
twice again, here is my output:
E325: ATTENTION
Found a swap file by the name ".TagHLConfig.txt.swp"
owned by: lyokha dated: Sun Aug 18 21:35:53 2013
file name: ~lyokha/TagHLConfig.txt
modified: YES
user name: lyokha host name: desktop.localdomain
process ID: 20866 [not existing]
Please choose:
"TagHLConfig.txt" 12L, 265C
Используется своп-файл "~/.TagHLConfig.txt.swp"
Исходный файл "~/TagHLConfig.txt"
Восстановление завершено. Проверьте, всё ли в порядке.
(Можете записать файл под другим именем и сравнить его с исходным
файлом при помощи программы diff)
Вероятно, сейчас вы захотите удалить файл .swp.
"~/TagHLConfig.txt" 12L, 265C
"TagHLConfig.txt (on-disk version)" [Изменён][Не редактировался] 12 стр. --100%--
W10: Предупреждение: Изменение файла с правами только для чтения
Обнаружена ошибка при обработке function <SNR>44_CheckModelineFileEncoding:
строка 8:
E325: ВНИМАНИЕ
Обнаружен своп-файл с именем "~/.TagHLConfig.txt.swp"
владелец: lyokha дата: Sun Aug 18 21:35:53 2013
имя файла: ~lyokha/TagHLConfig.txt
изменён: ДА
пользователь: lyokha компьютер: desktop.localdomain
процесс: 20866
при открытии файла: "/home/lyokha/TagHLConfig.txt"
дата: Sun Aug 18 21:27:37 2013
(1) Возможно, редактирование этого же файла выполняется в другой программе.
Если это так, то будьте внимательны при внесении изменений, чтобы
у вас не появилось два разных варианта одного и того же файла.
Завершите работу или продолжайте с осторожностью.
(2) Сеанс редактирования этого файла завершён аварийно.
В этом случае, используйте команду ":recover" или "vim -r /home/lyokha/TagHLConfig.txt"
для восстановления изменений (см. ":help recovery").
Если вы уже выполняли эту операцию, удалите своп-файл "/home/lyokha/.TagHLConfig.txt.swp"
чтобы избежать появления этого сообщения в будущем.
Своп-файл "~/.TagHLConfig.txt.swp" уже существует!
[O] Открыть для чтения, (E) Редактировать, (R) Восстановить, (D) Удалить, (Q) Выход, (A) Прервать:
(there is Russian here). Now it claims about error in <Enter>
i finally get into the diff mode but with unchanged lines for some reason.
Actually i do not care much about this issue because disabling automatic Fencview fits well my tasks :)
Cheers, Alexey.
Not actually a bug but rather interesting behaviour. I have installed plugin fencview (http://www.vim.org/scripts/script.php?script_id=1708). With this if i have a swap file Recover behaves not as expected: it shows its original dialog and when i press
<Enter>
it shows vim's recover menu and when i press<Enter>
again it shows FencView errors. All this looks likeand after that a single buffer opens without the diff mode.
I found that i can suppress this issue by adding in my .vimrc line
Cheers, Alexey.