error "Marker does not point anywhere"
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
まず Emacs 29.1 で haskell-process-load-file を使って失敗を再現し、次に haskell-interactive-mode-goto-end-point と haskell-interactive-mode-reset-error を通じてスタックエントリを追跡します。失敗したロードの後に、別のロード、プロセスの再起動、バッファの終了を行っても「Marker does not point anywhere」エラーが発生しなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi,
I just got started with haskell-mode and am facing a weird issue: whenever I run haskell-process-load-file on a file that contains an error, any subsequent runs of this function result in error "Marker does not point anywhere". The full stacktrace reads
Debugger entered--Lisp error: (error "Marker does not point anywhere")
goto-char(#<marker in no buffer>)
haskell-interactive-mode-goto-end-point()
(save-current-buffer (set-buffer (haskell-session-interactive-buffer session)) (haskell-interactive-mode-goto-end-point) (let ((mrk (point-marker))) (haskell-session-set session 'next-error-locus nil) (haskell-session-set session 'next-error-region (cons mrk (copy-marker mrk t)))) (goto-char (point-max)))
haskell-interactive-mode-reset-error(((name . "project-name") (next-error-region #<marker at 1 in *dnschannel*> . #<marker (moves after insertion) at 1305 in *dnschannel*>) (next-error-locus) (interactive-buffer . #<buffer *dnschannel*>) (current-dir . "/home/dakling/Documents/programming/haskell/...") (target . "") (cabal-checksum . "fd8584f682f8bbf497c7bb4d7fbfb956") (cabal-dir . "/home/dakling/Documents/programming/haskell/...") (process (name . "dnschannel") (current-response-cursor . 0) (current-response . "") (command-queue) (inferior-process . #<process dnschannel>) (is-restarting) (current-command) (suggested-imported) (sent-stdin) (evaluating) (session . #1))))
haskell-process-load-file()
my/haskell-load-and-run()
funcall-interactively(my/haskell-load-and-run)
command-execute(my/haskell-load-and-run)
Annoyingly, this error also occurs when I try to restart the haskell process or close the corresponding buffer, forcing me to quit emacs altogether.
I found this old issue describing a similar problem, but I am not sure if this is related, because 1) this issue seems to be fixed now and 2) my path does not contain any spaces.
My emacs version is 29.1.
Any ideas what is going on here?
- 主要言語
- Emacs Lisp
- スター
- 1.4k
- フォーク
- 357
- 平均マージ
- 7時間 50分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell/haskell-mode のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
haskell/haskell-mode#1889 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
haskell/haskell-mode#1522 ·
-
haskell-indentation: identifier named `signature` breaks indentation for the rest of the declaration対応中かも @PerryLink が 48 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
haskell/haskell-mode#1895 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
haskell/haskell-mode#1892 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
haskell/haskell-mode#1890 ·
haskell/haskell-mode の issue をすべて見る
似ている issue
-
area: middleware enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rohitgollarahalli/mcpx#45 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
facebookresearch/atlas-lean#20218 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100