From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: feature/icomplete-vertical Date: Fri, 18 Sep 2020 19:05:38 +0200 Message-ID: <20200918170538.hwchsqyvhtsyhcvc@Ergus> References: <20200912133311.6ujtgczj6wyclufy@Ergus> <8BBE93B6-922E-44EF-B7A4-6A82C4F1DE3A@139.com> <20200914150258.4ze4ffv3afh4jd4f@Ergus> <7F366599-595E-4BF9-9C95-8E701045BAE8@139.com> <20200918005354.muskx2b7tssyqzzk@Ergus> <93DD4B50-61A2-4786-AD89-1322E51A6A90@139.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19233"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: jixiuf Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 19:08:34 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 1kJJs9-0004uh-R8 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 19:08:33 +0200 Original-Received: from localhost ([::1]:59972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJJs8-000611-So for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 13:08:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJJpZ-00035Z-Df for emacs-devel@gnu.org; Fri, 18 Sep 2020 13:05:53 -0400 Original-Received: from sonic303-2.consmr.mail.bf2.yahoo.com ([74.6.131.41]:36335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJJpW-0003jC-H4 for emacs-devel@gnu.org; Fri, 18 Sep 2020 13:05:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600448748; bh=Kqj8EtGzuz7yMh9cYiLwaYCpC8W+9eQbUBaXLeCoVK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=PvtR8anJPRMXe8AQRU5U5Z4OMaJ567wSAn20KyzKgJg9hbnafo+KfLEpiu7GO1dQTylwbt+bs8tYwM/QITNXb9YE0C3kNXTiqN4Q0zcEuKsC1nRrQsQ0IGN1ncmXuAt1/1K2R2MP/g2XD/oU6fgNwTY/FjRbLVVwn95dHY3grx+Y9mWUTSDpxOikvuBd8UJqMtIUthK8nUh203QMmL3l2wB8ovb+xU51RjN1caF8PhilRZQLJoRtePh28RvmfRvBMSOV0Pwou7qJ6RWVeZTW/NKfTghg6OEoadNm0ed9Qm99EXw5RjTENuqbYZMTCmuBbHgrWtrlvKCMBo5MZXGJgA== X-YMail-OSG: kN7QZ0cVM1lnE1lwjow_C6U5hu4ZFxqwF1Z3GDUAoNLUo3CZjRy5jhGeicWr6pJ b..QkPl4eIh8pVtllf5HQMHvzas3MUmkgWrDGtE3C_2l9Cma0ICrg4Za3ozNR5pQTxwHeiT4qvu4 gMFmaozvcoumUTd45yLblS_3r20xRNPshYMGxkE2UVNB4LXsa2IbHTXQb_Jr0YdQicPsYRkyx523 8HxvOfNRd2nBBh54dQp9T0fc3ZnjR87bdqBOdM7C.XQ8othB_5x4MXFiOPmoO2Ro3j.lJsGfvQT8 FcVKPl1PvyTpc4c1E4myQnDnpR2URpV5WHten_Mz1T.oqMxs_bXF_ScNK0AOMCghcEm4FVrKFVn_ 3B067T66IkVBLhDjtfgAvppiqcUvSTzdbQfSAhcl2tYmsGbxzqttO5YC0UGoHRzE5p0khN1zzBMJ voyU9vqszBDqMXhGpzTlkIcXFZDAlrCenYPDfx6TKtrrE0Hf9YZHAuzCSSPUQOKloL9Hbf5oChhb cBqBJytcmmwcBVoTsRMayzJ0m9msRswOUpiL8_yZzZK2mN_TcXXNHmDdGdVQFikjy0tw084cbXkQ ebR7JpQdn9cBqimrq8cD1LKIFufuNgTLw4MDrk391j187RvY959uLl3IPAqCG8wcW2p9TfHYkK.R DSOj6C9GPqqYXxs1rh3eknIsvc60a1DAEV0jLt1FAzCZPSHyMXzPyiPOwTRIN5dULTdZMsiE_Ycb _lZHujD4Sjwz1U2MKgFyhAIBC0_Yh8faojJY9b4KCq3d4DL25lQ1j2GHxP.nZ39beRPykJ.Hhmml y9JekVrjTMM_MPkjS8s.y4SKbfwstYHc8CfPF.MlW3 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Fri, 18 Sep 2020 17:05:48 +0000 Original-Received: by smtp421.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1849196c2bab8a9d774da339ea7a347f; Fri, 18 Sep 2020 17:05:45 +0000 (UTC) Content-Disposition: inline In-Reply-To: <93DD4B50-61A2-4786-AD89-1322E51A6A90@139.com> X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.131.41; envelope-from=spacibba@aol.com; helo=sonic303-2.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 13:05:48 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:256120 Archived-At: On Fri, Sep 18, 2020 at 11:08:48AM +0800, jixiuf wrote: > > >Thanks, it is fixed . > >But the bug of "disappearing prompt and entered text problem" came back again, when I (setq max-mini-window-height 10) > >``` > >(setq icomplete-show-matches-on-no-input t) >(icomplete-mode 1) >(setq icomplete-format 'vertical) > >(defface vmacs-minibuffer-font > `((t :inherit default :height 1.3)) > "The default font for minibuffer buffer. >Monospaced font whihc is fixed idth and height is recommended." > :group 'minibuffer) > >(defun vmacs-minibuffer-hook() > (set (make-local-variable 'buffer-face-mode-face) 'vmacs-minibuffer-font) > (buffer-face-mode t)) > >(add-hook 'minibuffer-setup-hook #'vmacs-minibuffer-hook) > >(setq max-mini-window-height 10) ;; add this line >``` After asking Stefan he agrees that the problem is in the documentation of max-mini-window-height that should specify that the height is expressed in terms of the default's frame font. So according to that it is fixed now in icomplete-vertical and waiting for a patch to improve the documentation of max-mini-window-height. Best, Ergus.