From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aaron Jensen" Newsgroups: gmane.emacs.bugs Subject: bug#22993: Potential fix/workaround for 22993 Date: Thu, 16 Jun 2016 06:47:59 -0700 Message-ID: <5762ade047eb810000bd1d32@polymail.io> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=b9ff338a6c11375a4f10a3503a99f0516bb275ad600fde05ef24d780ce99 X-Trace: ger.gmane.org 1466084967 15727 80.91.229.3 (16 Jun 2016 13:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2016 13:49:27 +0000 (UTC) To: <22993@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 16 15:49:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bDXfX-0006uO-8j for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2016 15:49:15 +0200 Original-Received: from localhost ([::1]:49495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDXfW-00053i-Bb for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2016 09:49:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDXfN-000539-QN for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 09:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDXfK-0004IP-JC for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 09:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDXfK-0004I3-Dy for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 09:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bDXfK-0003iH-98 for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 09:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Aaron Jensen" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2016 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 22993-submit@debbugs.gnu.org id=B22993.146608489914216 (code B ref 22993); Thu, 16 Jun 2016 13:49:02 +0000 Original-Received: (at 22993) by debbugs.gnu.org; 16 Jun 2016 13:48:19 +0000 Original-Received: from localhost ([127.0.0.1]:43009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDXec-0003hC-PA for submit@debbugs.gnu.org; Thu, 16 Jun 2016 09:48:19 -0400 Original-Received: from mail-qk0-f178.google.com ([209.85.220.178]:36692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDXeZ-0003gx-Eb for 22993@debbugs.gnu.org; Thu, 16 Jun 2016 09:48:17 -0400 Original-Received: by mail-qk0-f178.google.com with SMTP id p10so53273311qke.3 for <22993@debbugs.gnu.org>; Thu, 16 Jun 2016 06:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:references:from:date:in-reply-to:message-id:mime-version; bh=faHrs6+lkdBfmZkD4RV8xfdl2CVV7skbkp28oi0pWm0=; b=vW+u6zVEY2fOAXN+l5xtGkLynTh6OAgkX0RZOAI23yFqbVeRoJWrAD5wD4OA0cedrH 8wVNl5naiYX41+IUkrKWjqbdxyEmMbhUEYoZy4cgYzGrRnuOkABu7P6NMf1ktMPhwZyk mZ43GF1c9m03tbukFRTKnlnGQg1nTXXYsZApGh9jSko6Pr5j7Ya6ePQCnKzosGO1o9Rf so9VGp2hlgGJhm1GxrOly4aHJ+AHuNG69QLq/opAlxH93AL+V58CbbyD3dVj69xjGoPW uycSWdxO3uWsj2vpmKai/4uhoS6LOzLnD5g5je5ZuHCabMy3bYhcJr6+id2VClH8qPCL G0ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:from:date:in-reply-to :message-id:mime-version; bh=faHrs6+lkdBfmZkD4RV8xfdl2CVV7skbkp28oi0pWm0=; b=JU0SZfwmDJbq4esAJ7LFcV3PRsFLkyeyKnCoyZCOhPw1wyws377F0XwcQpDHC+HNaS JzomwjR/eI4wOwYykp+UalFB2toMrcjgvXQhL7UfpetIhTWNEezkm87BO22QnR5MPGZn 7RIE1TJqcBisd/EG4w85WvDgL/wLhnjSS3tWh73Lr5onDvtoNlIv7zFFE41FYIAvVvS6 ju0if5Gau80PPE2ebNT9+znQnwP5Oq9K3ISWQwRdyKLt8Hj2c09Z8XL8ySP1viXQJLzZ 6UhFtBKlizj7vHoRauY2oQyFNxW3f7HlhzA6Ks5WScRK4PX9RKa5A91uBVKWUUxGOTO0 c4Yg== X-Gm-Message-State: ALyK8tITOsgCchWjRral7dn9Sw4AM721SX5myGIe9whrlMDOz1k5TWsLX1qFM3DxBROcdA== X-Received: by 10.55.114.71 with SMTP id n68mr5106443qkc.37.1466084889862; Thu, 16 Jun 2016 06:48:09 -0700 (PDT) Original-Received: from localhost (ec2-54-221-158-153.compute-1.amazonaws.com. [54.221.158.153]) by smtp.gmail.com with ESMTPSA id j62sm5082317qge.0.2016.06.16.06.48.08 for <22993@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2016 06:48:08 -0700 (PDT) In-Reply-To: X-Mailer: Polymail X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119623 Archived-At: --b9ff338a6c11375a4f10a3503a99f0516bb275ad600fde05ef24d780ce99 Content-Type: multipart/alternative; boundary=4c03d4668b46f888dc2b84e443ebdd67b30838e4d5ff3ae5e37c33089993 --4c03d4668b46f888dc2b84e443ebdd67b30838e4d5ff3ae5e37c33089993 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I believe my first suggestion was incorrect, I apologize. This should do it= : =C2=A0nextstep/templates/Info.plist.in | 2 ++ =C2=A01 file changed, 2 insertions(+) diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.pli= st.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. =C2=A0If not, see . =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 NSAppleScriptEnabled =C2=A0 =C2=A0 =C2=A0 =C2=A0 YES + =C2=A0 =C2=A0 =C2=A0 LSAppNapIsDisabled + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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 > 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 =E2=80=9Cwake up=E2=80=9D = whenever the > tty client is used as well. I=E2=80=99m not sure how to do that, it may b= e > 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 --4c03d4668b46f888dc2b84e443ebdd67b30838e4d5ff3ae5e37c33089993 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 SSBiZWxpZXZlIG15IGZpcnN0IHN1Z2dlc3Rpb24gd2FzIGluY29ycmVjdCwgSSBhcG9sb2dpemUu IFRoaXMgc2hvdWxkIGRvIGl0OjxkaXY+PGJyPjwvZGl2PjxkaXY+PGRpdj4mbmJzcDtuZXh0c3Rl cC90ZW1wbGF0ZXMvSW5mby5wbGlzdC5pbiB8IDIgKys8L2Rpdj48ZGl2PiZuYnNwOzEgZmlsZSBj aGFuZ2VkLCAyIGluc2VydGlvbnMoKyk8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PmRpZmYgLS1n aXQgYS9uZXh0c3RlcC90ZW1wbGF0ZXMvSW5mby5wbGlzdC5pbiBiL25leHRzdGVwL3RlbXBsYXRl cy9JbmZvLnBsaXN0LmluPC9kaXY+PGRpdj5pbmRleCBkY2QyZmUzLi42ZjU2OTM5IDEwMDY0NDwv ZGl2PjxkaXY+LS0tIGEvbmV4dHN0ZXAvdGVtcGxhdGVzL0luZm8ucGxpc3QuaW48L2Rpdj48ZGl2 PisrKyBiL25leHRzdGVwL3RlbXBsYXRlcy9JbmZvLnBsaXN0LmluPC9kaXY+PGRpdj5AQCAtNjc1 LDUgKzY3NSw3IEBAIGFsb25nIHdpdGggR05VIEVtYWNzLiAmbmJzcDtJZiBub3QsIHNlZSAmbHQ7 aHR0cDovL3d3dy5nbnUub3JnL2xpY2Vuc2VzLyZndDsuPC9kaXY+PGRpdj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