emacs-evil / evil

The extensible vi layer for Emacs.
GNU General Public License v3.0
3.34k stars 282 forks source link

Motion with Unicode combining characters doesn't work #841

Open sindikat opened 7 years ago

sindikat commented 7 years ago

Issue type

Environment

Emacs version: GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.12) of 2017-05-08 Operating System: Ubuntu 17.04 Evil version: evil-git-0b4f0a69 Evil installation type: MELPA (Spacemacs) Graphical/Terminal: Graphical Terminal multiplexer: N/A

Reproduction steps

Expected behavior

The i with a diacritic is not a unicode character ï (LATIN SMALL LETTER I WITH DIAERESIS), but 2 characters i and ̈ (COMBINING DIAERESIS). Evil should yank naï, but yanks nai.

Actual behavior

Further notes

See also: https://emacs.stackexchange.com/q/18617/3972

ninrod commented 7 years ago

@sindikat, this is possibly related to #726