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: Thu, 20 Oct 2011 14:53:48 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319139602 23025 80.91.229.12 (20 Oct 2011 19:40:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 19:40:02 +0000 (UTC) To: 9814@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 21:39:58 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 1RGyT7-0001ch-AA for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 21:39:57 +0200 Original-Received: from localhost ([::1]:56056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGyT6-0005NM-Q4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 15:39:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGyT4-0005NG-EN for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGyT2-0005Op-O5 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGyT2-0005Oj-KM for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGyUA-0004jt-7K for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:41:02 -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: Thu, 20 Oct 2011 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131913963518182 (code B ref -1); Thu, 20 Oct 2011 19:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Oct 2011 19:40:35 +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 1RGyTi-0004jC-Gq for submit@debbugs.gnu.org; Thu, 20 Oct 2011 15:40:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGyTf-0004ip-NT for submit@debbugs.gnu.org; Thu, 20 Oct 2011 15:40:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGySR-0005HV-Ef for submit@debbugs.gnu.org; Thu, 20 Oct 2011 15:39:16 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:53568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGySR-0005HH-B0 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 15:39:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGySP-0005LA-77 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGySN-0005Fy-5Q for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:13 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:42670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGySN-0005Fj-1c for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 15:39:11 -0400 Original-Received: by qyk29 with SMTP id 29so5024123qyk.0 for ; Thu, 20 Oct 2011 12:39:10 -0700 (PDT) Original-Received: by 10.229.42.208 with SMTP id t16mr2685843qce.135.1319139549901; Thu, 20 Oct 2011 12:39:09 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id df3sm1254363qab.6.2011.10.20.12.39.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 12:39:09 -0700 (PDT) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id 5C30C115E4E9; Thu, 20 Oct 2011 15:39:08 -0400 (EDT) User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 Oct 2011 15:41:02 -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:52943 Archived-At: 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. In GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-12 on pluto.luannocracy.com Windowing system distributor `Apple Inc.', version 10.6.8 configured using `configure '--with-mac' '--enable-mac-app' '--prefix=/usr/local/stow/emacs-23.3' 'CC=gcc -arch x86_64'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: highlight-changes-visible-mode: t diff-auto-refine-mode: t recentf-mode: t pretty-control-l-mode: t Info-breadcrumbs-in-mode-line-mode: t workgroups-mode: t shell-dirtrack-mode: t me-minor-mode: t show-paren-mode: t ido-everywhere: t global-auto-revert-mode: t display-time-mode: t delete-selection-mode: t tooltip-mode: t mac-mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n