Re: [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

Edward Cree <[email protected]> Fri, 14 May 2021 12:08:36 +0100
Newsgroups gmane.linux.acpi.devel,gmane.linux.documentation,gmane.linux.kernel,gmane.linux.alsa.devel,gmane.comp.video.dri.devel,gmane.comp.freedesktop.xorg.drivers.intel,gmane.comp.emulators.kvm.devel,gmane.linux.ports.arm.kernel,gmane.comp.file-systems.ext4,gmane.linux.file-systems.f2fs,gmane.linux.kernel.hwmon,gmane.linux.kernel.iio,gmane.linux.kernel.input,gmane.linux.drivers.video-input-infrastructure,gmane.linux.kernel.pci,gmane.linux.power-management.general,gmane.linux.drivers.rdma,gmane.linux.usb.general,gmane.comp.video.mjpeg.user,gmane.linux.network
Message-ID <[email protected]>
> On Fri, 2021-05-14 at 10:21 +0200, Mauro Carvalho Chehab wrote:
>> I do use a lot of UTF-8 here, as I type texts in Portuguese, but I rely
>> on the US-intl keyboard settings, that allow me to type as "'a" for á.
>> However, there's no shortcut for non-Latin UTF-codes, as far as I know.
>>
>> So, if would need to type a curly comma on the text editors I normally 
>> use for development (vim, nano, kate), I would need to cut-and-paste
>> it from somewhere

For anyone who doesn't know about it: X has this wonderful thing called
 the Compose key[1].  For instance, type ⎄--- to get —, or ⎄<" for “.
Much more mnemonic than Unicode codepoints; and you can extend it with
 user-defined sequences in your ~/.XCompose file.
(I assume Wayland supports all this too, but don't know the details.)

On 14/05/2021 10:06, David Woodhouse wrote:
> Again, if you want to make specific fixes like removing non-breaking
> spaces and byte order marks, with specific reasons, then those make
> sense. But it's got very little to do with UTF-8 and how easy it is to
> type them. And the excuse you've put in the commit comment for your
> patches is utterly bogus.

+1

-ed

[1] https://en.wikipedia.org/wiki/Compose_key