From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#9814: 23.3; unguarded setq of default-directory in ido.el Date: Mon, 31 Oct 2011 11:24:18 -0800 Message-ID: References: <8739ecuzck.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320089760 15297 80.91.229.12 (31 Oct 2011 19:36:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 19:36:00 +0000 (UTC) Cc: 9814@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 31 20:35:55 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKxeE-0004ct-DD for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Oct 2011 20:35:54 +0100 Original-Received: from localhost ([::1]:50625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKxeD-00025l-Si for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Oct 2011 15:35:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKxeA-00025g-Oa for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 15:35:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKxe8-0007iS-TN for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 15:35:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKxe8-0007iK-Rr for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 15:35:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RKxgH-0006Gl-Gq for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 15:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dave Abrahams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2011 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9814-submit@debbugs.gnu.org id=B9814.132008982424033 (code B ref 9814); Mon, 31 Oct 2011 19:38:01 +0000 Original-Received: (at 9814) by debbugs.gnu.org; 31 Oct 2011 19:37:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKxfM-0006Fa-5C for submit@debbugs.gnu.org; Mon, 31 Oct 2011 15:37:04 -0400 Original-Received: from mail-vx0-f172.google.com ([209.85.220.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKxfJ-0006FA-At for 9814@debbugs.gnu.org; Mon, 31 Oct 2011 15:37:02 -0400 Original-Received: by vcbfo1 with SMTP id fo1so5088988vcb.3 for <9814@debbugs.gnu.org>; Mon, 31 Oct 2011 12:34:47 -0700 (PDT) Original-Received: by 10.220.108.141 with SMTP id f13mr2507502vcp.211.1320089687766; Mon, 31 Oct 2011 12:34:47 -0700 (PDT) Original-Received: from pluto.local (129-134-58-66.gci.net. [66.58.134.129]) by mx.google.com with ESMTPS id j4sm11231336vdk.5.2011.10.31.12.34.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 12:34:47 -0700 (PDT) Original-Received: by pluto.local (Postfix, from userid 501) id DD77B1237416; Mon, 31 Oct 2011 11:24:18 -0800 (AKDT) In-Reply-To: <8739ecuzck.fsf@gnu.org> (Chong Yidong's message of "Sat, 29 Oct 2011 13:43:39 +0800") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 Oct 2011 15:38:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:53355 Archived-At: on Fri Oct 28 2011, Chong Yidong wrote: > Dave Abrahams writes: > >> I'm sorry that I don't have a reproducer at the moment. I was having >> some failures during startup that would leave my Emacs unable to change >> buffers with `M-x switch-to-buffer', which was remapped to >> ido-switch-buffer, because it would attempt to make a Tramp connection >> to some nonexistent host. I could get around this by `M-: (setq >> default-directory "~")', so I went hunting in ido.el for mentions of >> default-directory and found 2 instances of (setq default-directory...) >> that were not apparently surrounded by a let. This seems like a likely >> cause of the problem. > > I'm not too familiar with ido, and do not know whether those setqs are > intentional. Could you try let-binding default-directory in those > locations and test it out for a while, and see if there is any effect? I've made the changes... I guess the best report you can expect, unless I get myself into trouble at startup again, is that it has no effect. Will you check back with me in a week? -- Dave Abrahams BoostPro Computing http://www.boostpro.com