From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Some findings and suggestion about Emacs on w32 Date: Mon, 25 Oct 2004 14:06:42 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <008d01c4b886$32d07ff0$0200a8c0@sedrcw11488> <417AA9D8.6080600@wyrdrune.com> <417CC0B9.3030901@wyrdrune.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098707267 2457 80.91.229.6 (25 Oct 2004 12:27:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 12:27:47 +0000 (UTC) Cc: Guy Gascoigne-Piggford , Lennart Borgman , Jason Rumney , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 14:27:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CM3wk-0007io-00 for ; Mon, 25 Oct 2004 14:27:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM44M-000891-Sd for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2004 08:35:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CM43w-00085B-1v for emacs-devel@gnu.org; Mon, 25 Oct 2004 08:35:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CM43v-00084e-0U for emacs-devel@gnu.org; Mon, 25 Oct 2004 08:34:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM43u-00084T-Sc for emacs-devel@gnu.org; Mon, 25 Oct 2004 08:34:58 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1CM3vw-00028y-St for emacs-devel@gnu.org; Mon, 25 Oct 2004 08:26:45 -0400 Original-Received: (qmail 96781 invoked from network); 25 Oct 2004 12:06:38 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 25 Oct 2004 12:06:38 -0000 Original-To: Stefan In-Reply-To: (Stefan's message of "Mon, 25 Oct 2004 07:39:39 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.emacs.devel:28900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28900 Stefan writes: >> I don't think we need to do this for 21.4 -- as the fix is only used >> on (mostly) single user windoze. > > I guess if it's only used on w32 and we only bind to 127.0.0.1, it'd > be acceptable. But note that using a well-known port is a problem (we'd > need to get it registered, ...). You don't need to register the port -- there are numerous well-known but unregistered ports used everywhere. And this port is only going to be used locally -- not critical at all. If you need to make it configurable, use a emacs-server-port variable in emacs, and an environment variable (or registry key) in the client. > Better to let the OS choose the port and > then store it in a file that emacsclient can read. At that point, adding > a secret random key to it isn't that much extra work. Don't you need to add support for that random key to the protocol ? -- Kim F. Storm http://www.cua.dk