From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24293: 25.1; Display bug: icomplete prompt not visible with icomplete-separator "\n" Date: Tue, 23 Aug 2016 12:38:00 -0700 (PDT) Message-ID: <7b8693c3-815c-4a07-9031-d71ab2ea9391@default> References: <87r39fxzg3.fsf@web.de> <83d1kzfogn.fsf@gnu.org> <87fupvxq3g.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1471981163 31501 195.159.176.226 (23 Aug 2016 19:39:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2016 19:39:23 +0000 (UTC) Cc: 24293@debbugs.gnu.org To: Michael Heerdegen , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 21:39:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHXZ-0007hm-1X for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 21:39:17 +0200 Original-Received: from localhost ([::1]:47982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHXW-0003fs-1k for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 15:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHXQ-0003fn-00 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcHXK-0008El-3C for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:39:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHXJ-0008Eg-WA for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bcHXJ-0001dt-JU for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2016 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24293 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24293-submit@debbugs.gnu.org id=B24293.14719810986260 (code B ref 24293); Tue, 23 Aug 2016 19:39:01 +0000 Original-Received: (at 24293) by debbugs.gnu.org; 23 Aug 2016 19:38:18 +0000 Original-Received: from localhost ([127.0.0.1]:38237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHWb-0001cu-Rt for submit@debbugs.gnu.org; Tue, 23 Aug 2016 15:38:18 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:45384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHWY-0001cc-Vh for 24293@debbugs.gnu.org; Tue, 23 Aug 2016 15:38:15 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u7NJc77O010778 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Aug 2016 19:38:08 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u7NJc71X032695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Aug 2016 19:38:07 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u7NJc1HF005382; Tue, 23 Aug 2016 19:38:06 GMT In-Reply-To: <87fupvxq3g.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122556 Archived-At: > Maybe we can fix it in icomplete instead. AFAIK icomplete tries to > limit the number of shown candidates according to some settings like > maximum number of lines to display, but doesn't handle the case of a > separator including a newline character correctly. >=20 > Is it possible to determine reliably the number of lines a minibuffer > window can display maximally for given max-mini-window-height? 1. Please take care not to break the case of a standalone minibuffer frame, or any other context where the minibuffer can be resized to accommodate a large number of icomplete candidates. IOW, a newline separator is not a problem at all in some contexts. Please don't limit or break that behavior. Thx. 2. It's not clear to me why this should be handled in icomplete.el. Doesn't the same problem arise if multi-line text is inserted in the minibuffer or if any other program does something similar to what icomplete does? IOW, isn't it a general problem, which would call for a general solution?