From: Alan Third <alan@idiocy.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 22993@debbugs.gnu.org
Subject: bug#22993: Potential fix/workaround for 22993
Date: Sun, 10 Jul 2016 10:53:32 +0100 [thread overview]
Message-ID: <20160710095332.GA35411@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAHyO48wzPgbKcVKSpe-c8gQwi=18DY4+ghExFR5gZw-0uVq8Tg@mail.gmail.com>
On Fri, Jul 08, 2016 at 05:29:26AM +0000, Aaron Jensen wrote:
> On Thu, Jul 7, 2016 at 12:58 PM Alan Third <alan@idiocy.org> wrote:
>
> > Unfortunately I can't quite work out what they're doing. That
> > QSettings thing is specific to QT, as far as I can tell. There must be
> > a Cocoa equivalent, but I don't know what it is.
> >
>
> I believe it’s this:
>
> CFDictionarySetValue(infoDict, CFSTR(“NSAppSleepDisabled"),
> kCFBooleanTrue);
>
> via
> https://github.com/salamanderrake/KDevelop/blob/0e9822520dde913e177d00ed964e07e73fb7f936/app/main.cpp#L194
>
>
> <https://github.com/salamanderrake/KDevelop/blob/0e9822520dde913e177d00ed964e07e73fb7f936/app/main.cpp#L194>
I've reverted the change, but I'm not keen to make the above changes
because they're not trivial, I don't understand them, and I would
basically be copying and pasting code. I suspect we could have license
issues with that. If anyone knows different feel free to chime in.
For future reference, here are the known work-arounds for this problem:
1. At the command prompt: defaults write org.gnu.Emacs NSAppSleepDisabled -bool YES
2. Right-click on the Emacs icon and select 'get info' and tick the
'Disable App Nap' checkbox. (Although I don't get that tick box...)
3. Run in daemon mode: Emacs as a daemon has no GUI so app nap
is disabled automatically.
--
Alan Third
next prev parent reply other threads:[~2016-07-10 9:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 6:07 bug#22993: 25.0.92; OS X app nap slows down tty emacsclient Aaron Jensen
2016-03-12 8:03 ` bug#22993: Potential fix/workaround for 22993 Aaron Jensen
2016-06-10 18:40 ` Alan Third
2016-06-11 15:51 ` Aaron Jensen
2016-06-11 16:19 ` Alan Third
2016-06-11 16:23 ` Aaron Jensen
2016-06-15 20:35 ` Alan Third
2016-06-16 13:47 ` Aaron Jensen
[not found] ` <57629b7f841b1a0000aa4164@polymail.io>
2016-07-03 9:19 ` Alan Third
2016-07-03 17:23 ` Aaron Jensen
2016-07-07 18:55 ` Alan Third
2016-07-07 19:08 ` Aaron Jensen
2016-07-07 19:09 ` Aaron Jensen
2016-07-07 19:57 ` Alan Third
2016-07-08 5:29 ` Aaron Jensen
2016-07-10 9:53 ` Alan Third [this message]
2016-07-10 15:38 ` Aaron Jensen
2016-07-10 16:11 ` Alan Third
2021-07-01 20:47 ` Alan Third
2021-07-02 17:43 ` Aaron Jensen
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=20160710095332.GA35411@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=22993@debbugs.gnu.org \
--cc=aaronjensen@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).