From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: shouldn't `delete-blank-lines' treat form-feed as whitespace? Date: Sun, 07 Mar 2010 06:14:56 +0200 Message-ID: <83wrxo3gzj.fsf@gnu.org> References: <201003061734.27587.jyavner@rogers.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1267960885 19307 80.91.229.12 (7 Mar 2010 11:21:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Mar 2010 11:21:25 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org To: Jonathan Yavner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 07 05:14:50 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1No7tB-0005u6-I3 for ged-emacs-devel@m.gmane.org; Sun, 07 Mar 2010 05:14:49 +0100 Original-Received: from localhost ([127.0.0.1]:33031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No7tA-0000S2-Rz for ged-emacs-devel@m.gmane.org; Sat, 06 Mar 2010 23:14:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1No7t3-0000QS-JP for emacs-devel@gnu.org; Sat, 06 Mar 2010 23:14:41 -0500 Original-Received: from [140.186.70.92] (port=48549 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No7t2-0000Pb-Lm for emacs-devel@gnu.org; Sat, 06 Mar 2010 23:14:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1No7t1-0008Fn-Tr for emacs-devel@gnu.org; Sat, 06 Mar 2010 23:14:40 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51172) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No7t1-0008Ff-Ka for emacs-devel@gnu.org; Sat, 06 Mar 2010 23:14:39 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KYW006008YTI500@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sun, 07 Mar 2010 06:14:38 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.34.234]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KYW005UQ94DTA50@a-mtaout23.012.net.il>; Sun, 07 Mar 2010 06:14:38 +0200 (IST) In-reply-to: <201003061734.27587.jyavner@rogers.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121680 Archived-At: > From: Jonathan Yavner > Date: Sat, 6 Mar 2010 17:34:27 -0500 > Cc: juri@jurta.org, eliz@gnu.org > > >> 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.