From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Ligatures Date: Tue, 19 May 2020 19:08:05 +0300 Message-ID: <83v9kr7vru.fsf@gnu.org> 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> <65807546-ed40-a175-640d-9da7a1548d8a@gmail.com> <83o8qk8xv6.fsf@gnu.org> <26ede471-3881-43e3-1253-6b21658343e9@gmail.com> <83lflo81qh.fsf@gnu.org> <87367wszqr.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="24826"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 19 18:10:02 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 1jb4ob-0006L0-F7 for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 18:10:01 +0200 Original-Received: from localhost ([::1]:43974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb4oa-0000E5-HV for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 12:10:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb4mm-0006z0-E3 for emacs-devel@gnu.org; Tue, 19 May 2020 12:08:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54764) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb4mm-0004JD-4Z; Tue, 19 May 2020 12:08:08 -0400 Original-Received: from [176.228.60.248] (port=3365 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jb4ml-0008FU-0V; Tue, 19 May 2020 12:08:07 -0400 In-Reply-To: <87367wszqr.fsf@gnu.org> (message from Tassilo Horn on Tue, 19 May 2020 17:36:44 +0200) 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:250960 Archived-At: > From: Tassilo Horn > Cc: Clément Pit-Claudel , > emacs-devel@gnu.org > Date: Tue, 19 May 2020 17:36:44 +0200 > > I use the attached self-written ligature.el (Eli, you've helped me with > that some months back). That's all nice but sometimes I too have the > problem that I want to edit the name of a "private" function/variable > foo--do-stuff and cannot move point inside the double-dash because it is > composed as one char. As a little cure, I disable ligatures in the > minibuffer where I absolutely need to do completion stuff like > foo--bar. > > Another case is where when inserting < automatically inserts > > immediately giving a <> diamond where I cannot move into. Yes, the user-level (and perhaps also some infrastructure level) of support for ligatures is not yet ready. There's a TODO item for that, patches are welcome. > A special insert command will not help here because it is already > inserted. Then maybe we need both a command to insert a character without ligation, and a command to disassemble a ligature at point.