From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.devel Subject: set default-directory to nil hangs emacs Date: Wed, 16 Oct 2013 16:39:16 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1381912760 25018 80.91.229.3 (16 Oct 2013 08:39:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Oct 2013 08:39:20 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 10:39:25 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VWMdX-0003n1-61 for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2013 10:39:23 +0200 Original-Received: from localhost ([::1]:45879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWMdW-000477-BU for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2013 04:39:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWMdS-00046n-PW for emacs-devel@gnu.org; Wed, 16 Oct 2013 04:39:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWMdR-0001Xy-Rf for emacs-devel@gnu.org; Wed, 16 Oct 2013 04:39:18 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:61356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWMdR-0001Wx-KR for emacs-devel@gnu.org; Wed, 16 Oct 2013 04:39:17 -0400 Original-Received: by mail-wi0-f169.google.com with SMTP id cb5so6644597wib.4 for ; Wed, 16 Oct 2013 01:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=e7j27eVfJJHdde+LNUoJ1tHKR3syiR8mDJT2Bhccoh0=; b=vgTRV8KDEnx9eJjP4iERWJcv0O46U+wZfTNDQRenlwxbW8UPRdtVGgtcNyLKNHjx7l IXCMPjX4VXpO60jkpopnJxabvVhtgnPfZwcejCVWuyuEvF53JaxW/n0BJzNmsEN0LNke zROkkW9QhU01NqL2PphQvCYcZvLLWEtrUVAKPKkyKQDs56nHyzyUF+S12CsR5N6Wd3Y5 pIxQ3I9DgZ2HumWBnqCSmmErwVE277UH5gJPFdf9BhpaNRIo3FO4yP80+UVnpxj0F7+Y 7uIvNIXK9BnJQfiTpcyofzoy+CgGMhRRE1Dxwv/HRGvQ8S6+5AU46St8jhgU6D4dUivq NIWw== X-Received: by 10.180.221.38 with SMTP id qb6mr1282233wic.8.1381912756275; Wed, 16 Oct 2013 01:39:16 -0700 (PDT) Original-Received: by 10.194.6.162 with HTTP; Wed, 16 Oct 2013 01:39:16 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164231 Archived-At: As I stumbled upon bug #15607, I fiddled with this buffer local variable and found that evaluating (setq default-directory nil) in *scratch* buffer would cause emacs hang forever. I wonder if it's a bug so I'd ask here first. How does buffer local variable do the magic in the low level that it automatically becomes permanently buffer-local when set? Anyone shedding some light on this would help me find out the cause of bug #15607 in my environment.