Comments (7)
Let me know if this works for your use case. It seems to work for outline-minor-mode
at least, and in principle should extend to anything else supported by Isearch.
from ctrlf.
isearch
seems to handle it here: https://github.com/emacs-mirror/emacs/blob/d0e2a341dd9a9a365fd311748df024ecb25b70ec/lisp/isearch.el#L2947
from ctrlf.
swiper
handles it here: https://github.com/abo-abo/swiper/blob/4b4f7c8c37314be92d9e4971687e987fb7b3ef3e/swiper.el#L877
from ctrlf.
Good point, that's an excellent opportunity for improvement. Thanks for the pointers.
from ctrlf.
This unfortunately does not seem to work for hideshow. That is, if I have a block hidden by hs-hide-block
, I cannot search for terms within that block. Could we re-open this? If not, I can give a repro.
from ctrlf.
I also seem to be able to trigger an error in the post-command-hook if blocks are hidden and I try to search through the buffer:
Error in post-command-hook (ctrlf--minibuffer-post-command-hook): (wrong-number-of-arguments (2 . 2) 1)
Error in minibuffer-exit-hook (ctrlf--minibuffer-exit-hook): (wrong-number-of-arguments (2 . 2) 1)
Quit
from ctrlf.
Why don't you open a new issue for this bug and I can take a look?
from ctrlf.
Related Issues (20)
- Question: How to add Chinese pinyin support? HOT 1
- Doesn't honor search-invisible HOT 1
- C-g behaves like RET HOT 4
- first character is not deleted HOT 9
- moving the mark back into the main buffer leaves things in a goofy state HOT 4
- Renaming default branch from 'master' to 'main' HOT 1
- C-r wrong HOT 2
- Don't jump to invisible text HOT 1
- Does not open up org mode folded headings HOT 2
- How do I customise `ctrlf-minibuffer-bindings` in my config? HOT 2
- Expose match count/index for modeline segments? HOT 1
- C-s and C-r doesn't always search the next or previous occurrence. HOT 2
- Other messages in minibuffer HOT 5
- Does not work in specific special buffer HOT 1
- Go to next match after "ending" search HOT 5
- No isearch-esque unprettifying while searching HOT 2
- Mention isearch-mb in the readme HOT 1
- isearch-repeat-forward? HOT 3
- Struggeling to rebind "C-s" in ctrlf-minibuffer-mode-map
- point-at-eol compiler warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctrlf.