all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pavlos Vinieratos <pvinis@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs.app for OSX suggestions
Date: Thu, 18 Feb 2016 16:34:34 -0500	[thread overview]
Message-ID: <CANxk36STBdUSBK_yZgnteJVm2NV4ckBP6CUM9FC4gUHWErOE=Q@mail.gmail.com> (raw)
In-Reply-To: <etPan.56c594cd.73e34169.218@pavlos-mbp.local>

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

ok. so right now, the app just starts 'emacs'. so no mattet what, it makes
a new instance and always evals the init file, disregarding any existing
daemon or already running instance.
what im suggesting, is that it starts 'emacsclient', possibly with '-a ""',
so if there is an already running daemon, it connects to that instance, so
the initialization doesnt need to happen again.
does it make sense?

-- 
Pavlos Vinieratos

On 18 February 2016 at 10:54:20, pavlos vinieratos (pvinis@gmail.com) wrote:

> Hello. The way Emacs.app works right now, it that it always starts a new
> session of emacs, so its always slow to open if you have more than an empty
> init file, and it doesn’t work with the daemon.
>
> I would suggest to change the behaviour of that, and make it so that
> Emacs.app will start emacsclient, so if a daemon is running, it would
> connect to it. We could even make it so that it starts a new daemon like
> `-a “”` would.
>
> I think that would benefit anyone using Emacs.app by doing what those same
> people would do now, which is to run a command from their shell, that does
> the above. Why not implement it in the .app, so that when dragging some
> files onto Emacs.app, it starts quickly because of the daemon?
>
>
>
> --
> Pavlos Vinieratos
>
>

[-- Attachment #2: Type: text/html, Size: 2928 bytes --]

  parent reply	other threads:[~2016-02-18 21:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18  9:54 Emacs.app for OSX suggestions Pavlos Vinieratos
2016-02-18 19:22 ` John Wiegley
2016-02-18 21:34 ` Pavlos Vinieratos [this message]
2016-02-19  3:40   ` David Caldwell
2016-02-19  9:09 ` Pavlos Vinieratos
2016-02-19 15:17   ` Xu Xin

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='CANxk36STBdUSBK_yZgnteJVm2NV4ckBP6CUM9FC4gUHWErOE=Q@mail.gmail.com' \
    --to=pvinis@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.