From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#18851: 24.4; emacs cannot be started if the current directory has been removed Date: Wed, 29 Oct 2014 18:31:13 +0100 Message-ID: <87bnouzsta.fsf@igel.home> References: <87h9ypiqmm.fsf@xvii.vinc17.org> <8k61f398u4.fsf@fencepost.gnu.org> <20141029012802.GS4400@xvii.vinc17.org> <83y4rz1qmj.fsf@gnu.org> <20141029080939.GT4400@xvii.vinc17.org> <83r3xr0x4u.fsf@gnu.org> <20141029153959.GM5545@ypig.lip.ens-lyon.fr> <20141029165140.GQ5545@ypig.lip.ens-lyon.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414603944 5675 80.91.229.3 (29 Oct 2014 17:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2014 17:32:24 +0000 (UTC) Cc: 18851@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 18:32:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XjX6X-0002wx-Kc for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 18:32:17 +0100 Original-Received: from localhost ([::1]:48001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjX6X-0003cS-9e for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 13:32:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjX6O-0003bI-Jo for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjX6J-0006eh-7O for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:32:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjX6I-0006dZ-S9 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjX6I-00083d-F5 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Oct 2014 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18851-submit@debbugs.gnu.org id=B18851.141460387830902 (code B ref 18851); Wed, 29 Oct 2014 17:32:02 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 29 Oct 2014 17:31:18 +0000 Original-Received: from localhost ([127.0.0.1]:39286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjX5Z-00082L-RY for submit@debbugs.gnu.org; Wed, 29 Oct 2014 13:31:18 -0400 Original-Received: from cantor2.suse.de ([195.135.220.15]:49404 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjX5X-00082C-I6 for 18851@debbugs.gnu.org; Wed, 29 Oct 2014 13:31:16 -0400 Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 80BACAD91; Wed, 29 Oct 2014 17:31:14 +0000 (UTC) X-Yow: Thousands of days of civilians ... have produced a... feeling for the aesthetic modules -- In-Reply-To: <20141029165140.GQ5545@ypig.lip.ens-lyon.fr> (Vincent Lefevre's message of "Wed, 29 Oct 2014 17:51:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95263 Vincent Lefevre writes: > On 2014-10-29 17:15:45 +0100, Andreas Schwab wrote: >> Try this: >> >> emacs --eval '(progn (setq default-directory nil) (find-file "~/out"))' > > Thanks. Now my question is: after starting Emacs like that, will there > be any serious problem due to the fact that default-directory value is > nil (except for the ~/out buffer)? The global value of default-directory isn't actually used that much, new buffers inherit its value from the current buffer. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."