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 14:03:02 -0300 Message-ID: <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=us-ascii X-Trace: ger.gmane.org 1245089150 19464 80.91.229.12 (15 Jun 2009 18:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2009 18:05:50 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 15 20:05:44 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 1MGGYw-0007yF-Dq for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 20:05:42 +0200 Original-Received: from localhost ([127.0.0.1]:35239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGGYv-0003iS-Uv for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 14:05:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGFoJ-0004fn-Db for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:17:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGFoE-0004cd-NL for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:17:30 -0400 Original-Received: from [199.232.76.173] (port=47503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGFoE-0004cD-8y for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:17:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43094) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGFoB-0004Iw-RM for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13: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 n5FHHKD9005249; Mon, 15 Jun 2009 10:17:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5FHA6jP003719; Mon, 15 Jun 2009 10:10:06 -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 17:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3578 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12450854311963 (code B ref -1); Mon, 15 Jun 2009 17:10:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 17:03:51 +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 n5FH3f6m001946 for ; Mon, 15 Jun 2009 10:03:42 -0700 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.224.60.203 with SMTP id q11mr7438865qah.166.1245085387540; Mon, 15 Jun 2009 10:03:07 -0700 (PDT) Original-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) 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 13:17:30 -0400 X-Mailman-Approved-At: Mon, 15 Jun 2009 14:04:47 -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:28725 gmane.emacs.pretest.bugs:24640 Archived-At: 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