From unknown Wed Jun 18 23:08:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25575 <25575@debbugs.gnu.org> To: bug#25575 <25575@debbugs.gnu.org> Subject: Status: Make ido respect completions-common-part face Reply-To: bug#25575 <25575@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:08:36 +0000 retitle 25575 Make ido respect completions-common-part face reassign 25575 emacs submitter 25575 Luis Gerhorst severity 25575 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 17:23:04 2017 Received: (at submit) by debbugs.gnu.org; 29 Jan 2017 22:23:04 +0000 Received: from localhost ([127.0.0.1]:50492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXxsG-0000w9-Bx for submit@debbugs.gnu.org; Sun, 29 Jan 2017 17:23:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXxsF-0000vT-8H for submit@debbugs.gnu.org; Sun, 29 Jan 2017 17:23:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXxs6-0000ul-OF for submit@debbugs.gnu.org; Sun, 29 Jan 2017 17:22:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXxs6-0000uh-L3 for submit@debbugs.gnu.org; Sun, 29 Jan 2017 17:22:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXxs5-0004Us-8n for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2017 17:22:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXxs1-0000sR-9b for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2017 17:22:53 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41587) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXxs1-0000ry-1e for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2017 17:22:49 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D725B206CD for ; Sun, 29 Jan 2017 17:22:46 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Sun, 29 Jan 2017 17:22:46 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=luisgerhorst.de; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=KcD IPKO7sCD/k8i2bYG6wKcX7Nc=; b=DbTXwtoQ/oDiD49v3uydcm/Z5M18jerefzk WIlIc9/f75+TTUVV2dRf9dtsgTRpcxGTCpojXALZJyozJKgBw+rNV3j7Mxo0vxpg HG9D1mkzZa9qYZ3Jia9B72F6mJO7iNl1I86jxFSw74uLfjEAiIsE+Jf4AQ/Cx7oo MdEqMDQ8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=KcDIPKO7sCD/k8i2bYG6wKcX7Nc=; b=BJACq IUbcClsw+BxJY7fPS75uTdEyPZreGlZfaAGC8W/7Fv15j/DVCytDRWM6SvtyR9LT LF+aJblaQC2KathkJgFw01m6GNt59JJtiN1vaYRXzlK9f+aIZsQL9KPQwMDss6u8 eKJ/9Rq61LZcAXqCOb5SwatixX7xiEnO4mqYRo= X-ME-Sender: X-Sasl-enc: Uo4CMtdF0UaahQE40PfKkMwAz5cQnsJEDEWtZa87dY9d 1485728566 Received: from luiss-imac.speedport_w_921v_1_43_000 (p5b33c55f.dip0.t-ipconnect.de [91.51.197.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E3667E0E7 for ; Sun, 29 Jan 2017 17:22:46 -0500 (EST) User-agent: mu4e 0.9.19; emacs 25.1.1 From: Luis Gerhorst To: bug-gnu-emacs@gnu.org Subject: Make ido respect completions-common-part face Date: Sun, 29 Jan 2017 23:22:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Hi, This would allow the user to customize the display of the common part of completions, e.g. remove the decorators around it and only distinguish it by using a different face (which looks much cleaner). Company also display the common part this way (see the `company-preview-common` face). Here's a advice based snippet that does what I want. It does not seem to handle colors properly but since completions-common-part just underlines text for me, it's ok: (defun luis-propertize-ido-common-match-string (&rest _) (when ido-common-match-string (setq ido-common-match-string (propertize ido-common-match-string 'face 'completions-common-part)))) (defun luis-unpropertize-ido-common-match-string (&rest _) (when ido-common-match-string (setq ido-common-match-string (propertize ido-common-match-string 'face nil)))) (advice-add 'ido-completions :before #'luis-propertize-ido-common-match-string) (advice-add 'ido-completions :after #'luis-unpropertize-ido-common-match-string) Best regards, Luis From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 08 20:23:11 2017 Received: (at 25575) by debbugs.gnu.org; 9 Feb 2017 01:23:11 +0000 Received: from localhost ([127.0.0.1]:60662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbdS3-0005za-6u for submit@debbugs.gnu.org; Wed, 08 Feb 2017 20:23:11 -0500 Received: from mail-wr0-f180.google.com ([209.85.128.180]:36681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbdS1-0005zN-Ai for 25575@debbugs.gnu.org; Wed, 08 Feb 2017 20:23:09 -0500 Received: by mail-wr0-f180.google.com with SMTP id k90so72175169wrc.3 for <25575@debbugs.gnu.org>; Wed, 08 Feb 2017 17:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=iLegBEjPsZ0jg/R4GJturl4Qj8JJ6scMx6CDOUgVDaM=; b=i5GBUjqzu3JogmkI1I+dTm/hMCUvS5ejVHnmVjom6/IX6TugxXDSEtEW1hC9Y3xYW0 H79w4l3iH5BbURwQF8y5VAHUZSwC/0K4leWFQetwEISX3dbG5WAm303C40GUUCzPYlct VsS/AOEHgXZrVgwqJNALCxcaHjUg3wyVesB8Suuesz4NjlZfJDrIIP3PETI30P2rMPO/ g2Ey/IMbmXEV5zEv8UrX8rUtIRhogoQmWiDRS5CxFkrkSjFWCuvozcoGl2iNaitMRZO3 8KcWVt8q22nJWxT+apmazfyLIFlUKv0ElSypxLqwdXvC5qWV2VXr4vvehKwgF4t5md7S T8EQ== 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:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iLegBEjPsZ0jg/R4GJturl4Qj8JJ6scMx6CDOUgVDaM=; b=LkfJGzXixUFJ1eSFJ74SsyWwxqT3lGFjQLNUCKRLIVx/NiK7KwznT3hv+CnHIvDY6G l0lJLWYhFdnVqkmEcMOalH/8TcmvO5E86qTFYmUa6cqzEnqEw3cjiS6kOEgqoAL2a4l6 XHusET2QHlzS211gSDXUaMnfgyViwRI85MAopl18qV3/J2DnAapYqFZ1ZdWmghM3JOif XnLz1i6WKO5wfR7qbUPJQnoedELFrwqdIjlZ5+co2ipGCpjpgRuBmWuo1lOOnfnLw1C2 WFD+XGx9gRLKkKWlTeyWGMnUbMulK7XoiyoXpS9iAQ/DIFNJhRPBbBByh05EZo101yNm uCdg== X-Gm-Message-State: AMke39nzWFc14KQGXwhXAV7j0axEMovEgDGqmsc587pr+9ZmmKVHh9nV8UKy6wq56+miAA== X-Received: by 10.223.150.238 with SMTP id u101mr303958wrb.175.1486603383373; Wed, 08 Feb 2017 17:23:03 -0800 (PST) Received: from [192.168.1.3] ([185.105.173.41]) by smtp.googlemail.com with ESMTPSA id a13sm6159676wma.13.2017.02.08.17.23.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Feb 2017 17:23:02 -0800 (PST) Subject: Re: bug#25575: Make ido respect completions-common-part face To: Luis Gerhorst , 25575@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: <9c66a32e-80ea-e749-cbc4-6811b05386d7@yandex.ru> Date: Thu, 9 Feb 2017 03:23:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 25575 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) Hey Luis, On 30.01.2017 00:22, Luis Gerhorst wrote: > This would allow the user to customize the display of the common part of completions, e.g. remove the decorators around it and only distinguish it by using a different face (which looks much cleaner). Company also display the common part this way (see the `company-preview-common` face). Could you post a screenshot of the result that you see? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 08:26:37 2021 Received: (at 25575) by debbugs.gnu.org; 5 Feb 2021 13:26:37 +0000 Received: from localhost ([127.0.0.1]:43173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8189-0001gP-7t for submit@debbugs.gnu.org; Fri, 05 Feb 2021 08:26:37 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8186-0001gB-V2 for 25575@debbugs.gnu.org; Fri, 05 Feb 2021 08:26:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1AwpOK7s/lLBBJuaMVmEbEw/3rGSXUYMXuSM6R7TqdY=; b=Q2WjMwX4QjHwrfwfXa0iaOf3xP R8aixt3BWx6BrI2eMXIhACViqS+yF/VgwshF9pwcdbhlFUmuNy17zjUqt5IZ4tvIBX4GLyw34bIRi YKR/F3kHKSXsKDe/x0//b5lujHmmGJuUihtvXgVFAOnL379j4YR3WTR7jF0iNuX56f8M=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l817v-0002v4-2o; Fri, 05 Feb 2021 14:26:28 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#25575: Make ido respect completions-common-part face References: <9c66a32e-80ea-e749-cbc4-6811b05386d7@yandex.ru> X-Now-Playing: Sleater-Kinney's _The Center Won't Hold_: "Bad Dance" Date: Fri, 05 Feb 2021 14:26:21 +0100 In-Reply-To: <9c66a32e-80ea-e749-cbc4-6811b05386d7@yandex.ru> (Dmitry Gutov's message of "Thu, 9 Feb 2017 03:23:00 +0200") Message-ID: <87tuqqfxxe.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > On 30.01.2017 00:22, Luis Gerhorst wrote: > >> This would allow the user to customize the display of the common >> part of completions, e.g. remove the decorators around it and only >> distinguish i [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25575 Cc: 25575@debbugs.gnu.org, Luis Gerhorst X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dmitry Gutov writes: > On 30.01.2017 00:22, Luis Gerhorst wrote: > >> This would allow the user to customize the display of the common >> part of completions, e.g. remove the decorators around it and only >> distinguish it by using a different face (which looks much >> cleaner). Company also display the common part this way (see the >> `company-preview-common` face). > > Could you post a screenshot of the result that you see? More information was requested, but no response was given within a few years, so I'm closing this bug report. If this is something that should still be worked on, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 08:26:40 2021 Received: (at control) by debbugs.gnu.org; 5 Feb 2021 13:26:40 +0000 Received: from localhost ([127.0.0.1]:43176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l818C-0001gf-Fw for submit@debbugs.gnu.org; Fri, 05 Feb 2021 08:26:40 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l818B-0001gG-Jm for control@debbugs.gnu.org; Fri, 05 Feb 2021 08:26:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xH/90PikcZjG0k0TY58JQIrCnP418YTAyGIleL6uSWU=; b=o1ErI9RU+qW67LMQ+7z7yGn584 7CNhkv2Uu3X3pqhyhC1v891a8NnTuSYLXH3H2AzXocjAdYRmuy0LlOp1vbjRiJGjNqlXEqCDSdDh8 VDJdOrBGWT9xZkzmhWYiIVwugLxGBK8oRTfvZo/cNaDOZQLh6UYO9MU/mTNteFL7mO/g=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8184-0002vB-2T for control@debbugs.gnu.org; Fri, 05 Feb 2021 14:26:34 +0100 Date: Fri, 05 Feb 2021 14:26:30 +0100 Message-Id: <87sg6afxx5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25575 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 25575 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 25575 quit From unknown Wed Jun 18 23:08:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Mar 2021 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator