From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Ligatures Date: Mon, 18 May 2020 15:44:01 -0400 Message-ID: <65807546-ed40-a175-640d-9da7a1548d8a@gmail.com> References: <20200517124125.000013a4@web.de> <97C7EAB7-10AB-4702-ABC8-EB6C1C50ABDB@gnu.org> <20200517165953.000044d2@web.de> <83lflqblp0.fsf@gnu.org> <83ftbybio3.fsf@gnu.org> <83zha69xs2.fsf@gnu.org> <83367x9qeq.fsf@gnu.org> <83y2pp88lw.fsf@gnu.org> <83pnb182ce.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 18 21:54:52 2020 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 1jalqd-0009Sf-Mt for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 21:54:51 +0200 Original-Received: from localhost ([::1]:49484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jalqc-0004hh-OR for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 15:54:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jalgE-0005Sq-3y for emacs-devel@gnu.org; Mon, 18 May 2020 15:44:06 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:47043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jalgD-00050A-6X for emacs-devel@gnu.org; Mon, 18 May 2020 15:44:05 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id p12so9125702qtn.13 for ; Mon, 18 May 2020 12:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=mwvSMNuvmh+YUSX3BypiThFrDbvBabcEmWiN5Umm2vs=; b=IR3Aepx4Sjwy38pRWV5KTDdtKfUvSmSWt5XNJ4A/q7+6xQCZHqRYR66suvtA1dvnn9 Z0JK4XhJANbRZ/OqhzcEo/FLFP3ocOJJP+uYgrhUYP0u4v8EcrQHnjFhHgt3dZtWStay mUgrk/WLXUeo1GDqe1D3Stg6eM+G6tRRUH+BXVEws7hq9POIExgQD/MwJeGFUltbEAGt AJVTVO0pM5uKHRJghDPe6hd3y11sLk13w0dPYIq+PnzUdo41XlrEDkFNwoEfFGiolBEy 0igosYd+Tk9ZD+8LXPNIs/6QuzhFSuzrytUKHW3TreKidsCwgZ9XrwUmufQvwhFUVnx7 Z6fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mwvSMNuvmh+YUSX3BypiThFrDbvBabcEmWiN5Umm2vs=; b=VBrmIyLyBfj+wVh27VQo2Gk0dhCvQVOPANpc+BBWp+fHNBcKp2BtMuALM8ic86z3PM p5p+yr4lGEyssHJVf69Tu6e0ph94GFkyVH/jG5MDlwJuWKtbzHJh6WH3SiRFO/ZwEqaK FEmYqfT9DTwzQ4KOjMHYXlwH28d1aGT1dd0Q83/QyxEX0jOegLFUZ0QPepa+Ncoe/ciu k73c1CgSiiw19Yh6qQdS0tlG91XSeYqJJQKSo7MA2Y7eugRy7RosfME7uk3PmuUfhQRq AlKBwRoQizqiqd34nVrrDNipOfKg+O0oo2uE+/sYXtdxZBsj57nFdT2KHAkK4xjk23YP hVWg== X-Gm-Message-State: AOAM531V7wwFm+q6RUFy/qqgDIPRmVaV/MtXhFfrHNgUvTsutR2MwkID 7vSAUcZttvnQwLZf8IrOIYulqGsU X-Google-Smtp-Source: ABdhPJzosrPUjwZ3uI0akZARtN08Bp2fb+ovCcBL+Oo27VerBdPkwtypkKYSyDq2H9oBF5eniD8x7g== X-Received: by 2002:ac8:2aa6:: with SMTP id b35mr17621538qta.153.1589831044040; Mon, 18 May 2020 12:44:04 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:bda5:ac5c:1de0:b677? ([2601:184:4180:66e7:bda5:ac5c:1de0:b677]) by smtp.googlemail.com with ESMTPSA id p40sm10230694qtj.59.2020.05.18.12.44.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 May 2020 12:44:03 -0700 (PDT) In-Reply-To: <83pnb182ce.fsf@gnu.org> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=cpitclaudel@gmail.com; helo=mail-qt1-x836.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:250818 Archived-At: On 18/05/2020 15.33, Eli Zaretskii wrote: >> From: Pip Cet >> Date: Mon, 18 May 2020 19:19:19 +0000 >> Cc: Stefan Monnier , emacs-devel@gnu.org >> >>> An alternative which might be nicer is to "split" the composition: >>> display it as if a ZWNJ character was inserted at point. Thus, moving >>> forward one buffer position into the ffi would show f followed by a thin bar >>> cursor followed by the fi; moving forward one more buffer position >>> would show ff followed by a thin bar cursor followed by i. Etc. >> I tried something like that (with a variable-pitch font), and the >> effect is nauseating because the rest of the line shifts as the width >> of the word at point changes. > The idea is that this is used only rarely. Most use cases don't need > to deconstruct a ligature that way; after all, that's what ligatures > are for. In an earlier thread, you mentioned programming font ligatures — wouldn't it be very common to deconstruct such ligatures, like → into ->? Maybe the effect wouldn't be jarring with monospaced fonts, but for these the simple approach of subdividing the glyph works nicely too.