From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Completion details and vertical completion format Date: Mon, 28 Nov 2022 12:05:47 +0100 Message-ID: <865yezuyno.fsf@gnu.org> References: <86fse7wfgk.fsf@gnu.org> <865yf0cjx9.fsf@mail.linkov.net> <86fse3csit.fsf@gnu.org> <338f50d421efa71f81b6@heytings.org> <338f50d421e6a2ea4628@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: Juri Linkov , emacs-devel To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 28 12:06:54 2022 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 1ozbyQ-0009GS-K4 for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Nov 2022 12:06:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozbxg-0007ik-To; Mon, 28 Nov 2022 06:06:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozbxf-0007do-2w for emacs-devel@gnu.org; Mon, 28 Nov 2022 06:06:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozbxe-00049e-6s; Mon, 28 Nov 2022 06:06:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BTTiJvVNBYT50mwgeyTCl3Y5ahzsM0HQW6CZ1veFA7I=; b=gcqXu+vnDVMpfCVsaMdG YWytjruns1FBomS0gtdRiaHeOILalS7R+tIkSezbRhNcw4fWasR1ym80SOIYrrxJGslv50wF3MLcx HZYeUppGVK0fJaFDQT5P+wy4KwN2t4+ICLpDuPfTS5rVuC9d7nTOkuerHXifYuxGgOMYsas1SixiC YqFWgu2kWYurI9P2BoLWb7OIoJVwjf8Hzp609WdemyluwQz3ebRsfJMm8vtlpvfa5GGaLhoO+MMzE zkCHJSxuhXdfg8b0DGGxhdihzLdsSyebN24s4tps11z+broAu+nB5GxP0+ba+U9aFTlB6jvnTSn2v MOUAUl54H0h1kg==; Original-Received: from p5b326552.dip0.t-ipconnect.de ([91.50.101.82] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozbxd-0002bq-IR; Mon, 28 Nov 2022 06:06:05 -0500 In-Reply-To: <338f50d421e6a2ea4628@heytings.org> (Gregory Heytings's message of "Mon, 28 Nov 2022 10:42:38 +0000") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300668 Archived-At: Gregory Heytings writes: > Arash, does the patch below fix your problem? The current code > assumes "at least 2 columns", but that's wrong when completion > candidates become long enough. Thanks for looking at this. Your patch fixes the issue here, I've tried it with different use cases I have, also with the external package 'marginalia', and it works. Best, Arash