From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#63896: [PATCH] Support annotating and sorting the project list during completion Date: Thu, 24 Aug 2023 04:54:44 +0300 Message-ID: <2688fc0b-6afb-7f13-1805-bf79b0fcabd3@gutov.dev> References: <83v8g240g6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2328"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 63896@debbugs.gnu.org To: Eli Zaretskii , Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 24 03:55:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qYzZ4-0000Km-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Aug 2023 03:55:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYzYq-00058i-1z; Wed, 23 Aug 2023 21:55:00 -0400 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 1qYzYo-00058L-8y for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 21:54:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYzYo-0001AB-1D for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 21:54:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYzYr-0000id-NI for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 21:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Aug 2023 01:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63896 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63896-submit@debbugs.gnu.org id=B63896.16928420992752 (code B ref 63896); Thu, 24 Aug 2023 01:55:01 +0000 Original-Received: (at 63896) by debbugs.gnu.org; 24 Aug 2023 01:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:35705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYzYp-0000iJ-7q for submit@debbugs.gnu.org; Wed, 23 Aug 2023 21:54:59 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:56237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYzYm-0000i6-W2 for 63896@debbugs.gnu.org; Wed, 23 Aug 2023 21:54:58 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 75E5F320069B; Wed, 23 Aug 2023 21:54:47 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 23 Aug 2023 21:54:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1692842086; x=1692928486; bh=JC5VXVgqaQh1Pi8LGE4ojnFLHqn15yeA7um vffw2Hj8=; b=sLTsWINPSOCrhOOWwhR5kWhSNFUWyqeDSNX5+hjqW1Mq1cOuSJI q+WWxn6gpoPD+Pn7Au3Xy/Z2K3VltFgmRh6mOXuubx8Mi+Lv6p9Z3BBRgewLLMuT ZtIMbFvszddhvhm+pLObe9wy4NtjTxutzuAdP14Dmye+EogWcmdPY1VofUheshLk FDVr/wNTrGkmANPCRLdrROJcFXo0Y4xxJ6xkaoepWEVLe5nnf3K2YV3iCWFwW03g peBhaJ1A7syOLyu6qOwqGCPycU+sEXFfwpALI+70WpliO1oxe5PWO9Rtja7Ve6qk NCdCdtBjsDSogxuLNSGLHHLE/58tDnjLngw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692842086; x=1692928486; bh=JC5VXVgqaQh1Pi8LGE4ojnFLHqn15yeA7um vffw2Hj8=; b=Qxk0h4L8vBMOE4V94l4VzGIDYuGvl+88ek43OPLOhe753JQW88y IZ5hYuqvwS4fuXEe9NBx8Ablck17Bg8gNh4mT66fMHjPww5aqKasLaF1WAG6sx0I HmFpxKofmgs1oVMlat50SMo/69Bg2GIFecAQz3oMH0zoqj1dGIqY9EO7aIUrGtL5 WYOEKgR6TQtGhizcmkACE3cL2ruYB2k/+x2Yazc0BSJH3LDfLGlTOBtAt79ygYdl scaqpEWMUYRoHatWSm20Fc8mNcvopEVqAeNjjU1o++bWqpkyG6kZqZCwWlFaFVMt w1ligPl5mSZkt+dQFU4mAd+UEbvvpQ7h6WQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 21:54:45 -0400 (EDT) Content-Language: en-US In-Reply-To: <83v8g240g6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268292 Archived-At: On 05/06/2023 14:23, Eli Zaretskii wrote: >> + (format-mode-line mode-line-process nil nil buf))) > Do you really need to call format-mode-line? My advice is to stay > away of that function: it could have unpleasant side effects. Does calling format-mode-line trigger extra redisplays or something? That sounds unexpected. OTOH, relying on the format of the value of mode-line-process is iffy (submodes could change it; though I haven't really seen it done so far).