unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ting-Yu Lin" <aethanyc@gmail.com>
To: eliz@gnu.org, 18419@debbugs.gnu.org
Subject: bug#18419: [Regression] Line number missing when enabling linum-mode
Date: Sun, 7 Sep 2014 00:02:51 +0800	[thread overview]
Message-ID: <CAPTPi4AWCXqf_nFaaOD8S90kczsaYwaxG8kLXKiF0N11ykMT=g@mail.gmail.com> (raw)


[-- 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 --]

             reply	other threads:[~2014-09-06 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-06 16:02 Ting-Yu Lin [this message]
2014-09-06 16:31 ` bug#18418: [Regression] Line number missing when enabling linum-mode 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPTPi4AWCXqf_nFaaOD8S90kczsaYwaxG8kLXKiF0N11ykMT=g@mail.gmail.com' \
    --to=aethanyc@gmail.com \
    --cc=18419@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).