Closed Zaijab closed 1 month ago
Hey!
Can you provide more information about what C-x C-j
does in your case? AFAIK it should open the dired
with current directory even with input method enabled.
According to C-h k C-x C-j
:
C-x C-j runs the command skk-mode (found in global-map), which is an autoloaded interactive native-compiled Lisp function in ‘skk.el’.
I do not believe this is solvable on our side.
So, it's hard to change meow-prev. One option is to bind a different key (maybe some hyper key) to previous-line
and then modify meow--kbd-backward-line
to match. Another is to just straight up hack the skk function; from reading the code i think this should be safe:
(advice-add
'skk-previous-candidate :around
(lambda (func &optional arg)
(interactive "p")
(if (and (not (eq skk-henkan-mode 'active))
(not (eq last-command 'skk-kakutei-henkan))
last-command-event
(eq last-command-event
(seq-first (car (where-is-internal
'meow-prev
meow-normal-state-keymap)))))
(previous-line)
(funcall func arg))))
I feel like skk is popular and important enough of a package that j/k not working is unacceptable. I added the code above as a shim.
This is awesome! The advice
works well for me thus far. Thank you for your commitment to producing high quality free and open source software. I also appreciate the explanation as to what meow-prev
does. I have learned a lot.
今日は、
I use Emacs to type in Japanese a lot. The easiest input method I have found is ddskk. However I notice some compatibility difficulty in using the non Latin modes. This is not very urgent, all issues with this compatibility can be resolved by first going into Latin mode with
l
and switching back when necessary.For example, Type:
C-x C-j
to enter the Hiragana input mode (the cursor will change color but will remain a block / Meow Normal). Then move down usingj
(works fine). Try to move up usingk
(but will actually type k). TypingC-h k k
(describe key thenk
) does show thatk
is bound tomeow-prev
. UsingM-x meow-prev
does not move the cursor anywhere butM-x meow-next
does move the cursor down one line. This is in agreement with howj
works butk
doesn't.I would like to know more about how I can begin debugging these issues. I am unfamiliar with what the call to
meow-prev
does which makes debugging tricky for a novice.Here is my Meow configuration: