From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miguel Frasson Newsgroups: gmane.emacs.help Subject: detect if line has only white space? Date: 10 Nov 2003 18:42:56 +0100 Organization: Institute of Mathematics, Leiden, The Netherlands Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068486404 13291 80.91.224.253 (10 Nov 2003 17:46:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2003 17:46:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 10 18:46:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJG7a-0005Ra-00 for ; Mon, 10 Nov 2003 18:46:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJH3h-0006Cr-7P for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Nov 2003 13:46:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!solnet.ch!solnet.ch!surfnet.nl!leidenuniv.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 84e5e55c.math.leidenuniv.nl Original-X-Trace: mercury.leidenuniv.nl 1068486176 8454 132.229.229.92 (10 Nov 2003 17:42:56 GMT) Original-X-Complaints-To: usenet@mercury.leidenuniv.nl Original-NNTP-Posting-Date: Mon, 10 Nov 2003 17:42:56 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:118062 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14001 Hello. I would like to have a elisp function that detects if the current line contains only white space. Some idea? Aditionally, I would like to remove all space at the end of the lines at once (e-lisp code). How? Many thanks. Miguel. -- Miguel Vinicius Santini Frasson http://www.math.leidenuniv.nl/~frasson