From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Async package.el Date: Tue, 07 Apr 2015 16:29:05 +0200 Organization: not if I can help it Message-ID: <87y4m4m2q6.fsf@gmail.com> References: <55228FD2.3080501@yandex.ru> <55239FA3.40301@yandex.ru> <87384cnpy2.fsf@gmail.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428416983 4724 80.91.229.3 (7 Apr 2015 14:29:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2015 14:29:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 07 16:29:35 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 1YfUVR-00014X-KS for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 16:29:33 +0200 Original-Received: from localhost ([::1]:45276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfUVQ-0007ay-SH for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 10:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfUVD-0007aq-JT for emacs-devel@gnu.org; Tue, 07 Apr 2015 10:29:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfUV7-0005J1-SU for emacs-devel@gnu.org; Tue, 07 Apr 2015 10:29:19 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfUV7-0005HH-LN for emacs-devel@gnu.org; Tue, 07 Apr 2015 10:29:13 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YfUV5-0000mo-7F for emacs-devel@gnu.org; Tue, 07 Apr 2015 16:29:11 +0200 Original-Received: from 213.30.189.66 ([213.30.189.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 16:29:11 +0200 Original-Received: from rpluim by 213.30.189.66 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 16:29:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 213.30.189.66 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:aGq7hjIbIy2C+84QoyepJNE06/Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:185073 Archived-At: Artur Malabarba writes: >> 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. OK. > 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. That happens to me sometimes as well, but in that case I've pointed the gun at my own foot and pulled the trigger :-) I'd consider it rare enough that you don't need to expend a lot of effort to prevent it.