From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bob Halley Newsgroups: gmane.emacs.devel Subject: find-alternate-file broken in files.el 1.633 Date: 10 Feb 2003 23:25:10 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044948325 6978 80.91.224.249 (11 Feb 2003 07:25:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2003 07:25:25 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18iUnD-0001oP-00 for ; Tue, 11 Feb 2003 08:25:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18iUya-0006zk-00 for ; Tue, 11 Feb 2003 08:37:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18iUop-0002LU-07 for emacs-devel@quimby.gnus.org; Tue, 11 Feb 2003 02:27:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18iUnu-00028o-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 02:26:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18iUn5-0001mr-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 02:25:20 -0500 Original-Received: from woof.play-bow.org ([204.152.186.150]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18iUn2-0001ZA-00; Tue, 11 Feb 2003 02:25:13 -0500 Original-Received: by woof.play-bow.org (Postfix, from userid 500) id E88C92EB4B; Mon, 10 Feb 2003 23:25:10 -0800 (PST) Original-To: emacs-pretest-bug@gnu.org Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11553 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11553 When I try to use find-alternate-file in the latest CVS (files.el 1.633) I get an error: call-interactively: Symbol's value as variable is void: dired-directory This change in 1.633 appears to be the culprit: (let ((obuf (current-buffer)) (ofile buffer-file-name) (onum buffer-file-number) + (odir dired-directory) (otrue buffer-file-truename) (oname (buffer-name))) (if (get-buffer " **lose**") I'm not sure how to fix this, since I know little about dired-directory. In particular, I don't know if we should just check if it is bound and set odir to nil if it isn't, or if it is in fact an error that dired-directory isn't bound and we should fix that instead. /Bob