From unknown Mon Aug 18 11:25:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18418: [Regression] Line number missing when enabling linum-mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Sep 2014 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ting-Yu Lin (=?UTF-8?Q?=E6=9E=97=E5=BA=AD=E5=AE=87?=) Cc: 18418@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.141002113328210 (code B ref -1); Sat, 06 Sep 2014 16:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Sep 2014 16:32:13 +0000 Received: from localhost ([127.0.0.1]:60745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQIuL-0007Kv-0v for submit@debbugs.gnu.org; Sat, 06 Sep 2014 12:32:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44837) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQIuI-0007Kg-2e for submit@debbugs.gnu.org; Sat, 06 Sep 2014 12:32:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQIu6-00044i-0u for submit@debbugs.gnu.org; Sat, 06 Sep 2014 12:32:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQIu5-00044e-Td for submit@debbugs.gnu.org; Sat, 06 Sep 2014 12:31:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQItz-0006h4-V3 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2014 12:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQItu-00044A-1c for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2014 12:31:51 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:44386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQItt-000444-Qc for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2014 12:31:45 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NBH00F00MXT3900@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2014 19:31:43 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBH00EZAN8VGG80@a-mtaout22.012.net.il>; Sat, 06 Sep 2014 19:31:43 +0300 (IDT) Date: Sat, 06 Sep 2014 19:31:46 +0300 From: Eli Zaretskii In-reply-to: Message-id: <83k35gd825.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.7 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.7 (------) > From: Ting-Yu Lin (=E6=9E=97=E5=BA=AD=E5=AE=87) > Date: Sun, 7 Sep 2014 00:02:51 +0800 >=20 > 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. >=20 > ;; > https://github.com/gempesaw/ido-vertical-mode.el/blob/master/ido-ve= rtical-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) >=20 > 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.p= ng > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 08 11:54:34 2014 Received: (at control) by debbugs.gnu.org; 8 Sep 2014 15:54:35 +0000 Received: from localhost ([127.0.0.1]:33999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XR1H0-0008G3-M6 for submit@debbugs.gnu.org; Mon, 08 Sep 2014 11:54:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41960 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XR1Gz-0008Fw-DD for control@debbugs.gnu.org; Mon, 08 Sep 2014 11:54:33 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XR1Gy-00052C-Vd for control@debbugs.gnu.org; Mon, 08 Sep 2014 11:54:33 -0400 Date: Mon, 08 Sep 2014 11:54:32 -0400 Message-Id: Subject: control message for bug 18418 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.5 (-------) forcemerge 18419 18418