From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Support "\n" in icomplete-separator Date: Sun, 15 Nov 2020 21:32:47 +0200 Message-ID: References: <83mtzp2qj0.fsf@gnu.org> <83r1p11369.fsf@gnu.org> <834klv26vu.fsf@gnu.org> <835z69y7kc.fsf@gnu.org> <20201114061735.wm3tgh72eesyg6jp@Ergus> <20201115023934.uvcybhyltpqazerf@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2039"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 15 20:33:38 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keNmM-0000Ot-DA for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Nov 2020 20:33:38 +0100 Original-Received: from localhost ([::1]:51714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keNmL-000566-Eu for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Nov 2020 14:33:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keNle-0004fD-AP for emacs-devel@gnu.org; Sun, 15 Nov 2020 14:32:54 -0500 Original-Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]:43645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keNlc-0003HR-IB; Sun, 15 Nov 2020 14:32:54 -0500 Original-Received: by mail-lj1-x241.google.com with SMTP id 142so3854999ljj.10; Sun, 15 Nov 2020 11:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NJoW5NBBJMmdACpaRGhn2ZjsEYbrgrFx+2gp31EKVAk=; b=mUa8qCYmE0II9LkeEo9ZSBviLVcRckVCDaQ5rdyU3QPKyIttDdlxlMKAbTpvz7tkNH C2i26wbyQPbKZTx7ps/IBHrwc41FmLjXlSwp/QJe4uWU/MSXNM6TqdN/MD4q5GnGB0UW KR11QLIx2eGqT43yWZqAOc/YSAdh6eFwd/wJZhZ1fznPujmOQd6KPjLmah9z4EMEsf9F r5dDXcat42ugW5pG4GVEBzhJWh6c36WReu0ObxqzOeh7JSe6ZH6MLq3ZClgb4kVeQRUK g3hX/kpFN1CoKRKtZCeCzNnuQawROPbPvvP6lkBGiWfsqUpWc+ZzKPlrIyuameYAR+VH /j/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NJoW5NBBJMmdACpaRGhn2ZjsEYbrgrFx+2gp31EKVAk=; b=bfLvQUgJWNEuAGymNvZBJ3vzRoEYE3Y92NwjE8V6gBOCF8JoyIAyHicvhBWWRXH3QM Cn78pbMf9K/f5i35qFgeRr7bZs/IX3qDO4jaxapSHQ89Gz0CA5p5Je8wOioi+ZzLeErg UeZthjG9q/SY6cAtwcZrjvmffazxmCK2RKBsAaMmPE2xFVZgL9fXNnJa48DMsMeTJCDv Rf/8/B9Uh2939YfvMyI7260co681XWPNqDQxPXBOnZn7CFLsvyqAWnSRu7eVSOefwdPY 8Ff2fOl9vvxT88ohMr5ILXuP32Q8OSgUGU4zILARs6oTgkB+6CU6q3xHpaQwN+zzX9qp UANw== X-Gm-Message-State: AOAM5334OgwrL2ju7AKuEAzJTtbmbEuS5+jBEcwPA+UM+CgGzpEth/V4 aUJqnQBqcgjKViIFEmOihOU= X-Google-Smtp-Source: ABdhPJzzMawzg7+bR44XiY1R4nFEzOO8kfWsomrxNaE9VB5miVqnSFsDelN+owm6m+qag000ZVb6Ig== X-Received: by 2002:a2e:8990:: with SMTP id c16mr5160668lji.76.1605468770440; Sun, 15 Nov 2020 11:32:50 -0800 (PST) Original-Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id s21sm2469359ljj.101.2020.11.15.11.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 11:32:49 -0800 (PST) In-Reply-To: <20201115023934.uvcybhyltpqazerf@Ergus> (Ergus's message of "Sun, 15 Nov 2020 03:39:34 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::241; envelope-from=andreyk.mad@gmail.com; helo=mail-lj1-x241.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259204 Archived-At: Ergus writes: >>In emacs -Q: >>1. M-: (set-frame-height nil 1) >>2. M-x >>3. TAB >>Completion buffer is opened and from now each pressing of TAB will >>scroll completions. >>4. ivy-mode RET >>5. M-x >>6. TAB >>No completions are visible >>7. TAB >>No completions so far but the 'enable-theme' command is invoked. >> >>With TAB rebinded to 'ivy-partial', the command in step 7 is not >>invoked, but still no completions are showed. > > Something is wrong in this setup or I don't understand what do you mean, > sorry. > > If you do: > > Git clone git@github.com:abo-abo/swiper.git > cd swiper > make plain > M-x > > Don't you get a completion list in minibuffer (without needing a tab)? Try to make the frame as small as possible with '(set-frame-height nil 1)' Do you get a completions list in minibuffer? > Pressing does nothing in this case... because it is not needed. The problem is that with ivy completions in minibuffer is the only way to see possible completions. Ivy overrides the 'max-mini-window-height' variable with the 'ivy-height' variable, but in some cases mini window can't occupy that many lines.