bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29364: 27.0.50; Word Wrap doesn't support CJK


From: Lars Ingebrigtsen
Subject: bug#29364: 27.0.50; Word Wrap doesn't support CJK
Date: Thu, 04 Feb 2021 15:05:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Chunyang Xu <mail@xuchunyang.me> writes:

> For example, here is some Chinese text:
>
> 文字文字 English 文字文字文字文字文字文字文字文字文字文字文字文字文字
> 文字文字文字文字文字文字文字文字文字。
>
> in Emacs, turn on Word Wrap via M-x visual-line-mode and adjust window
> width (e.g., 87), Emacs displays it as:
>
> ---------------------------------------------------------------------------------------
> 文字文字 English
> 文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文
> 字文字文字文字文
> 字。

This has been fixed in Emacs 28.  You can now say
(setq word-wrap-by-category t) to make Emacs respect kinsoku rules when
wrapping lines visually.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]