You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because with the current snippet from the README, the entire buffer gets replaced then the cursor gets moved back to the offset it was at within the file. When this operation takes place, the line that offset is on is centered in middle of the screen, so if your cursor was on any line but the one in the center of the screen you'll see things jump.
This could be mitigated by capturing the offset of the line from center and restoring that or perhaps there's some other value/idiom in Emacs/elisp for accomplishing the same goal.
Alternatively we could rig up a better, more general map-external-cmd-over-buffer type of functionality
The text was updated successfully, but these errors were encountered:
but once longboye is fixed can be replaced with longboye all -.
We could make this easier by making longboye automatically behave as if you had specified longboye all - if the name of it is invoked as is longboye-all then you could just create the appropriate symlink to reference from emacs. (This is necessary because haskell-mode-buffer-apply-command seems to take an executable name only with no arguments).
This is because with the current snippet from the README, the entire buffer gets replaced then the cursor gets moved back to the offset it was at within the file. When this operation takes place, the line that offset is on is centered in middle of the screen, so if your cursor was on any line but the one in the center of the screen you'll see things jump.
This could be mitigated by capturing the offset of the line from center and restoring that or perhaps there's some other value/idiom in Emacs/elisp for accomplishing the same goal.
Alternatively we could rig up a better, more general
map-external-cmd-over-buffer
type of functionalityThe text was updated successfully, but these errors were encountered: