|
From: | Max Nikulin |
Subject: | Emacs launched from Firefox |
Date: | Sun, 1 May 2022 18:36:00 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
On 01/05/2022 11:53, Samuel Wales wrote:
[firefox did not offer to allow a command line to run my shell script which sets up emacs correctly, and idk if it even ran with my .emacs. does it do -q? not sure because emacs is too unusable to even find that out. so firefox fails to be accessible in that dialog box.
Samuel, I think, firefox does exactly what it can find in MIME associations (e.g. ~/.config/mimeapps.list) and in the .desktop file of the selected application.
There is an emacsclient.desktop file in Emacs git master that tries to connect to the existing Emacs session. It is a relatively new addition, so packages for Linux distributions may miss it.
You can either use standard Emacs initialization to get all your customization available through default emacs.desktop or create a custom .desktop file that contain all CLI options specific to your setup.
[Prev in Thread] | Current Thread | [Next in Thread] |