Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

User defined keybindings should take precedence over installed tools

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
desktop, devtools

調査の方向性

framework/keybinding-lang を使い、示されているユーザーキーバインドファイルと drracket-paredit パッケージを用いて、DrRacket 8.11.1 で問題を再現する。まず、ユーザー定義の binding とインストールされたツールの binding がどのように読み込まれ、どの順序になるかを追跡する。ユーザーの M-right と M-left の binding が優先され、sexpression をまたいで移動できれば完了とする。

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

説明

Intuitively installed DrRacket tools/extensions should take precedence over the builtin defaults, and settings that the user specifies should take precedence over that. This doesn't seem to be the case with keybindings.

To replicate:
A fresh install of Racket 8.11.1, install the drracket-paredit package, and use the menu to add the following user defined keybinding file.

#lang s-exp framework/keybinding-lang

(keybinding "m:right"
            (λ (editor event)
              (send editor forward-sexp)))

(keybinding "m:left"
            (λ (editor event)
              (send editor backward-sexp)))

Restart DrRacket, and attempting to M-right and M-left your way around fails to jump across sexpressions. Instead drracket-paredits binding (which it calls forward-atom and backward-atom) is used instead.

It looks like the order in which things are getting loaded should be swapped.

主要言語
Racket
スター
517
フォーク
102
平均マージ
8時間 52分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

racket/drracket のほかの issue

racket/drracket の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

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

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