all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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.