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

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

Re: Fwd: fill-paragraph puts one useless blank at the end of many Chines


From: Dan Jacobson
Subject: Re: Fwd: fill-paragraph puts one useless blank at the end of many Chinese big5 lines
Date: Tue, 22 Apr 2003 07:07:30 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

>>>>> "S" == Stefan Monnier <monnier+gnu/emacs@rum.cs.yale.edu> writes:

>> fill-paragraph puts one useless blank at the end of many of these
>> Chinese big5 lines here in locale zh_TW.Big5 when I set fill-column to
>> 16 or 17 etc. I uuencoded the sample input:

S> It's done on purpose (in fill-newline):

S>   (if (and (= (following-char) ?\ )
S>         (or (aref (char-category-set (preceding-char)) ?|)
S>             (looking-at "[ \t]+\\c|")))
S>       ;; We need one space at end of line so that
S>       ;; further filling won't delete it.  NOTE: We
S>       ;; intentionally leave this one space to
S>       ;; distinguish the case that user wants to put
S>       ;; space between \c| characters.
S>       (forward-char 1))

Well, whatever... except that I now see them with (setq-default
show-trailing-whitespace t) and my thrifty genes say they must go.
Plus it's not very environmentally conscious [uses disk space].  And,
it may very well have effects beyond what you thought.  And, if I must
clean it up afterwards, you should do it for me before I see it.  And,
it looks sloppy.
-- 
http://jidanni.org/ Taiwan(04)25854780





reply via email to

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