macvim-dev / macvim-dev/macvim

buffer renamed "expand(" on save

オープン
#1,216 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

This issue has plagued me for years in MacVim and I have not been able to identify the source. It is intermittent, and occurs roughly 1 every 100 hundred saves (so probably 2 or 3 times per day). I cannot say what triggers it but I have not been able to make it go away. Any advice or fix gratefully received.

What happens:

  • I hit <D-s> to save current buffer, which is already associated with a filename
  • the buffer is not saved
  • current buffer is magically renamed expand(, the contents are unaffected
  • editing continues as normal (If I try to save again, then a new file called expand( is saved to disk).

Environment

  • Vim version 8.2
  • MacOS 11.6
  • Terminal: GUI

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、macOS 11.6 上の Vim 8.2 を使用する MacVim で、名前付きバッファーに対して を使い、断続的な保存動作を再現します。バッファーの名前が expand( に変更される前後の保存パスと GUI の処理を調査します。問題を発生させたときに、元のバッファーがファイル名との関連付けを維持し、正しく保存されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
vim
領域
desktop
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。