Open cmacrae opened 7 years ago
Hi, love to hear that you enjoy Focus! I'm not sure if I'm able to implement this, but i love the idea! Feel free to take a stab at it yourself, and I'll be glad to look over your changes.
I'll set it up as an enhancement, and hope to make some progress on it, but can't make any promises.
Nice one @larstvei - I might see if I'm able to start on it, though my grasp of elisp (or lisps in general) is loose! Of course, I wouldn't expect anything :) Just figured I'd raise the idea
Hey @larstvei 👋 Thank you so much for Focus. I've got a lot of stuff I love in my Emacs config, but Focus is very high up on the list!
I'm not sure if this would even be possible, as I'm not familiar with how the point works when visiting the same buffer in a split pane(s). But, I was wondering if it might be possible to highlight the function at the point, depending on the point's position in each pane.
So, one buffer open in a split pane. The one on the left I have the point on one function, the one on the right I have the point at a differing function in that same buffer. I'd like both functions to be highlighted and the rest dimmed as usual.
Like I say, I'm not entirely sure if this is even possible, due to how Emacs may manipulate the point based on panes (when flipping to/from panes, does it simply record the point position, then actually move the point back to that position when re-focussing that pane?), but I figured I'd drop this issue in to see what your thoughts are :)