From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: no executable emacs binary in exec-directory Date: Sat, 29 Nov 2008 14:41:13 +0100 Message-ID: References: <87k5am3bu5.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227966123 27242 80.91.229.12 (29 Nov 2008 13:42:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 13:42:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Sven Joachim" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 29 14:43:04 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6Q67-0003SJ-TL for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2008 14:43:00 +0100 Original-Received: from localhost ([127.0.0.1]:51640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Q4y-0002qV-2t for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2008 08:41:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6Q4S-0002f8-SO for emacs-devel@gnu.org; Sat, 29 Nov 2008 08:41:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6Q4R-0002eg-Ig for emacs-devel@gnu.org; Sat, 29 Nov 2008 08:41:16 -0500 Original-Received: from [199.232.76.173] (port=52612 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Q4R-0002eb-Dl for emacs-devel@gnu.org; Sat, 29 Nov 2008 08:41:15 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.157]:57021) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6Q4R-0007hh-6L for emacs-devel@gnu.org; Sat, 29 Nov 2008 08:41:15 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so720978ywk.66 for ; Sat, 29 Nov 2008 05:41:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=atSWXYxdp8hMfiO+2DXZ5WDvelQmSolnSnYqLiYcjpo=; b=RNhe2GcJcXtBDRNwzTQXt2A5bL9RG28jSesb3dwQmAprzAKYXgIORfsiY7k8QbBB5r qbdygDZ6t2TVjVSfs0l2U2PsoX8NWmL+YYiEGLqO8IN53TorMAHigK20izcf1kvDT62e BcW/RgstSi0Y4zulLzWuwXzg1UJwsz3UDFRoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hwaWc3yCpK2Q1BiPm8uInukN/i0cdu1dqAg+7JmHmOcEIX4lRUqNpuXUMZNGIpUUWl FulGUVNxc38sum27MHSR/AU/ecfvzKpoo1V8ICRAzU/MulVTrEKATdpCfoM7GRYl49jy czn80vtOn2uHfszXO+SyIn5pi0RWjyk2MaiVg= Original-Received: by 10.150.51.2 with SMTP id y2mr9311895yby.72.1227966073659; Sat, 29 Nov 2008 05:41:13 -0800 (PST) Original-Received: by 10.151.116.1 with HTTP; Sat, 29 Nov 2008 05:41:13 -0800 (PST) In-Reply-To: <87k5am3bu5.fsf@turtle.gmx.de> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106298 Archived-At: On Sat, Nov 29, 2008 at 2:23 PM, Sven Joachim wrote: > On 2008-11-29 14:00 +0100, Lennart Borgman wrote: > >> I thought that the currently running emacs binary should be in >> exec-directory. That does not seem to be the case always. > > Actually, on GNU/Linux this should never be the case. > >> How do you find it? > > It is in invocation-directory, and its name is invocation-name. Thanks. Is this then the way to find the executable? (defun ourcomments-find-emacs-executable () (let ((exec-path (list invocation-directory))) (executable-find invocation-name)))