Cocoa Emacs: vertical border crashes using linear mode

Using Cocoa Emacs on OS X 10.7, I get an annoying graphical crash on the vertical border with ruler mode turned on.

With a vertical split frame, enable linum mode and try scrolling up and down on both sides of the split. The vertical border disappears either completely or partially.

I can fix this by changing fringe-mode to the left, but the ONLY fix works if I do this in the minibuffer. Trying to do this from lisp code (using fringe-mode, set-fringe-mode or set-fringe-style) does not solve the glitch problem (I tried several different hooks).

I reported this to the Emacs tracker, but I would expect SO to be faster! Can anyone suggest a software workaround or shed light on what could be happening here?

UPDATE: for some reason, the fringe-mode command mode does not work with lisp code, but I was able to get a software solution by doing

(set-fringe-mode '(8 . 0)) 

... Although it seems that he raised another graphic glitch.

+2
source share
1 answer

This is now fixed in the Emacs trunk. Please note that the above solution works to some extent for older versions.

+1
source

Source: https://habr.com/ru/post/1480381/


All Articles