From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3578: marked as done (23.0.94; when saving some files, diff does not work) Date: Wed, 17 Jun 2009 15:10:08 +0000 Message-ID: References: <87skhyzyod.fsf@stupidchicken.com> <87eitl1lbt.fsf@sofocles.comuna.andre> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1245251408-4161-0" X-Trace: ger.gmane.org 1245252051 6152 80.91.229.12 (17 Jun 2009 15:20:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2009 15:20:51 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 17:20:49 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 1MGwwR-0001GV-Di for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 17:20:48 +0200 Original-Received: from localhost ([127.0.0.1]:38598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGwwP-0006jl-Ly for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 11:20:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGwtG-000576-FQ for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 11:17:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGwtB-00053c-Cc for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 11:17:29 -0400 Original-Received: from [199.232.76.173] (port=48255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGwtB-00053K-45 for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 11:17:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57348) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGwtA-0001Ig-5K for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2009 11:17: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 n5HFHKjq005634; Wed, 17 Jun 2009 08:17:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5HFA8bx004202; Wed, 17 Jun 2009 08:10:08 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3578 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:28775 Archived-At: This is a multi-part message in MIME format... ------------=_1245251408-4161-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 17 Jun 2009 11:07:30 -0400 with message-id <87skhyzyod.fsf@stupidchicken.com> and subject line Re: 23.0.94; when saving some files, diff does not work has caused the Emacs bug report #3578, regarding 23.0.94; when saving some files, diff does not work to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3578: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3578 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1245251408-4161-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 17:03:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.6 required=4.0 tests=FOURLA,MDO_CABLE_TV3 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n5FH3f6m001946 for ; Mon, 15 Jun 2009 10:03:42 -0700 Received: from mail.gnu.org ([199.232.76.166]:34266 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGFau-0002WG-Qh for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 13:03:41 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGFaP-0001Ml-9p for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 13:03:40 -0400 Received: from mail-qy0-f185.google.com ([209.85.221.185]:40143) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGFaO-0001MV-T3 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 13:03:09 -0400 Received: by qyk15 with SMTP id 15so5215076qyk.14 for ; Mon, 15 Jun 2009 10:03:07 -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:date :message-id:mime-version:content-type; bh=JSBTY+Bbjxa9o47i0JhhDBjjWIhrhahqvPQntmGw4MY=; b=IOMEW5EELdZkMDrvGvgZOEYRh5ZCsDNTjmBMDV1d/9lBLv/NLOk7M1WdgUV5dQv9Dv JxaCUr+ncN2QCLMWZgPx57o5eqi10/VAF3gxI111Kn01gUtagf5BVSJPeibkAi34xv8C McrcEwFi3Dp4eT/mNu9Xlhi7PMn3YpHH6ueMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:mime-version:content-type; b=skk45fOSdTYyXdW6o4VWW9AcmT5xa/K8ZjaENbyU4CI6TFSmlUUvUNcV/AS+FEPEmW EtLe8Rj3sSjuXAvjexU8Ab1mcyuC1w5OXp3siSsAhibsDYulIEFLftwKhzUpJYezhHum PIdl2JtPZCOtVQvxm696y72zCa8EbljMnjakc= Received: by 10.224.60.203 with SMTP id q11mr7438865qah.166.1245085387540; Mon, 15 Jun 2009 10:03:07 -0700 (PDT) Received: from sofocles.comuna.andre ([189.25.2.170]) by mx.google.com with ESMTPS id 26sm36782qwa.44.2009.06.15.10.03.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 10:03:06 -0700 (PDT) From: Tiago Saboga To: emacs-pretest-bug@gnu.org Cc: rfrancoise@debian.org Subject: 23.0.94; when saving some files, diff does not work Date: Mon, 15 Jun 2009 14:03:02 -0300 Message-ID: <87eitl1lbt.fsf@sofocles.comuna.andre> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I start emacs with -q and -no-site-file, visit some file, make some changes, switch to buffer "scratch" (or any other buffer with no associated file) and run save-some-buffers. It asks me what to do with the visited file, and I want to view the diff, so I press "d". And I get an error message: "Not applicable: no file." 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) Thanks, Tiago Saboga. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.94/etc/DEBUG for instructions. In GNU Emacs 23.0.94.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-05-25 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090525-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.94/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.94/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: pt_BR.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Alunos Minor modes in effect: show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Saving /home/tiago/.newsrc.eld... Saving file /home/tiago/.newsrc.eld... Wrote /home/tiago/.newsrc.eld Saving /home/tiago/.newsrc.eld...done ------------=_1245251408-4161-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3578-done) by emacsbugs.donarmstrong.com; 17 Jun 2009 15:07:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL,MDO_CABLE_TV3 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po34.its.yale.edu (pantheon-po34.its.yale.edu [130.132.50.80]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5HF7hW2003933 for <3578-done@emacsbugs.donarmstrong.com>; Wed, 17 Jun 2009 08:07:44 -0700 Received: from furry (dhcp128036014144.central.yale.edu [128.36.14.144]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5HF7VjH017734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Jun 2009 11:07:36 -0400 Received: by furry (Postfix, from userid 1000) id 635ABC09B; Wed, 17 Jun 2009 11:07:30 -0400 (EDT) From: Chong Yidong To: Tiago Saboga Cc: 3578-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.94; when saving some files, diff does not work Date: Wed, 17 Jun 2009 11:07:30 -0400 Message-ID: <87skhyzyod.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > I start emacs with -q and -no-site-file, visit some file, make some > changes, switch to buffer "scratch" (or any other buffer with no > associated file) and run save-some-buffers. It asks me what to do with > the visited file, and I want to view the diff, so I press "d". And I > get an error message: "Not applicable: no file." Thanks for finding this problem, and debugging it. I've checked in the fix. ------------=_1245251408-4161-0--