From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4Oh1EW+XMGiu2S8AWB0awg (envelope-from ) for ; Fri, 23 May 2025 11:42:39 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=D8Vf06os; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 4221B1E11C; Fri, 23 May 2025 11:42:39 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-10.1 required=5.0 tests=ARC_SIGNED,ARC_VALID, BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 50E381E102 for ; Fri, 23 May 2025 11:42:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1D4693856245 for ; Fri, 23 May 2025 15:42:37 +0000 (GMT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 2A179385B531 for ; Fri, 23 May 2025 15:42:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A179385B531 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2A179385B531 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748014941; cv=none; b=ofVyytanJlW838wvmMswGNaLlFutauhPoSnKxwxAr42c21m6Ut0noJ1K5QwgE3RxWf+tCDTK8Ni2Rl1wGxdW1jKxtWPltgNP0nYlYXCgQcpDRbujXDGtMNBCJkm5f8Xl3DCbn6KkEvW3lynTCKo+KoM1Hpvpm1tStTY0TmFQ88o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748014941; c=relaxed/simple; bh=mSroYrGnkHAW/S0NrO5m2GwGdfWKhIROhH1AYbPV42A=; h=DKIM-Signature:Date:Message-Id:From:To:Subject:MIME-version; b=hRgMxdHJb6GJsqrSsMEJGUhHo1P3cbzhNQBhfCRy47tGDUHvLRLqysGnl66yvMWBVn/JL53VOV5AZdwDr8GSidg3ZkpUlc2PLrG2EYnfHxLfgAbW1VQar9K5cqhGXYXdigwVglFRCScSiXMFf4C/yp62z+q7mKnuw5j8zgmg45A= ARC-Authentication-Results: i=1; server2.sourceware.org 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 1uIUXL-0000Pm-SI; Fri, 23 May 2025 11:42:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=INe2AhGwWyd+qj9b3CzIpOO5b9koPzZf89zR2FlSdKk=; b=D8Vf06osq6Rx9GiF97DL 3yywEEeCxbvcxjhYgjVM2gAq43H/AvPNFlz4LHfrB/dL9uOtWXQL5GE9QCoYAhy21UUoCmEcwhQmH 29IMKMHA4WPguDh1FhB8/g5+VUyydZ7mt7uRs15a4Pi9TM5g/oA2GpGhtTD10ans/wCpio7A+b6V6 Py3w4GyHPD5aDDe+6Lkyxt2Dwivmq4T08qcBSgXQ+EPMunVDLVR7Qk042RxPS4bX/fx0evwds+2EI S6TtQZ6zNwXhvOOUgL4P4DcL6O3iWBX+c0Ps3Rj4LFNx2Xf2CW7Ww9Y2n5APYOECv/MtV2XKn/u2C 79EQjKgDalJu2Q==; Date: Fri, 23 May 2025 18:42:16 +0300 Message-Id: <86a57349lz.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec Cc: tromey@adacore.com, gdb-patches@sourceware.org In-Reply-To: <87ecwfz81c.fsf@adacore.com> (message from =?utf-8?Q?K=C3=A9v?= =?utf-8?Q?in?= Le Gouguec on Fri, 23 May 2025 17:00:31 +0200) Subject: Re: [PATCH 2/2] Allow check-mark to be changed for CLI References: <20250509-emoji-check-mark-v1-0-63b6c52411f3@adacore.com> <20250509-emoji-check-mark-v1-2-63b6c52411f3@adacore.com> <867c2pc6wb.fsf@gnu.org> <871pso7i5t.fsf@tromey.com> <86jz6gy1u0.fsf@gnu.org> <87ecwfz81c.fsf@adacore.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org > From: Kévin Le Gouguec > Cc: Tom Tromey , gdb-patches@sourceware.org > Date: Fri, 23 May 2025 17:00:31 +0200 > > Eli Zaretskii writes: > > >> >> From: Tom Tromey > >> >> Date: Fri, 09 May 2025 14:18:51 -0600 > >> >> Cc: Tom Tromey > >> >> > >> >> +/* Emoji check-mark. */ > >> >> +static std::string check_mark = "✓"; > >> > >> Eli> Btw, if this is related to emoji display, shouldn't the default be > >> Eli> U+2713 followed by U+FE0F VARIATION SELECTOR-16, to show the "emoji > >> Eli> presentation" of the CHECK MARK character, if the terminal supports > >> Eli> that? Or do too few terminals have such support? > >> > >> I tried this but this combination doesn't seem to change the display. > > > > I think this might depend on the terminal. E.g., the display in Emacs > > does change, at least here and with fonts I'm using for Emoji. > > In this specific example, could it just be that U+2713 CHECK MARK has no > emoji presentation, or am I reading emoji-data.txt wrong? > > >From my emacs.git copy: > > # ================================================ > > # All omitted code points have Emoji=No > > […] > 2705 ; Emoji # E0.6 [1] (✅) check mark button > 2708..270C ; Emoji # E0.6 [5] (✈️..✌️) airplane..victory hand > 270D ; Emoji # E0.7 [1] (✍️) writing hand > 270F ; Emoji # E0.6 [1] (✏️) pencil > 2712 ; Emoji # E0.6 [1] (✒️) black nib > 2714 ; Emoji # E0.6 [1] (✔️) check mark > […] > > # ================================================ > > # All omitted code points have Emoji_Presentation=No > > […] > 2705 ; Emoji_Presentation # E0.6 [1] (✅) check mark button > 270A..270B ; Emoji_Presentation # E0.6 [2] (✊..✋) raised fist..raised hand > 2728 ; Emoji_Presentation # E0.6 [1] (✨) sparkles > > Notably absent: 2713? So 2714 does vary with (✔️) & without (✔) VS-16, > but not 2713? All I know is that the display in Emacs does change, as I said.