From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.emacs.help Subject: Bizarre behavior of emacsclient on OS/X Date: Wed, 5 Jun 2013 10:03:35 -0700 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 1370454130 14341 80.91.229.3 (5 Jun 2013 17:42:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 17:42:10 +0000 (UTC) To: GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 05 19:42:11 2013 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 1UkHit-00046p-9U for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 19:42:11 +0200 Original-Received: from localhost ([::1]:58898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkHis-0003Q0-Tb for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 13:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkH7y-0004eF-TQ for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkH7t-0000AB-Bg for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:04:02 -0400 Original-Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:40188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkH7t-00009l-3l for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:03:57 -0400 Original-Received: by mail-we0-f171.google.com with SMTP id m46so1532286wev.16 for ; Wed, 05 Jun 2013 10:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=/gp8dBEcLy/n1sjRI//Kumfr+9o8IIlaZlZH+fbEnKk=; b=EinYE6Xlfz3paydLbbwjM9M8NUkturE3QaORnECd4NhRiSFKJXp6iuPfvL/DOUfr4Y 9jNxeYpYvs3RP593dAT0yp/GGZ2oE8poTBO03zVLKcjSezLraeCbWhQQ/kJtPWzD/m9x 1UXgIV70I4tg9dAQbFbp7dhk/Da0jbf002Ed3ercDBYonh/z28UtCaihMPT087c18OQ9 bIlVhY5VoZSeanXByKoiYHi7/0ZkiKbBLMjj9LPgMVs1dkZXAONWJVZ7BKfU5yua2HfE 2IaimGtJFFgVsYzvlCDR/9/v8i+Li9Hw7YsG6ZLJseM1uW7Rk5mt1AQ28KbAve9eI7aT /oWA== X-Received: by 10.181.13.112 with SMTP id ex16mr7556121wid.28.1370451835830; Wed, 05 Jun 2013 10:03:55 -0700 (PDT) Original-Received: by 10.194.87.68 with HTTP; Wed, 5 Jun 2013 10:03:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22b X-Mailman-Approved-At: Wed, 05 Jun 2013 13:41:51 -0400 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:91327 Archived-At: > $ getconf DARWIN_USER_TEMP_DIR > /var/folders/22/_6n21qmj3rgfqtrqy2nd81d8898tm8/T/ > $ id -u > 278162056 > $ f=$(getconf DARWIN_USER_TEMP_DIR)/emacs$(id -u)/emacs > $ file $f > /var/folders/22/_6n21qmj3rgfqtrqy2nd81d8898tm8/T//emacs278162056/emacs: socket > $ emacsclient -n -s $f myfile > $ I'm writing because: 1. emacsclient does not default to the same temp directory, and 2. when I force it to use the correct temp directory, the emacs daemon (server) does *not* open "myfile". How do I chase down the cause?