From: "Aaron Jensen" <aaronjensen@gmail.com>
To: <22993@debbugs.gnu.org>
Subject: bug#22993: Potential fix/workaround for 22993
Date: Thu, 16 Jun 2016 06:47:59 -0700 [thread overview]
Message-ID: <5762ade047eb810000bd1d32@polymail.io> (raw)
In-Reply-To: <m2twgutckz.fsf@idiocy.org>
[-- Attachment #1.1: Type: text/plain, Size: 1724 bytes --]
I believe my first suggestion was incorrect, I apologize. This should do it:
nextstep/templates/Info.plist.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in
index dcd2fe3..6f56939 100644
--- a/nextstep/templates/Info.plist.in
+++ b/nextstep/templates/Info.plist.in
@@ -675,5 +675,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
</array>
<key>NSAppleScriptEnabled</key>
<string>YES</string>
+ <key>LSAppNapIsDisabled</key>
+ <true/>
</dict>
</plist>
https://gist.github.com/aaronjensen/d81d94c116549d0893ba4bc637149550
https://gist.github.com/aaronjensen/d81d94c116549d0893ba4bc637149550
Aaron
Aaron
On Wed, Jun 15, 2016 at 1:35 PM Alan Third
<
mailto:Alan Third <alan@idiocy.org>
> wrote:
"Aaron Jensen" <
mailto:aaronjensen@gmail.com
> writes:
> There are at least two ways to fix this, one is to disable app nap
> entirely. You can add this to Info.plist.in:
>
> +
LSAppNapIsDisabled
> +
True
Are you able to provide a patch for this? I've tried but it doesn't seem
to make any difference, so I expect I'm doing something wrong.
> The other would be to somehow cause the app to “wake up” whenever the
> tty client is used as well. I’m not sure how to do that, it may be
> trickier.
To my mind this would be preferable, as it means we could take advantage
of any power-saving features AppNap provides without causing performance
problems. I can't see anything anywhere about how to do it, though, so
perhaps it's impossible.
--
Alan Third
[-- Attachment #1.2: Type: text/html, Size: 2520 bytes --]
next prev parent reply other threads:[~2016-06-16 13:47 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 [this message]
[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
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=5762ade047eb810000bd1d32@polymail.io \
--to=aaronjensen@gmail.com \
--cc=22993@debbugs.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 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).