From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: "Why is emacs so square?" Date: Mon, 27 Apr 2020 02:15:41 +0300 Message-ID: References: <64955D68-ED90-454C-B5AD-389BAD0870B1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38034"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: =?UTF-8?B?7KGw7ISx67mI?= , Emacs developers To: Yuan Fu , ndame Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 27 01:16:39 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 1jSqVr-0009pY-Ru for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Apr 2020 01:16:39 +0200 Original-Received: from localhost ([::1]:48616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSqVq-0008FZ-TW for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Apr 2020 19:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44946) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSqV3-0007hk-K6 for emacs-devel@gnu.org; Sun, 26 Apr 2020 19:15:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSqV2-0003AS-Fh for emacs-devel@gnu.org; Sun, 26 Apr 2020 19:15:49 -0400 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:36094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSqV1-0002rc-1Z for emacs-devel@gnu.org; Sun, 26 Apr 2020 19:15:48 -0400 Original-Received: by mail-wm1-x332.google.com with SMTP id u127so18380464wmg.1 for ; Sun, 26 Apr 2020 16:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Gqz8m5v3UCIO9og2rgfY52IiGutQntMu01ZfC9Y7a0w=; b=tNt4y84yfYGltmMzLodUoheIIs+7nkXYMuKY+xQsy6wYrVob7XKGz6OCdpoz2mvKPN w58FDRelNPJjDCmGexRDXbq4ldmxy4QCUC+Hd3nD360zjxx38mcpeevq5iZKyOhdK3ZN z7VRql4UQkuxcEeIGdIX+CPRoVdfS+I/IW4boXH5CsoSnZYhl6T4cYBynZ2C44FyLusn aOugKiafEcs9/ZVXA5t0uLavJApeEUFDVZBGLqgRaqWTD1eY3ccoitx58eC2YHJVCjzO xC6bpCt+rTnyIYyJRE2h9DZ09GdmDHbBOSKUAcZkU6slQtYz0Rm50vDy/iIZf/Yjc1+0 wXvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Gqz8m5v3UCIO9og2rgfY52IiGutQntMu01ZfC9Y7a0w=; b=f1/MQXTiYvn+l1u75ZuHPz077NaWXKGNpofxsaw8Y4K5nQFGWzKOILi4NRZdzG10gZ 9sX0MddaliPjgRBjL+1z8++88OL6/eVcWX9bl06A5AJ6qUgddXVKo36RqsEnvwHJg7fk BXQ2zRrCdhGBI5Qg6x9bUTSeqfy4UOVSuWUTyGp2939+LyrOU+EmlK9Y48wnc/WtrCjE lNV3OYnSojsfaZ5xpfo1irxLvRBrnbRwOSYomZVG3SeohgVTlGBsv3Ow8otcF+8BJIgI w/Q56N5aBMdVUVMCoFo/c7WoFyvvQg6SfRXEel3qJ5P/PI7+rLYC6+ornfA/QEFS9ILR o4Wg== X-Gm-Message-State: AGi0PuYv/lOZbOnOEznS+eAY8iq/LJFRuWME2iZyOrWdsqcujbLz+Rdw 100/P94m1mfHUfVdBMPUQfPrkzspJOg= X-Google-Smtp-Source: APiQypJunFabXPasm0HjP62aEFO7lDvO+0RCgltEP9JGHrBBRbVOsg0GbRk0JV3uKGg4DKHWBY86ug== X-Received: by 2002:a1c:9989:: with SMTP id b131mr22765378wme.176.1587942944326; Sun, 26 Apr 2020 16:15:44 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id b66sm13595586wmh.12.2020.04.26.16.15.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Apr 2020 16:15:43 -0700 (PDT) In-Reply-To: <64955D68-ED90-454C-B5AD-389BAD0870B1@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=raaahh@gmail.com; helo=mail-wm1-x332.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::332 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:247872 Archived-At: On 25.04.2020 23:45, Yuan Fu wrote: >> Though, it's a single line displaying completions, a vertical display >> could be better, especially if the entries are longer. >> >> And someone did it already: >> >> https://github.com/oantolin/icomplete-vertical >> >> Icomplete-vertical should be adopted into the core as an option and this >> is how completion should be set up for newbies. >> >> It's still not as good looking as the one on my first link, but it's >> almost there. It's vertical, it gives you instant results, so it's much >> closer to completion provided by modern tools (Idea, VsCode, etc.) than >> the default one. >> > > > Thanks for sharing! I tried to use icomplete with ā€œ\nā€ separator, but encountered the problem that this package aims to solve. This should definitely be included as bugfix. And it's definitely a very good step. It would be even better if it could work with any of the packages that move minibuffer into a childframe. Unfortunately, the combination seems broken one way or another, probably because icomplete-vertical has to rely on a hack to get the right behavior. E.g. with https://github.com/honmaple/emacs-maple-minibuffer I get: Debugger entered--Lisp error: (error "Cannot resize a minibuffer-only frame") resize-mini-window-internal(#) window--resize-mini-window(# 36) enlarge-window(1) icomplete-vertical-minibuffer-setup() run-hooks(icomplete-minibuffer-setup-hook) icomplete-minibuffer-setup()