From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Mysterious hidden end of line characters. Date: Sat, 26 Jan 2008 20:21:24 +0100 Message-ID: <87odb8wfyj.fsf@thievol.homelinux.org> References: <20080126171451.GB20762@univ-fcomte.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201374808 15363 80.91.229.12 (26 Jan 2008 19:13:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 19:13:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Patrick Giraudoux To: dpleydel@univ-fcomte.fr Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 26 20:13:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIqTH-0000Tv-90 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 20:13:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIqSq-00082j-MJ for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 14:13:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIqSb-000829-VS for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 14:13:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIqSa-000812-BJ for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 14:13:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIqSa-00080p-4J for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 14:13:00 -0500 Original-Received: from hu-out-0506.google.com ([72.14.214.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIqSZ-0002xl-OA for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 14:13:00 -0500 Original-Received: by hu-out-0506.google.com with SMTP id 23so689722huc.1 for ; Sat, 26 Jan 2008 11:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=rBRPevk8us4qbvUdJnamIzduQz+RuMQ0WI2Q7Aui0lo=; b=ntOrOPTw/oyFSmtqPNGTJfDepy2jsglpH9sawBAaZGMF4bF37eU8PWknpqH4jqJ/TkZ1yY95dzX+Bk+sAdBwXkL1hwQWIIQa/Sp3dKY6WXPsC6tNB1e8PdMvKBn4xA51zHPpDN4Az1DstoRBd4CcBJPsnHvXC42y1QKRhlsZlfw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=B5EOnqiwdEStleruz2Sj3QbnnZTSeOTS/Elt9r+su9jakzuGKckty+dN8BP2cNH2tkQG5Qd53oRROdjr0Cjz8wgUKbB79yysbBXbuutoBFHc17TOPqTNAxL7/1/Ux6d23Z59Trqaa5NXkRXqL/Wptl7AAt194E9mO/BACikYz0Q= Original-Received: by 10.82.174.20 with SMTP id w20mr6334751bue.28.1201374777221; Sat, 26 Jan 2008 11:12:57 -0800 (PST) Original-Received: from thievol.homelinux.org ( [79.81.57.216]) by mx.google.com with ESMTPS id 28sm7987284fkx.11.2008.01.26.11.12.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Jan 2008 11:12:56 -0800 (PST) In-Reply-To: <20080126171451.GB20762@univ-fcomte.fr> (David's message of "Sat, 26 Jan 2008 18:14:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50989 Archived-At: Did you try running delete-trailing-white-space or picture-mode on your files ? David writes: > I have a strange problem with invisible end of line characters. > > Yesterday I was trying to configure GRASS6.3 using the following > single line of code. > > > CFLAGS=-O2 ./configure \ > --with-gdal=/usr/bin/gdal-config \ > --with-tcltk \ > --with-tcltk-includes=/usr/include/tcl8.4 \ > --x-includes=/usr/include/X11 \ > --with-postgres-includes=/usr/include/postgresql \ > --with-freetype-includes=/usr/include/freetype2 \ > --x-includes=/usr/include/X11 \ > --x-libraries=/usr/lib/X11 \ > --with-libs=/usr/lib64 \ > --with-blas \ > --with-mysql \ > --with-mysql-includes=/usr/include/mysql \ > --with-cxx \ > --with-freetype \ > --with-freetype-includes=/usr/include/freetype2 \ > --with-readline \ > --with-sqlite \ > --with-tiff \ > --with-x \ > --with-odbc \ > --enable-64bit \ > 2>&1 | tee config_log.txt > > > Normally the \ character tells the shell not to execute the line but > to wait for the next line and execture them as one, so everything > above is seen by the computer as a single line. Right? > > Well, not on my computer. Each time I copied the lines from emacs to > a terminal (konsole) for some reason the \ was being over riden and > the terminal tried executing the code one line at a time. My effort to > configure GRASS failled until I removed every \ and collapsed > everything down to the following single line. > > CFLAGS=-O2 ./configure --with-gdal=/usr/bin/gdal-config --with-tcltk --with-tcltk-includes=/usr/include/tcl8.4 --x-includes=/usr/include/X11 --with-postgres-includes=/usr/include/postgresql --with-freetype-includes=/usr/include/freetype2 --x-includes=/usr/include/X11 --x-libraries=/usr/lib/X11 --with-libs=/usr/lib64 --with-blas --with-mysql --with-mysql-includes=/usr/include/mysql --with-cxx --with-freetype --with-freetype-includes=/usr/include/freetype2 --with-readline --with-sqlite --with-tiff --with-x --with-odbc --enable-64bit 2>&1 | tee config_log.txt > > A colleage then complained to me saying I had some kind of invisible > character at the end of each line of a shell script (naturally, writen > in emacs) that I'd sent him. He was having to guess where each of > these nasty characters was and delete them line by line. I think he > has emacs on Ubuntu, I am running emacs21 on Debian etch. > > How might I try to identify what is going on here? > > cheers > Dave > > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > -- A + Thierry Pub key: http://pgp.mit.edu