GNU bug report logs - #30331
Neither Emacs nor Vim nor Nano handle ligature literal insertion well

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Andrew Pennebaker <andrew.pennebaker@HIDDEN>; merged with #475, #36914; dated Fri, 2 Feb 2018 22:32:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 475 30331 36914. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 30331 <at> debbugs.gnu.org:


Received: (at 30331) by debbugs.gnu.org; 3 Feb 2018 19:13:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 03 14:13:23 2018
Received: from localhost ([127.0.0.1]:55908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ei3Fa-0001C6-Nh
	for submit <at> debbugs.gnu.org; Sat, 03 Feb 2018 14:13:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38651)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rms@HIDDEN>) id 1ei3FY-0001Bu-Sf
 for 30331 <at> debbugs.gnu.org; Sat, 03 Feb 2018 14:13:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rms@HIDDEN>) id 1ei3FS-00065x-R9
 for 30331 <at> debbugs.gnu.org; Sat, 03 Feb 2018 14:13:15 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45808)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rms@HIDDEN>)
 id 1ei3FR-00062z-6N; Sat, 03 Feb 2018 14:13:13 -0500
Received: from rms by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rms@HIDDEN>)
 id 1ei3FQ-00021m-GQ; Sat, 03 Feb 2018 14:13:12 -0500
From: Richard Stallman <rms@HIDDEN>
To: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
In-reply-to: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
 (message from Andrew Pennebaker on Fri, 2 Feb 2018 16:31:05 -0600)
Subject: Re: bug#30331: Neither Emacs nor Vim nor Nano handle ligature literal
 insertion well
References: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-Id: <E1ei3FQ-00021m-GQ@HIDDEN>
Date: Sat, 03 Feb 2018 14:13:12 -0500
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 30331
Cc: 30331 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > However, traditional text editors
  > including Emacs, Vim, and Nano are evidently NOT able to handle a literal æ
  > rune insertion, and tend to raise a generic error message when the text
  > expander application attempts to insert this key.

I'd expect that Quail input methods could handle this for Emacs.  They
notice when you enter a' and convert it to á, so they could notice ae
and convert it to æ.

When you want separate a and e, you'd type another e.



-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30331; Package emacs. Full text available.

Message received at 30331 <at> debbugs.gnu.org:


Received: (at 30331) by debbugs.gnu.org; 3 Feb 2018 08:45:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 03 03:45:41 2018
Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ehtS9-0001lQ-Fx
	for submit <at> debbugs.gnu.org; Sat, 03 Feb 2018 03:45:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40079)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ehtS7-0001lC-Op
 for 30331 <at> debbugs.gnu.org; Sat, 03 Feb 2018 03:45:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ehtS1-0004IO-CU
 for 30331 <at> debbugs.gnu.org; Sat, 03 Feb 2018 03:45:34 -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_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38450)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ehtRw-0004CG-UQ; Sat, 03 Feb 2018 03:45:28 -0500
