From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Ligature support Date: Sat, 6 Nov 2021 03:09:58 +0700 Message-ID: References: <87cznths5j.fsf@gnus.org> <8ff3b131c5fe09753ca0@heytings.org> <83mtmtru6l.fsf@gnu.org> <8ff3b131c57f741d04e5@heytings.org> <83lf2drqx6.fsf@gnu.org> <87lf2c3k0z.fsf@gnus.org> <83wnlwqocq.fsf@gnu.org> <87wnlwyox9.fsf@gnus.org> <83lf2cq7n5.fsf@gnu.org> <87wnlnkxbo.fsf@gnus.org> <83cznfdohr.fsf@gnu.org> <87zgqik9bk.fsf@gnus.org> <83v916d64z.fsf@gnu.org> <878ry2k6qz.fsf@gnus.org> <83tugqd488.fsf@gnu.org> <87zgqiiq8c.fsf@gnus.org> <83r1bud3or.fsf@gnu.org> <87r1buipf5.fsf@gnus.org> <83o86yd0ig.fsf@gnu.org> <87a6iiimay.fsf@gnus.org> <875yt6ikuv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28276"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 05 21:11:25 2021 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 1mj5Yb-00078i-5Y for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Nov 2021 21:11:25 +0100 Original-Received: from localhost ([::1]:53126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj5YZ-0001L5-BY for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Nov 2021 16:11:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj5XR-0000QU-Ko for emacs-devel@gnu.org; Fri, 05 Nov 2021 16:10:13 -0400 Original-Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:34373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mj5XQ-0002oB-7F; Fri, 05 Nov 2021 16:10:13 -0400 Original-Received: by mail-ua1-x930.google.com with SMTP id b3so19225034uam.1; Fri, 05 Nov 2021 13:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8JaUc8tKY8mwo1SSB4Jbmgat/exmwSua8+CPu+rbbP4=; b=lm5esopcFnbB11MAdxiRQTNLeFk2vfIO/2JJ0Q8BBjTxd4Ftv4aYEjd4E/iK9r7/VS TWc5LlvSD0FRSB8pkpPr+NOFelpbtk60d86ddFFmqN7abN/w9UqInBLCtenYLUkZcUKP Wc3A5ZUUTAufgFpFv89D8cRyAQ5/XimlqbVWrH9WXum6R1NwuKKtoO4PF+2yi+nKs0/X k0uOl/YaUD4Q7hIiyasLUwU7oXyd1rMH7wYyCs/JjqdTEmyMuaDCYoT3mY9EQ9lWQIii isFKIuy7lV8G08r9fBvzfM0+RCDJ+fU2V/uhl1pZq+ZstauNbVfhLZMHVbjY2j8HlDTr nf+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8JaUc8tKY8mwo1SSB4Jbmgat/exmwSua8+CPu+rbbP4=; b=uPpUYvMGefNKXz2/I9sPVc9wv1YTsuthCLfQPkCvmX79feyHwAFn9Qz1Z6hsXqN+OH LjKklklMpauzS0GucuR0Jaz41xqVOo1P03JWSHPKqOB9/Fuagl4+N1dDS9+JahTznoI9 xTZ6xGgMVei14CaAYVopwr5QwjzcYCTQv+pedArlq2ppjFwwycvVHjGYCSoVFFr64NYl kZq7SJciZbnK5BSpusV0mW9Q6F0HqxxFe/IUN/jj6r01jF6gOSu18f16jwb0Av4OpbUQ 1vS/rebOACchqaaspz5BowCgs/RWVumK5GrfUyiUb810w66ebImiSUzBq5TMdy79HS3u t/Yg== X-Gm-Message-State: AOAM533jG/44nMgjEVBmayWwHxthlfoRD3kgshie0Ua3Zjzutf1WG05A ZDX+HM0vtmf5jRWr+1+easBtRGzj99fhhWXPvZc= X-Google-Smtp-Source: ABdhPJy71nNMFQPKctw72qDmFAKMOGvSMYdZN6j5AYmbeLjVOgk/bVh1bSyc/jgwYp3qYfsJ/z38F0AYUNC8lrNgyAg= X-Received: by 2002:ab0:3e3:: with SMTP id 90mr68127185uau.102.1636143010605; Fri, 05 Nov 2021 13:10:10 -0700 (PDT) In-Reply-To: <875yt6ikuv.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::930; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x930.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:278804 Archived-At: On Sat, 6 Nov 2021 at 00:16, Lars Ingebrigtsen wrote: > Do other programs make these into ligatures when you use these fonts? Looks like they don=E2=80=99t. So, the fonts have a glyph for the ligature code point, but it=E2=80=99s opt-in. I can see how people could want to only use a subset of ligatures supported by a font. Fira Code has a ton of ligatures for multi-character operators in various programming languages, but one might prefer to enable ligatures only for the operators that actually exist in the language one is working with. Like, in HTML, --> is a closing comment delimiter, but in C =E2=80=9Cwhile (n --> 0)=E2=80=9D only = works because it=E2=80=99s interpreted as =E2=80=9Cdecrement n and check if its o= ld value was greater than zero=E2=80=9D.