ctrlf icon indicating copy to clipboard operation
ctrlf copied to clipboard

C-g behaves like RET

Open cyrus-and opened this issue 3 years ago • 4 comments

Launch Emacs like this:

TEMP="$(mktemp -d | tee /dev/stderr)"

cat >"$TEMP/.emacs" <<EOF
(setq custom-file "/dev/null")

(package-initialize)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))

(package-install 'ctrlf)
EOF

HOME="$TEMP" emacs

Then in the Emacs splash screen:

  1. M-x ctrlf-mode;

  2. C-s emacs;

  3. C-s a few more times;

  4. C-g.

Now the point is left next to the last instance of the match instead of being reset to the original position.

(Possibly related to #6.)

cyrus-and avatar Jan 09 '22 10:01 cyrus-and

Yeah, I can confirm this happens exactly as you describe it. I'll look into why that could be occurring when I have some time.

raxod502 avatar Jan 14 '22 23:01 raxod502

For me, just adding the remap of abort-minibuffers to ctrlf-cancel in ctrlf-minibuffer-mode-map fixed this problem!

weirdNox avatar Apr 24 '22 21:04 weirdNox

Should be addressed by https://github.com/radian-software/ctrlf/pull/114.

raxod502 avatar Jun 01 '22 16:06 raxod502

The problem seems to be solved, thank you! ;)

weirdNox avatar Jun 02 '22 09:06 weirdNox