emacs-devel
[Top][All Lists]
Advanced

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

Re: shouldn't `delete-blank-lines' treat form-feed as whitespace?


From: Eli Zaretskii
Subject: Re: shouldn't `delete-blank-lines' treat form-feed as whitespace?
Date: Sun, 07 Mar 2010 06:14:56 +0200

> From: Jonathan Yavner <address@hidden>
> Date: Sat, 6 Mar 2010 17:34:27 -0500
> Cc: address@hidden, address@hidden
> 
> >> Btw, as long as we are on this subject: `delete-blank-lines' should
> >> also support Unicode characters whose meaning is whitespace.  Right
> >> now, it's strictly ASCII.
> >
> > Does e.g. NBSP (#xa0) have whitespace meaning wrt
> > `delete-blank-lines'?
> 
> http://www.unicode.org/reports/tr14/#DescriptionOfProperties
> 
> No.  NBSP is not a line-breaking character, so delete-blank-lines should 
> not delete it.

How is the line-breaking property relevant to this function?  The doc
string says just "delete all surrounding blank lines".  It doesn't
mention line-breaking at all.  The question is, should a line
consisting only of NBSP characters be considered a blank line.




reply via email to

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