GNU bug report logs - #18419
[Regression] Line number missing when enabling linum-mode

Previous Next

Package: emacs;

Reported by: Ting-Yu Lin (林庭宇) <aethanyc <at> gmail.com>

Date: Sat, 6 Sep 2014 20:09:02 UTC

Severity: normal

Merged with 18418

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18419 in the body.
You can then email your comments to 18419 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18419; Package emacs. (Sat, 06 Sep 2014 20:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ting-Yu Lin (林庭宇) <aethanyc <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 06 Sep 2014 20:09:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ting-Yu Lin (林庭宇) <aethanyc <at> gmail.com>
To: eliz <at> gnu.org, bug-gnu-emacs <at> gnu.org
Subject: [Regression] Line number missing when enabling linum-mode
Date: Sun, 7 Sep 2014 00:02:51 +0800
[Message part 1 (text/plain, inline)]
I found a regression related to commit titled "Fix bug #17892 with
mode/header line and display margins."
https://github.com/emacs-mirror/emacs/commit/691d7ac6784

Steps to reproduce:
1. emacs -Q
2. Evaluate the following code to make the mini-buffer becomes multi-line.

;;
https://github.com/gempesaw/ido-vertical-mode.el/blob/master/ido-vertical-mode.el#L45
(setq ido-decorations
      '("\n-> " ; left bracket around prospect list
    "" ; right bracket around prospect list
    "\n " ; separator between prospects, depends on `ido-separator`
    "\n ..." ; inserted at the end of a truncated list of prospects
    "[" ; left bracket around common match string
    "]" ; right bracket around common match string
    " [No match]"
    " [Matched]"
    " [Not readable]"
    " [Too big]"
    " [Confirm]"
    "\n-> " ; left bracket around the sole remaining completion
    "" ; right bracket around the sole remaining completion
    ))
(ido-mode 1)
(global-linum-mode 1)

3. Open a large file such as src/dispextern.h in Emacs repository.
4. C-x C-f to find files (Notice the mini-buffer now becomes multi-line,
and push the mode-line up. See multi_line_mini_buffer.png as attached.)
5. C-g to quit (the mini-buffer has one line again)
6. The line number 30 disappear, and the content of the line shifts left a
little bit. (See line_30_missing.png) The line number at the area is always
missing even if you scroll the file down.
[Message part 2 (text/html, inline)]
[line_30_missing.png (image/png, attachment)]
[multi_line_mini_buffer.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18419; Package emacs. (Sun, 07 Sep 2014 09:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 18419 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: "Ting-Yu Lin (林庭宇)" <aethanyc <at> gmail.com>, 
 eliz <at> gnu.org, 18419 <at> debbugs.gnu.org
Subject: Re: bug#18419: [Regression] Line number missing when enabling
 linum-mode
Date: Sun, 07 Sep 2014 11:02:14 +0200
> Steps to reproduce:

The following scenario should be simpler:

1. emacs -Q
2. M-: (setq resize-mini-windows nil) RET
3. Open a file such as src/dispextern.h
4. M-x linum-mode
5. Mouse-drag the mode line up once and then down

My machine is too slow to make such dragging a reasonable exercise but
the gaps show up immediately here.  And for the record: `nlinum-mode'
suffers the same problem.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18419; Package emacs. (Sun, 07 Sep 2014 17:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 18419 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18419 <at> debbugs.gnu.org, aethanyc <at> gmail.com
Subject: Re: bug#18419: [Regression] Line number missing when enabling
 linum-mode
Date: Sun, 07 Sep 2014 20:18:12 +0300
> Date: Sun, 07 Sep 2014 11:02:14 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> 
>  > Steps to reproduce:
> 
> The following scenario should be simpler:
> 
> 1. emacs -Q
> 2. M-: (setq resize-mini-windows nil) RET
> 3. Open a file such as src/dispextern.h
> 4. M-x linum-mode
> 5. Mouse-drag the mode line up once and then down

Thanks, I fixed this.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 07 Sep 2014 17:21:02 GMT) Full text and rfc822 format available.

Notification sent to Ting-Yu Lin (林庭宇) <aethanyc <at> gmail.com>:
bug acknowledged by developer. (Sun, 07 Sep 2014 17:21:03 GMT) Full text and rfc822 format available.

Message #16 received at 18419-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 18419-done <at> debbugs.gnu.org
Subject: Re: bug#18419: [Regression] Line number missing when enabling
 linum-mode
Date: Sun, 07 Sep 2014 20:20:15 +0300
Fixed in r117484 on the emacs-24 branch.




Forcibly Merged 18418 18419. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Sep 2014 15:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Oct 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.