From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: Emacs variable holding emacs executable Date: Mon, 29 Jul 2013 15:30:02 +0530 Message-ID: References: Reply-To: "N. Raghavendra" NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1375092043 3191 80.91.229.3 (29 Jul 2013 10:00:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 10:00:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 29 12:00:45 2013 Return-path: Envelope-to: geh-help-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 1V3kFw-0001AK-RK for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 12:00:44 +0200 Original-Received: from localhost ([::1]:51248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3kFw-0007Ii-9p for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 06:00:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3kFZ-0007Ib-Rr for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 06:00:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3kFU-0000lW-6N for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 06:00:21 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:57218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3kFT-0000lI-Vt for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 06:00:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3kFS-0000nt-J1 for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 12:00:14 +0200 Original-Received: from 14.139.59.139 ([14.139.59.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 12:00:14 +0200 Original-Received: from raghu by 14.139.59.139 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 12:00:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 14.139.59.139 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (darwin) Cancel-Lock: sha1:nN+KTR7CfH8SQY9B2LxuFsBbBLE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92503 Archived-At: At 2013-07-29T09:59:20+01:00, João Távora wrote: > Is there a elisp variable that holds the actual executable called to > launch emacs? Something akin to argv[0] I guess. (car command-line-args) could be what you're after. > I've tried all the "emacs-*" and also some M-x apropos "emacs" but > didn't find it. M-x apropos "command-line" Best regards, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/