Closed plattfot closed 1 year ago
Found the issue, it's in nano-modeline-info-breadcrumbs
function. The fix is simply to wrap the body in a save-mark-and-excursion
(you might get away with just a save-excursion
), that way the forward-line
in the body will not affect the cursor outside the function. I would create a PR for this but I haven't sign the fsf copyright assignment yet. It's on my to do list, but will probably take a while.
Thanks for the report and the fix! I'm waiting for your PR then.
Sorry for the radio silence. I just sent in the final papers to fsf for the copyright assignment, it took a while due to holidays and legal at work.
When I get confirmation from fsf that they have the copyright assignment I'll open up a PR. If you haven't fixed the bug already?
If you make the PR, that would be great!
Created PR #31. Still waiting on hearing back from fsf about the copyright assignment. I've tried contacting them twice but still no word. Not sure how long this process should take. Feel like this is taking a bit longer than normal…
But I figured I can at least create the PR for people to test out.
Just an update on my fsf copyright assignment. I finally heard back and reason for it taking time is the disclaimer, it needs to be reviewed by lawyers. No idea how long that will take. But I'll update this issue when I hear from fsf again.
I'm getting weird behavior with isearch as well. The save-excursion
fixes it, thank you!
Sorry for the radio silence. I just received an email that my copyright assignment is now finally done! They finally had some time to review the disclaimer, which raised some questions and that resulted in my employer redoing the disclaimer, removing all the modifications they did. Then it just took a few days for the process to go through.
Feel free to close this issue.
Description
Notice some strange behavior when using
nano-modeline
and navigating inInfo-mode
. When going back or up from a sectionnext-line
would jump two lines andprevious-line
would go to the previous line but at the start of that line.Expected behavior
After going back or up from a section that
next-line
orprevious-line
would behave as normal and go to the next line or previous line.Version
Using
emacs-pgtk-native-comp-28.0.60-212.69977ea
from the flat channel, commit: e015e7093eb9dff16abb5ae909fee61ba77fc677 with guixRepro
Clone a fresh copy of this repo and checkout the latest commit as of this writing.
Create a file at
/tmp/init.el
with the content:Run emacs with just
nano-modeline
enabledThen
M-x info
, pressm
(Info-menu
) typeEmacs
and hit enter to go to the Emacs manual. Pressu
(Info-up
) to go back up and pressC-n
(next-line
) and it will skip the manual underEmacs
and go to the next. After that the behavior is normal.Run emacs without nano-modeline
And do the same steps as above and it will go the manual under
Emacs
.