Rancier, Jeff wrote:
> The actual name from the process table, specifically, I want to
> differentiate between 'xemacs' vs. 'emacs'. Thanks.
,[ C-h v invocation-name RET ]
| invocation-name's value is "emacs"
|
| Documentation:
| The program name that was used to run Emacs.
| Any directory n
> From: "Rancier, Jeff" <[EMAIL PROTECTED]>
> Date: Tue, 6 Sep 2005 10:44:39 -0400
>
> The actual name from the process table, specifically, I want to
> differentiate between 'xemacs' vs. 'emacs'. Thanks.
(if (featurep 'xemacs)
(message "it's XEmacs")
(message "it's Emacs"))
___
ubject: Re: instance process name
|
|
| > From: "Rancier, Jeff" <[EMAIL PROTECTED]>
| > Date: Fri, 2 Sep 2005 13:46:53 -0400
| >
| > Is there an easy method to retrieve the process name of
| 'this' instance of
| > Emacs, via a lisp expression?
|
| It is no
> Thanks Kevin. Actually, I'm running GNU Emacs 21.3.2 (sparc-sun-solaris2.8,
> X toolkit, Xaw3d scroll bars) from Windows, but when I bring up Sun's Forte
> Debugger (workshop), Sun has integrated the debugger into Xemacs, and I
> simply want the ability to load/~load various features, as they bo
> From: "Rancier, Jeff" <[EMAIL PROTECTED]>
> Date: Fri, 2 Sep 2005 13:46:53 -0400
>
> Is there an easy method to retrieve the process name of 'this' instance of
> Emacs, via a lisp expression?
It is not clear to me what you mean by ``the process name''. Can you
clarify?
One possibility is (ca
y both use the
same init file. I'll probably just use the emacs-build-system or
emacs-version.
Jeff
| -Original Message-
| From: Kevin Rodgers [mailto:[EMAIL PROTECTED]
| Sent: Friday, September 02, 2005 2:15 PM
| To: help-gnu-emacs@gnu.org
| Subject: Re: instance process name
|
|
Rancier, Jeff wrote:
> Is there an easy method to retrieve the process name of 'this'
instance of
> Emacs, via a lisp expression?
,[ C-h f emacs-pid RET ]
| emacs-pid is a built-in function.
| (emacs-pid)
|
| Return the process ID of Emacs, as an integer.
`
--
Kevin Rodgers
Hello All,
Is there an easy method to retrieve the process name of 'this' instance of
Emacs, via a lisp expression?
Jeff
___
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs