From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Laws Newsgroups: gmane.emacs.bugs Subject: bug#19688: [patch] add support for emacs daemon on Windows Date: Sun, 15 Feb 2015 01:57:58 +0900 Message-ID: References: <83h9ver459.fsf@gnu.org> <83d262qdx6.fsf@gnu.org> <54C62B6C.3050608@dancol.org> <834mr8n5or.fsf@gnu.org> <83pp9e42n8.fsf@gnu.org> <8361b4y9qj.fsf@gnu.org> <83wq3kwrjx.fsf@gnu.org> <83r3tswm6d.fsf@gnu.org> <83iof4wi2c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1423933167 31782 80.91.229.3 (14 Feb 2015 16:59:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2015 16:59:27 +0000 (UTC) Cc: 19688@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 17:59:16 2015 Return-path: Envelope-to: geb-bug-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 1YMg3m-0008NO-TG for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 17:59:15 +0100 Original-Received: from localhost ([::1]:60403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMg3m-0005tl-Ct for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 11:59:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMg3f-0005rn-30 for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 11:59:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMg3a-0004YP-1x for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 11:59:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMg3Z-0004YJ-Up for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 11:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YMg3Z-0003vp-PY for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 11:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Laws Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Feb 2015 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19688-submit@debbugs.gnu.org id=B19688.142393308815010 (code B ref 19688); Sat, 14 Feb 2015 16:59:01 +0000 Original-Received: (at 19688) by debbugs.gnu.org; 14 Feb 2015 16:58:08 +0000 Original-Received: from localhost ([127.0.0.1]:44046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMg2h-0003u1-7W for submit@debbugs.gnu.org; Sat, 14 Feb 2015 11:58:07 -0500 Original-Received: from mail-ig0-f179.google.com ([209.85.213.179]:34034) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMg2e-0003tW-Rm for 19688@debbugs.gnu.org; Sat, 14 Feb 2015 11:58:05 -0500 Original-Received: by mail-ig0-f179.google.com with SMTP id l13so16477253iga.0 for <19688@debbugs.gnu.org>; Sat, 14 Feb 2015 08:57:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NKNKuBHda2SHzuP3cXuTkAwpOwzKcPpC+jQa47pJAng=; b=a2z9BQKo4oUfaPUE4aX7/AaBpFjrkjGTAJEzj+TTH9cNczcasAT2wbwxvR0R/0qTfy 5tOz4VYjj1xmEhVFODl13rTgD+jdpl6pHiSoJNkkviKIoE2AiCxsN9/C/9ZHJqZtr/zN OtVaBT8TRtnwHyGEs3zEU5ScfPHBsvd+9LR9VaMKMCnUfVRiFm/BHi85vg9HyiaeBqNT cyG02qnMi76ReBvwPEm063/1MknTeKbLmLYA0CSjtf+kGlIIzr8IVWNChdcRUmSSsO8W iG7m0mI4+x5p+ph/IljioS1YvTFTZ8bA/Yz0Nd0Bh9HxhAFq4Hr5r9Kq1oZaDr+A7Dhi yvRQ== X-Gm-Message-State: ALoCoQm221Rhrt+zCKF4Cx2SnQCLS5JVQkzR6UVZGza4GGUdOZ1ObI1e0giY1bjampDwR8a+mojI X-Received: by 10.43.55.84 with SMTP id vx20mr20763714icb.62.1423933079031; Sat, 14 Feb 2015 08:57:59 -0800 (PST) Original-Received: by 10.36.65.195 with HTTP; Sat, 14 Feb 2015 08:57:58 -0800 (PST) X-Originating-IP: [219.102.234.58] In-Reply-To: <83iof4wi2c.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:99397 Archived-At: On Sun, Feb 15, 2015 at 1:53 AM, Eli Zaretskii wrote: > Back to the event-based method: is using a named event with a fixed > name workable? That is, is a situation imaginable where we would need > more than one event at the same time on the same system? Even with multiple users logged in (the RDP/Terminal Services case), using the same event name won't cause a problem. > If a single event is enough, I think a named event with a name > specific to Emacs (but not a GUID) is a better alternative. > Otherwise, we will have to pass the handle via the command line; using > the environment is not an idea I like, because it means complications: > possible conflict with other variables, possible overflow of the 32K > limit on environment variables, possible conflicts in nested > invocations, etc. A single event will be fine, so I would suggest going with the named event for the reasons you just gave. The code is much simpler that way too. -- |v\ /\ |\ |< |_ /\ \^| //