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 7590067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:18:55+00:00 2026-05-30T20:18:55+00:00

As you can see in that image, I can move my cursor to the

  • 0

enter image description here

As you can see in that image, I can move my cursor to the last line (if I use RET on the last column of the last line), and the last line doesn’t appear on the left line number column.

It is also not highlighted, but as soon as I type on it, like if I enter an “a”, it will be highlighted and appear on the line number list on the left.

This is a very tiny bug, but it slightly annoys me – it really isn’t a major issue, but I’d really like a way to fix it.

Thanks!

  • 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-30T20:18:56+00:00Added an answer on May 30, 2026 at 8:18 pm

    Assuming you use the Linum package for your line numbers (in the left-hand margin), here’s the patch that numbers the last line of the buffer:

    --- linum.el-rev474.svn000.tmp.el   Fri May 08 11:30:24 2009
    +++ linum.el    Fri May 08 11:29:38 2009
    @@ -135,8 +135,15 @@
    -  (let ((line (line-number-at-pos))
    -        (limit (window-end win t))
    -        (fmt (cond ((stringp linum-format) linum-format)
    -                   ((eq linum-format 'dynamic)
    -                    (let ((w (length (number-to-string
    -                                      (count-lines (point-min) (point-max))))))
    -                      (concat "%" (number-to-string w) "d")))))
    -        (width 0))
    +  (let* ((line (line-number-at-pos))
    +         (limit (window-end win t))
    +         ;; set empty-line-at-eob flag
    +         (empty-line-at-eob (or (equal ?\n (char-before (point-max)))
    +                                (equal (point-min) (point-max))))
    +         ;; we will automatically number the line at eob if it's not empty
    +         ;; (so we'll say it's already done)
    +         (numbered-line-at-eob (not empty-line-at-eob))
    +         (fmt (cond ((stringp linum-format) linum-format)
    +                    ((eq linum-format 'dynamic)
    +                     (let* ((c (count-lines (point-min) (point-max)))
    +                            (w (length (number-to-string
    +                                        (+ c (if empty-line-at-eob 1 0))))))
    +                       (concat "%" (number-to-string w) "d")))))
    +         (width 0))
    @@ -146 +153,2 @@
    -    (while (and (not (eobp)) (<= (point) limit))
    +    ;; stop if point>limit, or if eobp and numbered-line-at-eob
    +    (while (and (not (and (eobp) numbered-line-at-eob)) (<= (point) limit))
    @@ -165,0 +174,4 @@
    +      ;; before moving forward, if we're already at eob
    +      (if (eobp)
    +          ;; then we've numbered the empty line
    +          (setq numbered-line-at-eob t))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a div that contains 3 fields You can see the image here
I can see that GD library is for images. But I can't see differences
I can see that Collections.unmodifiableSet returns an unmodifiable view of the given set but
I can see that the PopUp dropdown of a combobox gets closed if we
In SQL Profiler you can see that very simple updates to a table by
In the android we can see that there is a default google search on
In the following program you can see that each value slightly less than .5
When I run git rm I can see that files were removed in git
I'm using code from other c# app and I can see that in WP7
I can't seem to change width in IE7 http://jsfiddle.net/Mkb9n/1/ You can see that all

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.