* bug#18419: [Regression] Line number missing when enabling linum-mode
@ 2014-09-06 16:02 Ting-Yu Lin
2014-09-06 16:31 ` bug#18418: " Eli Zaretskii
2014-09-07 9:02 ` bug#18419: " martin rudalics
0 siblings, 2 replies; 5+ messages in thread
From: Ting-Yu Lin @ 2014-09-06 16:02 UTC (permalink / raw)
To: eliz, 18419
[-- Attachment #1.1: Type: text/plain, Size: 1431 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 1986 bytes --]
[-- Attachment #2: line_30_missing.png --]
[-- Type: image/png, Size: 297495 bytes --]
[-- Attachment #3: multi_line_mini_buffer.png --]
[-- Type: image/png, Size: 293592 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18418: [Regression] Line number missing when enabling linum-mode
2014-09-06 16:02 bug#18419: [Regression] Line number missing when enabling linum-mode Ting-Yu Lin
@ 2014-09-06 16:31 ` Eli Zaretskii
2014-09-07 9:02 ` bug#18419: " martin rudalics
1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2014-09-06 16:31 UTC (permalink / raw)
To: Ting-Yu Lin; +Cc: 18418
> From: Ting-Yu Lin (林庭宇) <aethanyc@gmail.com>
> Date: Sun, 7 Sep 2014 00:02:51 +0800
>
> 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
Sorry, I don't understand: are you saying the problem you describe
started appearing after that commit?
> 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.
Sorry, I cannot reproduce this here. My line 30 is intact after the
above steps.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18419: [Regression] Line number missing when enabling linum-mode
2014-09-06 16:02 bug#18419: [Regression] Line number missing when enabling linum-mode Ting-Yu Lin
2014-09-06 16:31 ` bug#18418: " Eli Zaretskii
@ 2014-09-07 9:02 ` martin rudalics
2014-09-07 17:18 ` Eli Zaretskii
2014-09-07 17:20 ` Eli Zaretskii
1 sibling, 2 replies; 5+ messages in thread
From: martin rudalics @ 2014-09-07 9:02 UTC (permalink / raw)
To: Ting-Yu Lin (林庭宇), eliz, 18419
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-09-07 17:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-06 16:02 bug#18419: [Regression] Line number missing when enabling linum-mode Ting-Yu Lin
2014-09-06 16:31 ` bug#18418: " Eli Zaretskii
2014-09-07 9:02 ` bug#18419: " martin rudalics
2014-09-07 17:18 ` Eli Zaretskii
2014-09-07 17:20 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.