diff options
Diffstat (limited to 'itches/emacs/tracker.org')
| -rw-r--r-- | itches/emacs/tracker.org | 83 |
1 files changed, 78 insertions, 5 deletions
diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org index 70336f1..64317a0 100644 --- a/itches/emacs/tracker.org +++ b/itches/emacs/tracker.org @@ -42,6 +42,47 @@ Fixed by Eli. :Role: author :END: First reported as [[https://github.com/dgutov/diff-hl/issues/142][dgutov/diff-hl#142]]. Fixed by Eli. +*** TODO Translate unshifted keys to shifted if no bindings are found +To make =C-x [0-9]= more accessible on AZERTY. Firefox does this, cf +[[https://hg.mozilla.org/mozilla-unified/file/FIREFOX_80_0_1_RELEASE/widget/gtk/nsGtkKeyUtils.cpp#l1207][here]]: + +#+begin_src c++ + // Retry with shifted keycode. + guint shiftState = (baseState | keymapWrapper->GetModifierMask(SHIFT)); + uint32_t shiftedChar = keymapWrapper->GetCharCodeFor(aGdkKeyEvent, shiftState, + aGdkKeyEvent->group); + if (IsBasicLatinLetterOrNumeral(shiftedChar)) { + // A shifted character can be an ASCII alphabet on Hebrew keyboard + // layout. And also shifted character can be an ASCII numeric on + // AZERTY keyboad layout. Then, it's a good hint for deciding our + // keyCode. + return WidgetUtils::ComputeKeyCodeFromChar(shiftedChar); + } +#+end_src + +and [[https://hg.mozilla.org/mozilla-unified/file/FIREFOX_80_0_1_RELEASE/widget/gtk/nsGtkKeyUtils.cpp#l1896][there]]: + +#+begin_src c++ +uint32_t KeymapWrapper::GetCharCodeFor(const GdkEventKey* aGdkKeyEvent, + guint aModifierState, gint aGroup) { + guint keyval; + if (!gdk_keymap_translate_keyboard_state( + mGdkKeymap, aGdkKeyEvent->hardware_keycode, + GdkModifierType(aModifierState), aGroup, &keyval, nullptr, nullptr, + nullptr)) { + return 0; + } + GdkEventKey tmpEvent = *aGdkKeyEvent; + tmpEvent.state = aModifierState; + tmpEvent.keyval = keyval; + tmpEvent.group = aGroup; + return GetCharCodeFor(&tmpEvent); +} +#+end_src + +Maybe look at ~lookup-key~ in ~src/keymap.c~? Although +~src/gtkutil.c~ seems to be the place making the most calls to ~gdk_~ +functions. ** Elisp *** DONE [[bug:30008]] Subdirectory vs major mode in .dir-locals.el :PROPERTIES: @@ -106,14 +147,13 @@ patch's title (and a whole new message by the maintainer). :Role: author :END: Fixed by Dmitry. -**** TODO [[bug:28969]] Confirmation prompt for wildcard not surrounded by whitespace +**** DONE [[bug:28969]] Confirmation prompt for wildcard not surrounded by whitespace :PROPERTIES: :Role: author +:PatchApplied: t +:TestAdded: t :END: -- v6 posted in December 2019. -- Eli skeptical of final UI. -- Waiting until 27.1 is released before pestering the maintainers with - another bikeshed. +My commit message ran afoul of debbugs.el's =M-m= again. *** Gnus **** DONE [[bug:40520]] Prevent duplicate thread titles :PROPERTIES: @@ -170,14 +210,27 @@ More unrelated tests that needed fixing before I could start working. :PROPERTIES: :Role: author :END: +ACKed by Bastien; bump once 9.4 is released. **** TODO [[bug:42184]] org-fontify-whole-heading-line does not work in emacs 27 :PROPERTIES: :Role: watcher +:PatchApplied: t :END: +All that remains is merging Org 9.3.8 into emacs-27 (cf. [[bug:43268]]). **** TODO [[orgmode:87mu3ze52c.fsf@gmail.com]] Default description for abbreviated links :PROPERTIES: :Role: author :END: +Counter-proposal by Bastien. Next step: ACK and get back to the +workbench. +**** TODO Skip checkbox width when filling list item +Currently items are filled like this: +#+begin_example +- [ ] lorem + ipsum +#+end_example +Adding =\\[.\\]= to the regexp used in org-list-item-body-column +allows "ipsum" to be aligned below "lorem". ** Minor modes *** electric-pair **** DONE [[bug:39680]] electric-pair-mode broken by undo @@ -230,6 +283,10 @@ Fixed by Andrea (see update 9 on his [[https://akrl.sdf.org/gccemacs.html][progr :Role: author :PatchApplied: t :END: +*** TODO autoload debbugs-gnu-emacs-release-blocking-reports +I prefer this over the Org variant, which is autoloaded. +*** TODO Make ~debbugs-gnu-apply-patch~ smarter +To avoid accidents like [[bug:28969]], [[bug:39504]], and [[bug:41810]]. ** diff-hl *** DONE [[https://github.com/dgutov/diff-hl/issues/142][#142]] Weird interaction between diff-hl-flydiff-mode and org-indent-mode Eventually reported back to Emacs core in [[bug:41584]] and fixed by Eli. @@ -256,6 +313,22 @@ Eventually reported back to Emacs core in [[bug:41584]] and fixed by Eli. :Role: author :PatchApplied: t :END: +*** TODO Autoload magit-file-mode-map correctly +The current state of affairs: + +- ~global-magit-file-mode~ says ~:init-value t~, but that has no + effect. +- We need to move ~magit-file-mode~ (and ~magit-blob-mode~ while we're + at it) to a new, dedicated library, and either + - let users customize ~global-magit-file-mode~ to t, which will + DTRT, + - autoload the form that enables the mode if the variable is set. + +It's already possible to do either, but it slows down startup +considerably. Hopefully moving the mode to a file that does not +~(require 'magit)~ will mitigate this? + +[[https://lists.gnu.org/archive/html/help-gnu-emacs/2020-09/msg00130.html][For context.]] ** markdown-mode *** DONE [[https://github.com/jrblevin/markdown-mode/pull/124][jrblevin/markdown-mode#124]] Prevent spurious bold fontification :PROPERTIES: |
