From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3578: 23.0.94; when saving some files, diff does not work Date: Mon, 15 Jun 2009 11:14:06 -0700 Message-ID: References: <87eitl1lbt.fsf@sofocles.comuna.andre> Reply-To: Drew Adams , 3578@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245091071 25918 80.91.229.12 (15 Jun 2009 18:37:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2009 18:37:51 +0000 (UTC) Cc: rfrancoise@debian.org To: "'Tiago Saboga'" , <3578@emacsbugs.donarmstrong.com>, Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 15 20:37:46 2009 Return-path: Envelope-to: geb-bug-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 1MGH3x-00035n-Sz for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 20:37:46 +0200 Original-Received: from localhost ([127.0.0.1]:53139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGH3x-0006Le-1F for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 14:37:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGH3l-0006E1-0f for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 14:37:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGH3g-00065r-B1 for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 14:37:31 -0400 Original-Received: from [199.232.76.173] (port=54998 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGH3e-00065P-Cj for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 14:37:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58732) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGH3b-0003vu-9N for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 14:37:24 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FIbKt6019264; Mon, 15 Jun 2009 11:37:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5FIK4cH016273; Mon, 15 Jun 2009 11:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Jun 2009 18:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3578 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124508967715366 (code B ref -1); Mon, 15 Jun 2009 18:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 18:14:37 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FIEXv2015356 for ; Mon, 15 Jun 2009 11:14:34 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:38249 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGGhU-0006tn-Ex for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 14:14:32 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGGhR-0008Cj-HP for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 14:14:32 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:22141) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGGhR-0008Bb-32 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 14:14:29 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5FIExbT001305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Jun 2009 18:15:00 GMT Original-Received: from abhmt009.oracle.com (abhmt009.oracle.com [141.146.116.18]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5FIFGtE005707; Mon, 15 Jun 2009 18:15:16 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Jun 2009 11:13:59 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87eitl1lbt.fsf@sofocles.comuna.andre> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: Acnt4/m8VPAQlM3aR4G3SxPwmGw2nQAAPxXQ X-Source-IP: abhmt009.oracle.com [141.146.116.18] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4A368F68.0232:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 15 Jun 2009 14:37:30 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28727 gmane.emacs.pretest.bugs:24642 Archived-At: > I believe that the problem was introduced by revision 1.985 > of files.el, line 4178, that says: (if (null buffer-file-name) > and should say: (if (null buffer-file-name buf) You probably mean (if (null (buffer-file-name buf)))