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: ediff & No newline at end of file Date: Sat, 21 Jun 2008 07:03:10 +0200 Message-ID: <8763s32xdd.fsf@thievol.homelinux.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214024270 19323 80.91.229.12 (21 Jun 2008 04:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 04:57:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: sandro dentella Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 21 06:58:34 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 1K9vBJ-0000ZO-IU for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 06:58:33 +0200 Original-Received: from localhost ([127.0.0.1]:37796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9vAU-000519-In for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 00:57:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9vAC-0004z8-AW for help-gnu-emacs@gnu.org; Sat, 21 Jun 2008 00:57:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9vAB-0004xg-7h for help-gnu-emacs@gnu.org; Sat, 21 Jun 2008 00:57:23 -0400 Original-Received: from [199.232.76.173] (port=46436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9vAB-0004xT-0z for help-gnu-emacs@gnu.org; Sat, 21 Jun 2008 00:57:23 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:25992) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9vAA-0001C8-Te for help-gnu-emacs@gnu.org; Sat, 21 Jun 2008 00:57:23 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so815019fgb.30 for ; Fri, 20 Jun 2008 21:57:21 -0700 (PDT) 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=MugQjhBLaE+6fORiy/TU3AJl4lWVFXct/K6l9Y62DHw=; b=HdfCPcjOhzAZLb1yCM3M3N3eRh1+j08uZvxHL35qmw9qnxG7CkreWEk/RyYMsEMmBt 3DGkY/xZR/SLYAMOAeIKoAyDncz/f2pRTuJAQFeUcAx31/TXFUktjPQ8gBTDhHGVzDM4 TahFe3HoX4LYcE98Ihx9VBgqw7DrLJ0vIG7Hk= 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=E3qrIMiP4bYSx7Og8u7ym6LGqA/OvJtqKyLFix3uvhATObYPsIiBaYBuKfPXxa3Y6H JBi4Ipra7itFBazH+K2sonuVqxIdNxnxsEeareOaQExZ7Islce87jmmfa9cu3ozsEo9w a/PUKklJkKSBMwO5OU58Xt4iBOZyOB/CHpK5U= Original-Received: by 10.86.49.13 with SMTP id w13mr4964108fgw.65.1214024241658; Fri, 20 Jun 2008 21:57:21 -0700 (PDT) Original-Received: from thievol.homelinux.org ( [77.197.77.55]) by mx.google.com with ESMTPS id l19sm5220262fgb.7.2008.06.20.21.57.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Jun 2008 21:57:20 -0700 (PDT) In-Reply-To: (sandro dentella's message of "Fri, 20 Jun 2008 02:44:23 -0700 (PDT)") 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:55015 Archived-At: Hi, that will not correct your problem but help in the future. ,---- | ;; Add newline at end of files | (setq require-final-newline t) `---- Now when you edit a file and you save it it will have a newline at end. sandro dentella writes: > sorry. I sent it before ending the message... > > I'm calling ediff from a script as: > > emacs --eval "(ediff-files \"$1\" \"$2\")" > > if on of the 2 file have a missing newline the above command will > fail. > > Any Hint? > > Thanks in advance > > sandro > *:-) > -- A + Thierry Pub key: http://pgp.mit.edu