Received: from [176.228.60.248] (port=4696 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ehtRv-0001fd-IP; Sat, 03 Feb 2018 03:45:28 -0500
Date: Sat, 03 Feb 2018 10:45:12 +0200
Message-Id: <83lggabgx3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
In-reply-to: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
 (message from Andrew Pennebaker on Fri, 2 Feb 2018 16:31:05 -0600)
Subject: Re: bug#30331: Neither Emacs nor Vim nor Nano handle ligature literal
 insertion well
References: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 30331
Cc: vim_use@HIDDEN, help-nano@HIDDEN, 30331 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
> Date: Fri, 2 Feb 2018 16:31:05 -0600
> 
> I would really like convenient access to ligatures in my word processing software. Unfortunately, none of the
> major text editing applications appears to handle ligatures intelligently: Each of Emacs, Vim, Nano, MS Word,
> Google Drive, Libre Office, and InDesign type a dumb "ae" when the user presses the a and e keyboard keys,
> whereas historically this sequence is typically rendered with the ash æ rune.

I don't see how any text-based application could do that
automatically, since there are many cases where "ae" needs to be left
as literal 2 characters.  Just a few random examples:

  maestro
  Rafael
  (Joan) Baez

I think the right thing would be to have a special key sequence for
inserting ligatures, since the need for that is somewhat rare,
certainly more rare than the need to insert the characters literally.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30331; Package emacs. Full text available.

Message received at 30331 <at> debbugs.gnu.org:


Received: (at 30331) by debbugs.gnu.org; 2 Feb 2018 23:59:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 02 18:59:13 2018
Received: from localhost ([127.0.0.1]:54755 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ehlEe-0006W9-Q3
	for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 18:59:12 -0500
Received: from mout.gmx.net ([212.227.17.21]:54522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1ehlEd-0006Vw-1g
 for 30331 <at> debbugs.gnu.org; Fri, 02 Feb 2018 18:59:11 -0500
Received: from rosalinde ([83.135.2.62]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lv9lm-1eqrss0cU6-010Mru; Sat, 03
 Feb 2018 00:58:52 +0100
From: Stephen Berman <stephen.berman@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#30331: Neither Emacs nor Vim nor Nano handle ligature literal
 insertion well
References: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
 <20180202233821.GB9047@HIDDEN>
Date: Sat, 03 Feb 2018 00:58:51 +0100
In-Reply-To: <20180202233821.GB9047@HIDDEN> (Alan Third's
 message of "Fri, 2 Feb 2018 23:38:21 +0000")
Message-ID: <87607fkkp0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:MfKRESwYAvAigl8fJ2547p8PkfEUrQ8bghWHgLchXl5XYSja7xU
 egMChmNqAZSbMNXgcuTUovXeIcaNHm/sWUya34ZnCb6z5D0xG+MxtDe39m0zbvSmaoWeyc0
 0srNrZWvNP0iVg5WuZfFakF2I0yxVtZI3BRE7nvmwqDhxzy4V4raDg8DgYN3DHsXAlrDBct
 yZFDEXGPbynq1fOM4FDQw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Rh2OCVFD1gs=:LrcMQRd393fGtArV0UxYPq
 ekbEAHqvDWPNzHPV1AFqNNuJeebHeaoZ7ytcmcF9FmEO0UWRl1UO32y3SaLhRil/qzRCnP3Hg
 n2nq+gEiyOwm3p3MOpaKbpSpW5t2KNDBv3UKYAqc5usdJLdNWtsjTT11N5YW0qlbEcl/GQhA1
 KvRPIyGmR95wdmzyHhn3a8vOwJiFlxP797aiPbsCrXXR4FUfhZBL8WzuBKpKbqjzW/ugzo00+
 W/i06thn8L+MY7evprJURyNkNo78SPQ+qUBrpHAuvq527JwO4XpIJCtQxuKZTVOAgXEbukpdW
 6mZDqKjRgEdN13p1cjPO9UWmzPPXWL7QL/qK+0Qf6fvm86qX9jt3X2hpXGs3Y8hulH0ChD4g4
 Bx5WavcexWh6z4iTMtcN3b9/a6rR/1+pMJcBfFnbgxsbyS3zhepMG+Da3GLzMM80NyfnFL4Ll
 dGpiwEr7E0YK/wKoRh2tb+KmXK2Fz98pes8G07s6KVMCd/7cpfnZONcL8BzLnRVZpSG1NOpEG
 jDt2hv/hxJAUwxry5S6k7pG6GAEwfBlER9UC1iFsL3bSwVJC4O8a6AaulzEe3Rp7E0AjYcQwy
 heox+7hdEIdEHlkZbzO7gLu+nAcRt33gpze7lycgmdCZu5c/Ib89bgKlxzKJFZImYztrG+POV
 TyhJtZ8lMGWu6XUiJMhNTQoJ/0W1zKjGJY9a9l8WrG85n3elTfcHh0eynDPyVmmtwM6Wf3olJ
 APu7mimkXMd6Y6ExAXs9wQvb7bOw/wPE9XGmxkbiRPfDd8tGI84ILSLFXK+oscby+smWlnP/Q
 5crzdMGoCU2s4mEpxakAypY6onwSrD0avESN5clj6aO6fOXjhk=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30331
Cc: Andrew Pennebaker <andrew.pennebaker@HIDDEN>, 30331 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Fri, 2 Feb 2018 23:38:21 +0000 Alan Third <alan@HIDDEN> wrote:

> On Fri, Feb 02, 2018 at 04:31:05PM -0600, Andrew Pennebaker wrote:
>> I am able to work around this limitation in most applications by
>> configuring TextExpander (macOS, Windows) or autokey (Linux) to match the
>> keyboard sequence "ae" and replace this with "=C3=A6". This allows most =
UTF-8
>> compatible graphical software, from Web browsers to document editors, to
>> correctly insert =C3=A6 in place of ae. However, traditional text editors
>> including Emacs, Vim, and Nano are evidently NOT able to handle a litera=
l =C3=A6
>> rune insertion, and tend to raise a generic error message when the text
>> expander application attempts to insert this key.
>
> I=E2=80=99m not sure about the use of TextExpander as I=E2=80=99ve never =
heard of it
> before, but Emacs on macOS can handle the insertion of =C3=A6 using alt=
=E2=80=90=E2=80=99,
> but you might need to change the default binding of the alt key
> (https://www.emacswiki.org/emacs/EmacsForMacOS#toc30).
>
> Aside from that Emacs allows you to enter =C3=A6 using:
>
>     C-x 8 RET LATIN SMALL LETTER AE
>
> It=E2=80=99s a bit of a handful though, I know,=20

A somewhat smaller handful is `C-x RET e6' (mentioned, as is the above
Unicode name method, in the *Help* you get by typing `C-u C-x =3D' on the
character =C3=A6).

>                                         but you can enter all sorts of
> things:
>
>     =EF=AC=84 =EF=AC=81 =F0=9F=99=B2
>
> You should be able to configure abbrev-mode to automatically convert
> ae to =C3=A6.=20

You can also do that by using the norwegian-postfix input method
(entered by typing `C-x RET C-\ no TAB p TAB').

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30331; Package emacs. Full text available.

Message received at 30331 <at> debbugs.gnu.org:


Received: (at 30331) by debbugs.gnu.org; 2 Feb 2018 23:38:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 02 18:38:32 2018
Received: from localhost ([127.0.0.1]:54742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ehkue-00063H-B5
	for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 18:38:32 -0500
Received: from mail-wm0-f49.google.com ([74.125.82.49]:51139)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1ehkuc-000635-8w
 for 30331 <at> debbugs.gnu.org; Fri, 02 Feb 2018 18:38:30 -0500
Received: by mail-wm0-f49.google.com with SMTP id f71so15736763wmf.0
 for <30331 <at> debbugs.gnu.org>; Fri, 02 Feb 2018 15:38:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=LGAGRDiuNi96SFjlMVxL3CaeZQj67zSnr1ynfOQnxqc=;
 b=bQhk/dGNE1pErY9gmywXA5TYO1DUPmGuGhh4/fNkZjLQnrBXOT09atItJQ7cAU0q7i
 VOatPR8tmywlgpb9Od6OHTVbmhdEuP3+ZhwS6KOrdFgMDbM3k46H8dtew0ppNYyMKzNC
 BNaMEsng4RV7HKRHV+Icaa86sjxJa+adSoUS05tk/YXX3ryHMofjtncGDgfchq0K8br5
 eJpXptCmmTCHdThj0KkgSAXviSufKj2SMG/hR82QVjXIYMhzVXzHK1FXoVAaQx0u/GOx
 y+bkaimC53dSwCsSC6DmTyU5wXXqUXgjEHH+RyOVO1d5e6FqT2ru9L5fE5Alh1Xj4aBj
 BGzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=LGAGRDiuNi96SFjlMVxL3CaeZQj67zSnr1ynfOQnxqc=;
 b=MUVmFyXlzrXbHWLQho/e7tAhgKQlJIDJHgpMbVVcQY+7NmbChuSFLQ+7mDpr2G8MO2
 jEB9TE7tKmn3a1fn9n9HOyw1jrQgC6plpGBid8YLqI78NEzE6KGwWk2Q/5mOoV6xN6Lb
 LHepIVitFzZdo0KAsyqgazRZecWyPR4UIKRJD3TCT6rudPfGLNZwzaECuPupFkhBIhDy
 +CMVXC1Wz8b4Fg2iml2Ks1OJG6fkrcANBGQvaMYPYnj5jmSxA2VXFWkGN6UhQxGKo2D5
 hukBYuyWc2i7ylSE2COPDV45My9kCjNiTp0yQGBthsIHQpRe58VzwDfwx4bOuZAeKQ6A
 a7nQ==
X-Gm-Message-State: AKwxytc7uzv0w1+p8ADS8dLQIfk4K5xDuSCyIsDvC/uAUvticC7ZF1qU
 9YyadM2cZdvckQOlOaQ1QwQ=
X-Google-Smtp-Source: AH8x225mT98B1i0Wh+x76vA5kCzm716Qb7QDSp6Zsrf6b3/HaeeyDcjl6T7LIHst5m2/YAu0GnvdwQ==
X-Received: by 10.28.142.10 with SMTP id q10mr32583123wmd.3.1517614704390;
 Fri, 02 Feb 2018 15:38:24 -0800 (PST)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-647a-d522-92ac-0d5e.holly.idiocy.org.
 [2001:8b0:3f8:8129:647a:d522:92ac:d5e])
 by smtp.gmail.com with ESMTPSA id d5sm9337507wra.72.2018.02.02.15.38.23
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 02 Feb 2018 15:38:23 -0800 (PST)
Date: Fri, 2 Feb 2018 23:38:21 +0000
From: Alan Third <alan@HIDDEN>
To: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
Subject: Re: bug#30331: Neither Emacs nor Vim nor Nano handle ligature
 literal insertion well
Message-ID: <20180202233821.GB9047@HIDDEN>
References: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 30331
Cc: 30331 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

On Fri, Feb 02, 2018 at 04:31:05PM -0600, Andrew Pennebaker wrote:
> I am able to work around this limitation in most applications by
> configuring TextExpander (macOS, Windows) or autokey (Linux) to match the
> keyboard sequence "ae" and replace this with "æ". This allows most UTF-8
> compatible graphical software, from Web browsers to document editors, to
> correctly insert æ in place of ae. However, traditional text editors
> including Emacs, Vim, and Nano are evidently NOT able to handle a literal æ
> rune insertion, and tend to raise a generic error message when the text
> expander application attempts to insert this key.

I’m not sure about the use of TextExpander as I’ve never heard of it
before, but Emacs on macOS can handle the insertion of æ using alt‐’,
but you might need to change the default binding of the alt key
(https://www.emacswiki.org/emacs/EmacsForMacOS#toc30).

Aside from that Emacs allows you to enter æ using:

    C-x 8 RET LATIN SMALL LETTER AE

It’s a bit of a handful though, I know, but you can enter all sorts of
things:

    ffl fi 🙲

You should be able to configure abbrev-mode to automatically convert
ae to æ. Or maybe prettify symbols mode would do:

    http://www.modernemacs.com/post/prettify-mode/

Proper ligature support is purely a presentation issue, though, and
should happen automatically on software that supports it even if
you’re loading in text written in software that doesn’t.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30331; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Feb 2018 22:31:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 02 17:31:19 2018
Received: from localhost ([127.0.0.1]:54675 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ehjra-0000gK-VK
	for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 17:31:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56937)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew.pennebaker@HIDDEN>) id 1ehjrX-0000g5-3q
 for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 17:31:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andrew.pennebaker@HIDDEN>) id 1ehjrR-0007vx-54
 for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 17:31:10 -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,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37973)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>)
 id 1ehjrR-0007vi-1d
 for submit <at> debbugs.gnu.org; Fri, 02 Feb 2018 17:31:09 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47882)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andrew.pennebaker@HIDDEN>) id 1ehjrP-0006Qv-RI
 for bug-gnu-emacs@HIDDEN; Fri, 02 Feb 2018 17:31:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andrew.pennebaker@HIDDEN>) id 1ehjrO-0007tY-V2
 for bug-gnu-emacs@HIDDEN; Fri, 02 Feb 2018 17:31:07 -0500
Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:33460)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>)
 id 1ehjrO-0007t8-Oc; Fri, 02 Feb 2018 17:31:06 -0500
Received: by mail-qt0-x22d.google.com with SMTP id d8so32870106qtm.0;
 Fri, 02 Feb 2018 14:31:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=zXup6mw8UzNJgGbNT20Ukq8MGTlg6FFFpvmDZ6w0NMY=;
 b=t/UTKv/11pnuYUD1rIgWzIbguVfkWOOTp7EHc+qKD1qMHlQXytqGVeOW14O9wqAI0O
 XSt04BoPEEwf8uimeZT5AatsFBokq6ADsOHCHnqeSJilS7z2W5WDO8xzk1RG01ld3qh5
 ZEMoOVPw4Ib/xHfBC/GPA8vyjwoSNFYT9SEEc8WnOOTZhy8escIQHB1wewfvIv7C63n1
 rUFZ2kJTRT3q6w/JMjQpMrRyPIj4rvOJIwFd3jDznZAJMTD3S1PiNajdEKJkOrUuitaq
 wTxqgqDBDRvQH+gkmehTVFMw8IUonTvLkW9ZacC3WUk+dbYd18vIYGMlxN/DTZvF/3OK
 F0Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=zXup6mw8UzNJgGbNT20Ukq8MGTlg6FFFpvmDZ6w0NMY=;
 b=GryWEGPGzgb2+1tflqq35pCmiTDKyRysZeY+jrl0iRdBdZrGBCLN+KuinKJo2BqrTV
 UWr5VjerHzfO2w70ubSDJS5JGeSbyTpc6mjPZtPGOVejh5Fh1rfr7wdCbFieT0mmGDoj
 osD1dkKxrdljW1bqsJs/JGWd4Uh14bUquRrpLmhZNqDTWWA6v3ECsCQcIaff870pqu1k
 a2Y+ih1YlTXjdafxwrT87gvpVjpcf9E4axBZ6oohajUb+6yVT9xvkxJSekmjIo9dRITY
 1OMW+5X67ZiSGFJu6Na4ybHA4XpwFm4gh/0QK+qG8IJgew6kKH8N+fNzQ0WcJZIvtb+s
 T/8A==
X-Gm-Message-State: AKwxyteLjc/4Owc0AW/P5CB4r8D5P6XtuTsrZkjNxnUBAPz5k/DTbcPC
 DpsePm0rHxBpB/24ZeIvXXfy/98a28GHfJklk7A=
X-Google-Smtp-Source: AH8x2242FamExRMQBuZ+Yf0Yo2f5CbiVv/k1J1KO2LrW9bQR4nm82UqWxU5wgnGF8QCFZB7WzcAeyoOoy0TeMqxVPB0=
X-Received: by 10.200.97.13 with SMTP id a13mr66150018qtm.16.1517610665820;
 Fri, 02 Feb 2018 14:31:05 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.105.247 with HTTP; Fri, 2 Feb 2018 14:31:05 -0800 (PST)
From: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
Date: Fri, 2 Feb 2018 16:31:05 -0600
Message-ID: <CAHXt_SV2P_ieU+UNHx8QoGX9CfoT38BoO01u9Er4dVqqm2Bxyw@HIDDEN>
Subject: Neither Emacs nor Vim nor Nano handle ligature literal insertion well
To: vim_use@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>, 
 Nano Help <help-nano@HIDDEN>
Content-Type: multipart/alternative; boundary="f403045e6f90a4c66005644244fd"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
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.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--f403045e6f90a4c66005644244fd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I would really like convenient access to ligatures in my word processing
software. Unfortunately, none of the major text editing applications
appears to handle ligatures intelligently: Each of Emacs, Vim, Nano, MS
Word, Google Drive, Libre Office, and InDesign type a dumb "ae" when the
user presses the a and e keyboard keys, whereas historically this sequence
is typically rendered with the ash =C3=A6 rune.

I am able to work around this limitation in most applications by
configuring TextExpander (macOS, Windows) or autokey (Linux) to match the
keyboard sequence "ae" and replace this with "=C3=A6". This allows most UTF=
-8
compatible graphical software, from Web browsers to document editors, to
correctly insert =C3=A6 in place of ae. However, traditional text editors
including Emacs, Vim, and Nano are evidently NOT able to handle a literal =
=C3=A6
rune insertion, and tend to raise a generic error message when the text
expander application attempts to insert this key. This may be a result of a
conflict between shell encodings (need UTF-8 everywhere, though I'm
currently typing this with a bare Windows COMSPEC command prompt session).
In any case, it stinks that the user cannot easily insert ligatures into
text editors, so copying & pasting from Wikipedia via the OS clipboard
appears to be one of the more (in)convenient options for accessing
ligatures. We can do better!

--=20
Cheers,
Andrew

--f403045e6f90a4c66005644244fd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,<br><br>I would really like convenient access t=
o ligatures in my word processing software. Unfortunately, none of the majo=
r text editing applications appears to handle ligatures intelligently: Each=
 of Emacs, Vim, Nano, MS Word, Google Drive, Libre Office, and InDesign typ=
e a dumb &quot;ae&quot; when the user presses the a and e keyboard keys, wh=
ereas historically this sequence is typically rendered with the ash =C3=A6 =
rune.<br><br></div>I am able to work around this limitation in most applica=
tions by configuring TextExpander (macOS, Windows) or autokey (Linux) to ma=
tch the keyboard sequence &quot;ae&quot; and replace this with &quot;=C3=A6=
&quot;. This allows most UTF-8 compatible graphical software, from Web brow=
sers to document editors, to correctly insert =C3=A6 in place of ae. Howeve=
r, traditional text editors including Emacs, Vim, and Nano are evidently NO=
T able to handle a literal =C3=A6 rune insertion, and tend to raise a gener=
ic error message when the text expander application attempts to insert this=
 key. This may be a result of a conflict between shell encodings (need UTF-=
8 everywhere, though I&#39;m currently typing this with a bare Windows COMS=
PEC command prompt session). In any case, it stinks that the user cannot ea=
sily insert ligatures into text editors, so copying &amp; pasting from Wiki=
pedia via the OS clipboard appears to be one of the more (in)convenient opt=
ions for accessing ligatures. We can do better!<br clear=3D"all"><div><div>=
<div><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><div><div><=
/div>Cheers,<div>Andrew</div></div></div></div>
</div></div></div></div>

--f403045e6f90a4c66005644244fd--




Acknowledgement sent to Andrew Pennebaker <andrew.pennebaker@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30331; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.