Comments (4)
I'd be interested in helping to solve this problem, but to be sure, is this some issue with the way emacs handles set-window-point
? There's not a whole lot going on in ctrlf-cancel
, so i imagine this comes from here:
(set-window-point (minibuffer-selected-window) ctrlf--starting-point)
Did you have any details on this bug?
from ctrlf.
It probably has something to do with redisplay. After a display change, Emacs does not compute visual line numbers, window lines, etc. until a redisplay has happened. See e.g. code in Selectrum which works around this issue, and you can also see it right in ctrlf-cancel
. As well worked around in ctrlf-minibuffer-post-command-hook
. (Sheesh.)
Actually, looking at ctrlf-cancel
, would moving the redisplay call to before setting the window point work?
from ctrlf.
Thanks for the response. I hadn't been using CTRLF for a while, and now using Melpa version ctrlf-20200523.1558
i can't seem to reproduce this any more.
I can confirm that removing the (redisplay)
call from ctrlf-cancel
re-introduces the issue with every search, but even at it's present location (after set-window-point
) it seems to be prohibiting the issue for me. Perhaps you have some other way of reproducing this, though.
from ctrlf.
At first glance just now, I cannot reproduce the issue. Closing for now.
from ctrlf.
Related Issues (20)
- Lacks isearch-query-replace HOT 5
- Can it support wgrep in occur mode? HOT 1
- 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
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.