From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Async package.el Date: Tue, 7 Apr 2015 13:33:34 +0100 Message-ID: References: <55228FD2.3080501@yandex.ru> <55239FA3.40301@yandex.ru> <87384cnpy2.fsf@gmail.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1428410044 8641 80.91.229.3 (7 Apr 2015 12:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2015 12:34:04 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 07 14:34:01 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YfShd-00012t-CL for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 14:34:01 +0200 Original-Received: from localhost ([::1]:44743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfShc-0000ku-H8 for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 08:34:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfShJ-0000kn-J2 for emacs-devel@gnu.org; Tue, 07 Apr 2015 08:33:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfShE-0007yn-3I for emacs-devel@gnu.org; Tue, 07 Apr 2015 08:33:41 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:33601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfShD-0007yc-Rn for emacs-devel@gnu.org; Tue, 07 Apr 2015 08:33:36 -0400 Original-Received: by layy10 with SMTP id y10so40834419lay.0 for ; Tue, 07 Apr 2015 05:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=YTmxEvzBcsIOhhslTcDxxGIbNumuSahowP4ROUGWGYk=; b=vxQEBAlvX62JIUZL7qoclbvUsQzUb7zOPcz4Y0xJ9IRZUIWcUVThEQXInIovYLApjH QvYpLyaDEqkk+mM3PK5vak2Fa4g5g5XzkKyqqn/de6juJxXXv32KxD59uVarPY8RrivL jYAsWrohxXK0mkXRitaKFyxwPU6zRZviJNPxJ6cJzLRSpbv4zERPefE0bnocJbfy3sT3 KKNk/bj/bevlWS5UQN7zHI05UKFzDivMNBpU7WLpFNzqXfZYmZFLk36wscXEvPxGTaMG id6xO895W1vRjtZfexbHAwbxXGI2yhLVP48I1X/7DGQtgT/wWfZf/l4ApCzw+d5WLFLA /A7A== X-Received: by 10.112.29.180 with SMTP id l20mr7346874lbh.95.1428410014376; Tue, 07 Apr 2015 05:33:34 -0700 (PDT) Original-Received: by 10.25.150.131 with HTTP; Tue, 7 Apr 2015 05:33:34 -0700 (PDT) In-Reply-To: <87384cnpy2.fsf@gmail.com> X-Google-Sender-Auth: IwZZfMFKIzAt3ArFmigqB_RTzhs X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185068 Archived-At: > Using a second Emacs runs the risk that it's not the same version as the > running Emacs. How likely is that to happen? For instance, the only Emacs in > my path is not the one I'm typing this in. Your system path is irrelevant in this scenario. Emacs can tell the full filename of the executable that's running it with `(expand-file-name invocation-name invocation-directory)', and that is what we would use to run the second instance. The only situation where they can diverge is if the Emacs executable was recompiled while the current one is running, and then we could add some form of version check to protect against it.