First, I try to use (fringe-mode -1), as picture below, there is a very thin fringe on the right of linum line.

And then, I try to use (set-fringe-mode '(0 . 0)) to specify the left-fringe and right-fringe to zero. The fringes disappear. But I got a very strange appearance. While the Emacs start up, the frame will be thinner and thinner, until narrow to a very thin line(I don't how to explain it, see the pictures below).
startup - loading dotfiles

getting thiner

finally

And now, I set (set-fringe-mode '(0 . 1)), and there will be one fringe on the right of buffer.
How about (set-fringe-mode 0)? That's the value for no-fringes in fringe-styles alist.
If that doesn't work, too, I think you should submit a bug report.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With