From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: bug in save-some-buffers or diff.el? Date: Tue, 21 Oct 2003 20:07:21 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1066781424 31937 80.91.224.253 (22 Oct 2003 00:10:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2003 00:10:24 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 22 02:10:22 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AC6Zy-00051Z-00 for ; Wed, 22 Oct 2003 02:10:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AC6Zy-00082a-00 for ; Wed, 22 Oct 2003 02:10:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC6Xq-0004xn-Lk for emacs-devel@quimby.gnus.org; Tue, 21 Oct 2003 20:08:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AC6Xi-0004xi-NP for emacs-devel@gnu.org; Tue, 21 Oct 2003 20:08:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AC6XC-0004ml-Hf for emacs-devel@gnu.org; Tue, 21 Oct 2003 20:08:01 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC6XA-0004lr-1U for emacs-devel@gnu.org; Tue, 21 Oct 2003 20:07:28 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AC6X5-0003lb-00 for ; Wed, 22 Oct 2003 02:07:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AC6X4-0003lT-00 for ; Wed, 22 Oct 2003 02:07:22 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AC6X4-0008BL-00 for ; Wed, 22 Oct 2003 02:07:22 +0200 Original-Lines: 44 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:klJbh8DXX7nR5sx4hiQYBc2Xh84= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17312 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17312 Here's my backtrace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) expand-file-name(nil) find-file-noselect(nil) #[(file subexpr) "???Å ? )Ç??{!? ÉÊ !q×? !? +B\fB?? [subexpr line save-match-data-internal file compilation-error-list beginning-of-line point-marker string-to-int match-data (...) find-file-noselect goto-line] 4](nil 2) diff-parse-differences(732 nil) compile-reinitialize-errors(nil 732) compilation-handle-exit(exit 1 "exited abnormally with code 1\n") compile-internal("diff -wu \"c:/src/emacs/README\" \"c:/DOCUME~1/dave/LOCALS~1/Temp/buffer-content-2644bjc\"" "No more differences" "Diff" diff-parse-differences nil nil nil nil nil nil t) diff("c:/src/emacs/README" "c:/DOCUME~1/dave/LOCALS~1/Temp/buffer-content-2644bjc" nil t) diff-buffer-with-file(#) funcall(diff-buffer-with-file #) (if (funcall (aref def 0) elt) (setq actions (1+ actions)) (setq next (\` ...))) (cond ((eq def ...) (setq next ...)) ((eq def ...) (funcall actor elt) (setq actions ...)) ((eq def ...)) ((eq def ...) (funcall actor elt) (setq actions ... next ...)) ((eq def ...) (setq quit-flag t) (setq next ...)) ((eq def ...) (if ... ...) (while ... ...)) ((eq def ...) (with-output-to-temp-buffer "*Help*" ... ...) (setq next ...)) ((vectorp def) (if ... ... ...)) ((and ... ...) (setq delayed-switch-frame char) (setq next ...)) (t (message "Type %s for help." ...) (beep) (sit-for 1) (setq next ...))) (cond ((stringp prompt) (setq quit-flag nil) (if use-menus ... ... ...) (cond ... ... ... ... ... ... ... ... ... ...)) (prompt (funcall actor elt) (setq actions ...))) (while (funcall next) (setq prompt (funcall prompter elt)) (cond (... ... ... ...) (prompt ... ...))) (progn (if (stringp prompter) (setq prompter ...)) (while (funcall next) (setq prompt ...) (cond ... ...))) (unwind-protect (progn (if ... ...) (while ... ... ...)) (if delayed-switch-frame (setq unread-command-events ...))) (let* ((actions 0) user-keys mouse-event map prompt char elt tail def use-menus delayed-switch-frame (next ...)) (if (and ... use-dialog-box) (let ... ...) (setq user-keys ... map ...)) (unwind-protect (progn ... ...) (if delayed-switch-frame ...)) (let (...) (message "")) actions) map-y-or-n-p(#[(buffer) "Å!? Here's how I get there: 1. Run emacs with -q 1.5 `M-x set-variable RET debug-on-error RET t' 2. open emacs' README file 3. Go to the beginning of line 48 4. Type `X' 5. Type `C-x s' 6. Type `d' -- Dave Abrahams Boost Consulting www.boost-consulting.com