From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre 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:45:37 +0100 Message-ID: <20141029174536.GW4400@xvii.vinc17.org> References: <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> <87bnouzsta.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1414604783 19910 80.91.229.3 (29 Oct 2014 17:46:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2014 17:46:23 +0000 (UTC) Cc: 18851@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 18:46:17 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 1XjXK5-0003Ff-EH for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 18:46:17 +0100 Original-Received: from localhost ([::1]:48076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXK5-00010n-3P for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 13:46:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXJw-00010d-LC for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:46:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjXJq-00041c-JM for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:46:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXJq-00041X-H0 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjXJq-0008RD-0U for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Oct 2014 17:46:01 +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.141460474432409 (code B ref 18851); Wed, 29 Oct 2014 17:46:01 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 29 Oct 2014 17:45:44 +0000 Original-Received: from localhost ([127.0.0.1]:39298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjXJX-0008Qe-HC for submit@debbugs.gnu.org; Wed, 29 Oct 2014 13:45:43 -0400 Original-Received: from ioooi.vinc17.net ([92.243.22.117]:55508) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjXJU-0008QT-O9 for 18851@debbugs.gnu.org; Wed, 29 Oct 2014 13:45:41 -0400 Original-Received: from smtp-xvii.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by ioooi.vinc17.net (Postfix) with ESMTPSA id 4FE1F157; Wed, 29 Oct 2014 18:45:37 +0100 (CET) Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 15B6821A07A; Wed, 29 Oct 2014 18:45:37 +0100 (CET) Content-Disposition: inline In-Reply-To: <87bnouzsta.fsf@igel.home> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6365-vl-r59709 (2014-09-07) 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:95264 On 2014-10-29 18:31:13 +0100, Andreas Schwab wrote: > 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. And what about the *scratch* buffer? Is this a problem like Eli said? If any, what problems? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)