From: Katsumi Yamaoka <yamaoka@jpl.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 25685@debbugs.gnu.org
Subject: bug#25685: fill-paragraph vs. \n vs. Chinese / English boundaries
Date: Tue, 14 Feb 2017 08:13:19 +0900 [thread overview]
Message-ID: <b4mr3311y7k.fsf@jpl.org> (raw)
In-Reply-To: <877f4xy3t0.fsf@jidanni.org>
On Mon, 13 Feb 2017 09:22:46 +0900, Katsumi Yamaoka wrote:
> I first tried:
> * lisp/textmodes/fill.el (fill-delete-newlines):
> Don't delete leading and trailing space from CJK word.
In Japan some people write an English word in Japanese text with
spaces, and others do it with no space:
日本語と English の混在
日本語とEnglishの混在
For the later case, some word processor separates them with thin
spaces automatically, but Emacs doesn't (I'm not wrong, am I?).
So, I am the former. Anyway, if the patch is applied, it would
embarrass the later people, i.e.:
寿限無寿限無五劫の擦り切れ海砂利水魚の水行末雲来末風来末
eating寝るplaceに住む処やぶら小路の藪柑子パイポパイポ...
↓
寿限無寿限無五劫の擦り切れ海砂利水魚の水行末雲来末風来末 eating寝る
placeに住む処やぶら小路の藪柑子パイポパイポ...
So, there may want to be a user option, of which the default value
doesn't change the present behavior. Is there a good name for it?
fill-multilinguala-words-with-spaces
text?
fill-separate-words-with-spaces-in-multilingual-text
fill-words-with-spaces-in-multilingual-text
↓describe its meaning in doc string
fill-words-with-spaces
fill-paragraph-with-spaces ← not necessarily used for paragraph?
next prev parent reply other threads:[~2017-02-13 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 0:22 bug#25685: fill-paragraph vs. \n vs. Chinese / English boundaries 積丹尼 Dan Jacobson
2017-02-13 0:22 ` Katsumi Yamaoka
2017-02-13 23:13 ` Katsumi Yamaoka [this message]
2017-02-15 1:32 ` Katsumi Yamaoka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4mr3311y7k.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=25685@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).