From: Jean-Christophe Helary <lists@traduction-libre.org>
To: Po Lu <luangruo@yahoo.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: emacs-mac and emacsclient
Date: Wed, 22 Dec 2021 13:49:24 +0900 [thread overview]
Message-ID: <B813B747-996F-4C6C-B1B0-0D56DE06217A@traduction-libre.org> (raw)
In-Reply-To: <87lf0ds0wa.fsf@yahoo.com>
> On Dec 22, 2021, at 13:45, Po Lu <luangruo@yahoo.com> wrote:
>
> Jean-Christophe Helary <lists@traduction-libre.org> writes:
>
>>> On Dec 22, 2021, at 12:22, Po Lu <luangruo@yahoo.com> wrote:
>>>
>>> Jean-Christophe Helary <lists@traduction-libre.org> writes:
>>>
>>>> I don't want to run it from the GUI, just have it in the package,
>>>> like it is in the official Emacs.app:
>>>>
>>>> emacs/nextstep/Emacs.app/Contents/MacOS/bin/emacsclient
>>>>
>>>> That way I can put it in the path and run it whenever I need to.
>>>
>>> I don't understand the logic behind putting NS bundles into PATH:
>>> aren't they only supposed to work when run from the Workspace Manager
>>> (i.e. GWorkspace)? And if you want Emacs in your path, aren't you
>>> supposed to use `--disable-ns-self-contained' instead?
>>
>> My original question was:
>>
>>> I'm building emacs-mac locally but it looks like emacsclient is not
>>> included in the final Emacs.app so I have to use
>>> emacs-mac/lib-src/emacsclient which does not seem to be the best way
>>> to do that.
>>>
>>> Am I missing something during the build process that does not put
>>> emacsclient in Emacs.app ?
>>
>> What I would like to know is whether there a way to build emacs-mac so
>> that emacsclient is inside the Emacs.app package, just like it is for
>> the generic Emacs.app package.
>>
>> If you don't have an answer to that, that's totally fine. Maybe it is
>> a question for emacs-devel. I'll wait a few more days here before
>> checking there.
>
> I was asking a question and advising you to disable the self-contained
> bundle feature at the same time :)
But that's not the way I work with Emacs. I work with Emacs.app in the GUI exclusively and I sometimes need to use emacsclient in a script (applescript) to launch files directly in Emacs.
Having emacs and emacsclient in the path is just a convenience, not a requirement. My requirement is that I can move the Emacs.app package and use the commands that are contained inside the package.
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
next prev parent reply other threads:[~2021-12-22 4:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 7:57 emacs-mac and emacsclient Jean-Christophe Helary
2021-12-21 9:17 ` Po Lu
2021-12-21 11:35 ` Jean-Christophe Helary
2021-12-21 11:38 ` Po Lu
2021-12-21 11:58 ` Jean-Christophe Helary
2021-12-21 12:01 ` Po Lu
2021-12-21 12:11 ` Jean-Christophe Helary
2021-12-22 3:22 ` Po Lu
2021-12-22 3:47 ` Jean-Christophe Helary
2021-12-22 4:45 ` Po Lu
2021-12-22 4:49 ` Jean-Christophe Helary [this message]
2021-12-22 4:53 ` Po Lu
2021-12-22 4:55 ` Jean-Christophe Helary
2021-12-22 5:00 ` Po Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B813B747-996F-4C6C-B1B0-0D56DE06217A@traduction-libre.org \
--to=lists@traduction-libre.org \
--cc=help-gnu-emacs@gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.