I use paredit and I am used to keybindings that manipulate s-exp.
When I enter nim-mode, however, I try to delete line with C-k and it doesn't work i get message I copied below.
In the same way C-) doesn't work.
Turning off the paredit helps and the error doesn't pop up.
Another big issue is that if I try to ignore the issue after some time emacs FREEZES. When I try to ignore the problem and continue on working sometimes C-k starts to work but it doesn't delete the whole line. It deletes line except the last character.
Opensuse Tumbleweed
Emacs version: GNU Emacs 29.1 (build 2,. x86_64-suse-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0)
Latest version of nim-mode
I have read the README
Message buffer: wrong-type-argument number-or-marker-p nil
With (debug-on-error t) when I press C-k:
C-k runs the command kill-visual-line (found in visual-line-mode-map),
which is an interactive native-compiled Lisp function in ‘simple.el’.
It is bound to C-k, <kp-f4> and <deleteline>.
(kill-visual-line &optional ARG)
Kill the rest of the visual line.
With prefix argument ARG, kill that many visual lines from point.
If ARG is negative, kill visual lines backward.
If ARG is zero, kill the text before point on the current visual
line.
If the variable ‘kill-whole-line’ is non-nil, and this command is
invoked at start of a line that ends in a newline, kill the newline
as well.
If you want to append the killed line to the last killed text,
use C-M-w before C-k.
If the buffer is read-only, Emacs will beep and refrain from deleting
the line, but put the line in the kill ring anyway. This means that
you can use this command to copy text from a read-only buffer.
(If the variable ‘kill-read-only-ok’ is non-nil, then this won’t
even beep.)
I don't use nimsuggest
I don't have flycheck
My config with which error occurs can be found here Config
init.el and config.org is located at .config/emacs/
And describe your problem:
I use paredit and I am used to keybindings that manipulate s-exp. When I enter nim-mode, however, I try to delete line with C-k and it doesn't work i get message I copied below. In the same way C-) doesn't work. Turning off the paredit helps and the error doesn't pop up.
Another big issue is that if I try to ignore the issue after some time emacs FREEZES. When I try to ignore the problem and continue on working sometimes C-k starts to work but it doesn't delete the whole line. It deletes line except the last character.
wrong-type-argument number-or-marker-p nil
With (debug-on-error t) when I press C-k:when I press C-)
C-h k C-k: