Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4098336
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:17:20+00:00 2026-05-20T20:17:20+00:00

I get this graphical error with linum-mode in my Emacs. I tried upgrading from

  • 0

I get this graphical error with linum-mode in my Emacs. I tried upgrading from 23 to 24 (via git) and I’ve tried both with various supplied binaries online and with my home-compiled version. What I’m really interested in is where to start diagnosing the problem.

"Tearing" of numbers in linum-mode

The problem goes away if I scroll the torn line numbers off screen and back in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:17:20+00:00Added an answer on May 20, 2026 at 8:17 pm

    I have experienced the same problem and spent quite some time trying to resolve it. The graphical error is a result of a clash between linum-mode and how the fringe is rendered. Unfortunately, I was unable to resolve the problem in linum.el, and the fringe display code is part of the C-source.

    It can still be done! The easiest way to fix it is to just turn off the fringe.

    M-x fringe-mode RET none RET
    

    To make the fringe permanently stay off, I recommend customizing the settings with M-x customize-group RET fringe because some compiled versions of Emacs for Mac OS X have their own fringe settings that can override parts of your .emacs file.

    I don’t really need those line wrap indicators, so not having a fringe doesn’t bother me. However, I did miss a slight separation between the line numbers and the buffer text. I followed the advice of a post on the Emacs Wiki to get that spacing back. In version 0.9x of linum, change line 160 from

    (setq width (max width (length str)))
    

    to

    (setq width (max width (+ (length str) 1)))
    

    The inspiration for this change is here: http://www.emacswiki.org/emacs/LineNumbers

    There are arguments at the source link to set the linum-format variable instead of modifying linum.el. While I understand where they are coming from, most color-themes these days would color the extra space and not provide what I am looking for (a separation of about a space that is the background color). If you do edit linum.el, make sure to run

    M-x emacs-lisp-byte-compile-and-load
    

    to make the changes persistent. You can see the result of this by looking at the space before the cursor in the picture found here: https://i.stack.imgur.com/TxyMr.png (I don’t have enough reputation to embed images).

    No more graphical artifacts!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class
I get this error when I use simplejson from django.utils in google app engine
I get this error when i try to upload an image: OSError at /upload/
I get this error on my Ice Cream Sandwich (Android 4.0) device and emulator.
Cant get this script to work with my menu really have tried everything any
I get this error when I run the code below. I have normally used
I get this RSpec error when I try to embed one document in another.
I get this error in my app { error: { message: Missing client_id parameter.,
i get this error Cannot open database DataLayer.Context.MedicallexiconContext requested by the login. The login
I get this error TypeError at /debate/1/ get_context_data() takes exactly 2 arguments (1 given)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.