clojure-emacs / clojure-emacs/clojure-mode

' (apostrophe) within/at end of symbol not counted as part of symbol

オープン
#290 コメント 17 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Emacs Lisp
スター
1k
フォーク
249
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently clojure-mode appears to be treating `dec'` as the symbol `dec` with a `'` following it.

This is made most obvious when I call `cider-find-var` on `dec'` at it finds the symbol at point to be `dec` and takes me to that function definition instead of `dec'`.

Care should be taken in resolving this bug that the prefixed `'` (such as in `'clojure.core/dec`) isn't treated as part of the symbol.

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

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

調査の方向性

`dec'` と `'clojure.core/dec` で問題を再現し、次に `cider-find-var` が使用する symbol-at-point の経路を追跡します。clojure-mode がシンボルの境界をどのように決定しているかを確認します。末尾のアポストロフィはシンボルの一部として残り、先頭のアポストロフィはシンボルの一部にならず、両方の検索ケースが正しく動作すれば完了です。

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

評価

技術スタック
clojure, emacs-lisp
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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