From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tiago Saboga 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 16:46:00 -0300 Message-ID: <3351535a0906151246m385b2078lb3192f21a5b83edc@mail.gmail.com> References: <87eitl1lbt.fsf@sofocles.comuna.andre> Reply-To: Tiago Saboga , 3578@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245124623 17906 80.91.229.12 (16 Jun 2009 03:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2009 03:57:03 +0000 (UTC) Cc: 3578@emacsbugs.donarmstrong.com, rfrancoise@debian.org, emacs-pretest-bug@gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 16 05:57:00 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 1MGPn9-0003nJ-LX for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jun 2009 05:56:59 +0200 Original-Received: from localhost ([127.0.0.1]:56340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGPn9-00046K-16 for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 23:56:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGIJ5-0005wR-JR for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 15:57:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGIJ1-0005uk-R7 for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 15:57:27 -0400 Original-Received: from [199.232.76.173] (port=47997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGIJ1-0005ud-Nw for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 15:57:23 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40067) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGIJ1-0003fS-64 for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 15:57:23 -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 n5FJvK8B000688; Mon, 15 Jun 2009 12:57:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5FJo4NG031621; Mon, 15 Jun 2009 12:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tiago Saboga Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Jun 2009 19:50: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.124509517131434 (code B ref -1); Mon, 15 Jun 2009 19:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 19:46:11 +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 n5FJk7oT031426 for ; Mon, 15 Jun 2009 12:46:08 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:55848) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGI86-00020h-EL for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 15:46:06 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGI85-0000Vq-Ix for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 15:46:06 -0400 Original-Received: from mail-yx0-f179.google.com ([209.85.210.179]:52412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGI84-0000VX-DQ for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 15:46:05 -0400 Original-Received: by yxe9 with SMTP id 9so1888701yxe.14 for ; Mon, 15 Jun 2009 12:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=h8M9gud9MxOuiHweHbtwAjLLnwubrj6xGHIQjgq3hQY=; b=RXj/0j835HrYo1pECkhS5Hyvv8jrH+19pPESCb00mdOt2kEvjGP4Acw0gkJI7B4V3k efmRr2+yNwmu8wygLZ2Cd/S5kvzpL/w6QWPs7gqw6KTZXD7gsDt0izqAUldR1efKIVdg 3vP7uGxR6Lnn9/YBKax/CvbN6dmMXgNz9pc44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gInUGsRLSkfluUsk7kxANlU9svJ+Hlaf1qv52/75FXQemnjJnHrXPJIZOkT4ezesaB HzJT/u054rsyc5vN4D2bwErSWIqpW7Dj0r1/zd2Iidz+2gnFmKsaCtUjNLtHHhpTK/vw m+twxfOsqLbCutqtt+gDNcMCf+9WWaPRmQiFg= Original-Received: by 10.90.93.13 with SMTP id q13mr1866285agb.0.1245095160849; Mon, 15 Jun 2009 12:46:00 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 15 Jun 2009 15:57:27 -0400 X-Mailman-Approved-At: Mon, 15 Jun 2009 23:56:55 -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:28740 gmane.emacs.pretest.bugs:24645 Archived-At: On Mon, Jun 15, 2009 at 3:14 PM, Drew Adams wrote: >> 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))) Yes, of course. Sorry, I was in a hurry, and I felt I would forget it if did not send the report immediately. I have tested it now and it seems to work fine. Tiago.