From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov 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:23:15 +0000 Message-ID: <87a94ebur0.fsf@violet.siamics.net> 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> <20141029174536.GW4400@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414607424 2491 80.91.229.3 (29 Oct 2014 18:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2014 18:30:24 +0000 (UTC) To: 18851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 19:30: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 1XjY0g-0007B3-BH for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 19:30:18 +0100 Original-Received: from localhost ([::1]:48399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjY0f-000763-OK for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 14:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjY0Z-00073Q-4I for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjXuc-0000Lm-V2 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:24:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXuc-0000Lc-GQ for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjXuc-00010O-0Q for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Oct 2014 18:24: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.14146070103816 (code B ref 18851); Wed, 29 Oct 2014 18:24:01 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 29 Oct 2014 18:23:30 +0000 Original-Received: from localhost ([127.0.0.1]:39331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjXu5-0000zS-RT for submit@debbugs.gnu.org; Wed, 29 Oct 2014 14:23:30 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:37954) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjXu3-0000zK-M2 for 18851@debbugs.gnu.org; Wed, 29 Oct 2014 14:23:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=g//yHYsXQjk7oucLcoFR+RJHB3W0J0yuQ6UcAWxhpEY=; b=YjJo6sWfWJ5UJDWM66+gnvuBJ/+t3tJLbIrtaBPva/mSCOmKdhLKKHadZCI0UwkjALZa4pvE9KY+2jERyEfdbP+QM82RxFz49arTRWVNN90K+vDPXu3Vav8KB5Pwb+VPRGiAAZVtZEL0BvW72HyClpbJGio2i7ZWhU4rqrtRCBQ=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XjXu1-00045k-KV for 18851@debbugs.gnu.org; Wed, 29 Oct 2014 18:23:26 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XjXtt-00048V-05 for 18851@debbugs.gnu.org; Thu, 30 Oct 2014 01:23:17 +0700 In-Reply-To: <20141029174536.GW4400@xvii.vinc17.org> (Vincent Lefevre's message of "Wed, 29 Oct 2014 18:45:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (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:95266 >>>>> Vincent Lefevre writes: >>>>> 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? Should there be any issues with that, I guess an explicit M-x cd RET in that same *scratch* buffer will make them go away instantly. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A