When I am using incremental search, a backspace erases the character from the matched string in the buffer, instead of erasing the character from the search string I am typing. I saw that this is not the case with another emacs user... is there something I have messed up that is causing this issue?
I did rebind my backspace and delete keys, just to be consistent across terminals/keyboards:
;; Lock DEL and backspace key behavior
(global-set-key (kbd "<delete>") 'delete-char)
(global-set-key (kbd "<backspace>") 'delete-backward-char)
Any suggestions?
FYI, I generally correct my search string using M-e <
emacs -q
, evaluate that code snippet, and try again. Does it still happen?