Coder Social home page Coder Social logo

Comments (6)

raxod502 avatar raxod502 commented on June 26, 2024

This does not occur for me. Is there something else in your configuration interfering?

from ctrlf.

AmaiKinono avatar AmaiKinono commented on June 26, 2024

I can reproduce it in emacs -Q. I suspect this is another "Emacs 26" problem (I'm on Emacs 26.3, and the latest version of CTRLF).

Here's the snippet:

(add-to-list 'load-path "/home/kino/.emacs.d/straight/repos/ctrlf/")
(require 'ctrlf)
(ctrlf-mode)

M-x ctrlf-forward-literal, then type ), this happens:

image

But just wait for a while, the message will disappear, and the first match is highlighted, everything is back to normal.

I think this is because CTRLF calls re-search-forward internally, and if you M-x re-search-forward RET ), the same message appears.

from ctrlf.

raxod502 avatar raxod502 commented on June 26, 2024

That message is actually from blink-paren-mode. See blink-matching-open in simple.el. Does it make sense to disable blink-paren-mode in the minibuffer automatically?

from ctrlf.

AmaiKinono avatar AmaiKinono commented on June 26, 2024

Does it make sense to disable blink-paren-mode in the minibuffer automatically?

Well, I'd say it depends. I use show-paren-mode so I find this useless, but maybe some users need it. It's rare we need to care about matching parenthesis when searching, but sometimes we do. I don't oppose this change, though.

Maybe it's better to highlight the match and at the same time keep the message, but I wonder if it's possible.

Btw, I didn't find blink-paren-mode in Emacs 26. It's controlled by a variable blink-matching-paren.

from ctrlf.

raxod502 avatar raxod502 commented on June 26, 2024

Btw, I didn't find blink-paren-mode in Emacs 26. It's controlled by a variable blink-matching-paren.

You are correct. My mistake.

Maybe it's better to highlight the match and at the same time keep the message, but I wonder if it's possible.

In general yes, maybe not with blink-matching-paren because I believe it operates by actually moving point and freezing the entire interface. I might be able to hack around it (by making CTRLF run first) but don't want to, so I disabled blink-matching-paren in CTRLF.

from ctrlf.

AmaiKinono avatar AmaiKinono commented on June 26, 2024

Thanks!

from ctrlf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.