From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: 24.1.50 + lexical-binding + server.el + server-visit-hook = problem Date: Tue, 05 Jun 2012 21:17:07 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338945620 28720 80.91.229.3 (6 Jun 2012 01:20:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2012 01:20:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 06 03:20:19 2012 Return-path: Envelope-to: geh-help-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 1Sc4uy-000646-QN for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jun 2012 03:20:12 +0200 Original-Received: from localhost ([::1]:59151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sc4uy-0006m9-HM for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jun 2012 21:20:12 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news-out.readnews.com!transit3.readnews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe13.iad.POSTED!00000000!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:KlNin5bVuw5C2fKdLUzawvvjrjE= Original-Lines: 8 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Wed, 06 Jun 2012 01:17:08 UTC X-Received-Bytes: 981 Original-Xref: usenet.stanford.edu gnu.emacs.help:192717 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85122 Archived-At: > While using 23.4 (and some other older versions) I added a hook to > server-visit-hook. My hook function uses the variable "dir", which is > meaningful at the point where server-visit-hook is called. What does your hook do and how does it use this `dir'? Stefan