unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: poppyer <poppyer@gmail.com>, 1578@emacsbugs.donarmstrong.com
Subject: bug#1578: emacsclient -c make emacs very slow (under Mac OSX)
Date: Sat, 07 Feb 2009 10:26:10 -0500	[thread overview]
Message-ID: <jwvfxiqjmn2.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <B07990D8-07D7-453D-BCB2-BE7E44CD7560@gmail.com> (Adrian Robert's message of "Sat, 7 Feb 2009 12:37:19 +0200")

>> I notice that if I start with "emacs -nw", there is no NSApp (no icon in
>> the osx dock). When I use "emacsclient -c" to open a NS frame, the icon
>> shows up. My idea here is, if I close every NS frame, can we destroy the
>> NSApp and make it nil again (say by testing the frame count) ? If this
>> is possible, it at least make emacsclient more usable; and I don't need
>> to restart Emacs.

> This a good idea and would probably meet better with user expectations when
> the only frame is closed (get rid of the icon in  the dock), also applicable
> when started with --daemon.

> I don't have time to work on it right now, so if someone else wants to take
> a crack.. it shouldn't be that hard (though there could be  unexpected
> gotchas I guess)...

Odd: I'm not a regular Mac OS X user, but from the little bit of
exposure I've had to this system, I would have expected the exact
opposite: I'd have expected "emacs --daemon" to bring up the Emacs icon
in the dock even before the first frame is opened, and would stay there
until the daemon exits.


        Stefan






  reply	other threads:[~2009-02-07 15:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 23:02 bug#1578: emacsclient -c make emacs very slow (under Mac OSX) Adrian Robert
2009-02-06 18:26 ` poppyer
2009-02-07 10:37   ` Adrian Robert
2009-02-07 15:26     ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-14  3:55 bug#1578: 23.0.60; [EmacsCarbon] " poppyer
2016-03-06  3:38 ` bug#1578: " Hagmonk
2016-03-26  2:32   ` Andrew Hyatt

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfxiqjmn2.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1578@emacsbugs.donarmstrong.com \
    --cc=adrian.b.robert@gmail.com \
    --cc=poppyer@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).