From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: emacsclient command line use existing client Date: Thu, 11 Sep 2014 08:58:44 -0400 Message-ID: <87zje671q3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410440354 2577 80.91.229.3 (11 Sep 2014 12:59:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 12:59:14 +0000 (UTC) To: emacs list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 14:59:08 2014 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 1XS3xm-0004zU-5r for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 14:59:02 +0200 Original-Received: from localhost ([::1]:37609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS3xl-0000eO-Rf for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 08:59:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS3xb-0000eH-9v for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 08:58:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS3xV-000851-Rm for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 08:58:51 -0400 Original-Received: from mail-yk0-x232.google.com ([2607:f8b0:4002:c07::232]:50858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS3xV-00084o-NX for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 08:58:45 -0400 Original-Received: by mail-yk0-f178.google.com with SMTP id 20so2652167yks.9 for ; Thu, 11 Sep 2014 05:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=nYVxfp2I4CMl/QKfc579Wz1lQ5t4me7OeNo2uGda7uk=; b=0owPdg/Dg0aoSIq+jN2UnEFqq1Hf0MRmVODtRV2PA/1yD/doI233SKhJSXqQyjxkIt BpsRCv1pdKeWeL9n19Cr+w8Q/ZDFzDYsP/redLWafbZZOSbbSuiD6Zb7YPkOI73oLfez OiIOzxjUDm8bNqu4d1mqDl23meJiyT+n5Sx/wdhuxwZRHMUkMjg0LLAmkXUOY77RYPal 6jw1J+TPxMsyQN15dmY7d1rjZXz8uvkeRqrpfM6zG2eX9mArM4rXBPSAWi5FrXDRfnAF cz6f1/XVJAQLti5xc8ghXqvWqbFjm3Jjhs8oqezgtkD3GMrdgTR1mq6vdwW0GpJ0qzpy hyDQ== X-Received: by 10.236.91.171 with SMTP id h31mr889509yhf.144.1410440325123; Thu, 11 Sep 2014 05:58:45 -0700 (PDT) Original-Received: from localhost.localdomain ([2601:0:a000:4a1:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id n36sm288245yhp.49.2014.09.11.05.58.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Sep 2014 05:58:44 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::232 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:99818 Archived-At: The following are part of a .so file I use to let browser mailto: links open a message in Gnus. elisp_expr="(mailto-compose-mail \"$mailto\")" emacsclient -a "" -c -n --eval "$elisp_expr" \ '(set-window-dedicated-p (selected-window) t)' But somehow when I run this it starts a new emacsclient rather than using the one I have running. If I remove the `-a ""` then nothing happens at all. Why won't it connect to my existing emacsclient?