From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 17:31:14 2017 Received: (at submit) by debbugs.gnu.org; 12 Oct 2017 21:31:14 +0000 Received: from localhost ([127.0.0.1]:36431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2l4U-0005HT-A4 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 17:31:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2l4S-0005HE-RK for submit@debbugs.gnu.org; Thu, 12 Oct 2017 17:31:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2l4M-00064f-Gc for submit@debbugs.gnu.org; Thu, 12 Oct 2017 17:31:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FREEMAIL_REPLY,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e2l4M-00064Q-CY for submit@debbugs.gnu.org; Thu, 12 Oct 2017 17:31:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2l4K-0007Oh-U4 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 17:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2l4J-0005y9-9l for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 17:31:04 -0400 Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:55102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2l4J-0005xO-5S for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 17:31:03 -0400 Received: by mail-qt0-x232.google.com with SMTP id z19so16191264qtg.11 for ; Thu, 12 Oct 2017 14:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=N/tYKECbkJm9Mb0Uk2up3RtpB+Bd6DVYbcDbHl0ib1g=; b=UaYoyS6KDFLWXjhMkMSLqEHoLc3nnUSYn92K/kRJPqRLch4Enb6j+8OOt/pDF+rBMQ vz43Ia39KpJbpJDs1H8YJybKVIMHP3WZJpHSyvzNJvubACTBL8ib9VFYnvLnoQhEXUPt 0zaYoYm6k31gevKAsDeBDtW/al+R83Xza5BdJXWdkLDTDy/zIfNoGhYZGAn12Xpo0M07 L8oovf5zDk4rCS2E50LjJpTGTfYZqWJrV3KNLduCG5SLXdVk89mbNk5E73HBygCvhh+N 8NurQdr+JeUQxAIUU/d/uqDgcuZxY3Of7FqWfNZXaJs9GW1vl5VZ5SrElu8emcmrwrys Ca5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=N/tYKECbkJm9Mb0Uk2up3RtpB+Bd6DVYbcDbHl0ib1g=; b=UA3f8YI/9s7hn/15g3OnwX3VcFawiUzjnMATlRst/b3lSCMiOCLSSJKQ1JVNhL9O4Y fxkEq2K3YhtZ4gWfLEPsgiT6scMfC3dYu1G4p+xd9za2CMhtLDd6qaEfABxe3Foexs9w tpjGfPsdukZSDdonDAeoTrmqx835oLtDIb9KMFEXqYqYwBmxk5fy95KKDfhJeThh5IZO YOSHTXh5va+S56RIzpukRcsC4uuNm3I27JF7nYPAwgiQOMsBUiBnObZ8AcSDGS7ay6Hp bklG0VpoM93mYl1udAZV29EPRS5isk6c6lTq8bNWUvqLtMPuuZOJkDy2EQiOqzRW4uma xh+A== X-Gm-Message-State: AMCzsaViuRnmpkqXIM7VTpi+a2X6m1vViSi9RDrK4OIBzdc3z03BHvPJ ENVJb9AovkzLqcio1kGBsvo+nUgr/JgsZjm0ltY= X-Google-Smtp-Source: AOwi7QBVQtUeMr18VlVONHRj4bbSyJ9U0n5x3GckxwOOej23YsGoVZ9nqfBRRSeBOa789FeUxT62O/Mfpfg1jOpAsv8= X-Received: by 10.37.160.203 with SMTP id i11mr2691483ybm.464.1507843862155; Thu, 12 Oct 2017 14:31:02 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 12 Oct 2017 21:30:51 +0000 Message-ID: Subject: 26.0.90; Document after-make-frame-functions, focus-in-hook in Startup Summary node To: "bug-gnu-emacs@gnu.org" Content-Type: multipart/alternative; boundary="089e0828e200c7d91d055b604185" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit Cc: Rob Davenport X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e0828e200c7d91d055b604185 Content-Type: text/plain; charset="UTF-8" X-Debbugs-CC: rob.davenport@gmail.com, eliz@gnu.org Hello Eli, I had a long conversation with you in May 2016[1] about understanding the best place/hook for graphics related setup (like fonts) in emacs config, when running emacsclient. As I later learned in that conversation, neither after-init-hook nor emacs-startup-hook were the right place for that. after-make-frame-functions was also not good unless the frame is selected (which is not the case in emacsclient/daemon). So focus-in-hook turned out to be the best place were I can check if a certain font was available etc. I have read through (elisp) Startup Summary, but it does not reference after-make-frame-functions and its caveat with emacsclient. It also does not reference focus-in-hook. I believe having that information in that section will be very valuable to other users using emacsclient in GUI frame. Copying Rob on this as he had a similar question he asked me off the list. [1]: http://lists.gnu.org/archive/html/help-gnu-emacs/2016-05/msg00148.html In GNU Emacs 26.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-10-12 Repository revision: 413978727c9fb1d26b64e81412434064d99ec568 Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) -- Kaushal Modi --089e0828e200c7d91d055b604185 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0
Hello Eli,

I had a long con= versation with you in May 2016[1] about understanding the best place/hook f= or graphics related setup (like fonts) in emacs config, when running emacsc= lient.

As I later learned in that conversation, ne= ither after-init-hook nor emacs-startup-hook were the right place for that.= after-make-frame-functions was also not good unless the frame is selected = (which is not the case in emacsclient/daemon). So focus-in-hook turned out = to be the best place were I can check if a certain font was available etc.<= /div>

I have read through (elisp) Startup Summary, but i= t does not reference after-make-frame-functions and its caveat with emacscl= ient. It also does not reference focus-in-hook.

I = believe having that information in that section will be very valuable to ot= her users using emacsclient in GUI frame.

Copying = Rob on this as he had a similar question he asked me off the list.



= In GNU Emacs 26.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.23)
=C2=A0of 2017-10-12
Repository revision: 413978727c9fb1d= 26b64e81412434064d99ec568
Windowing system distributor 'The X= .Org Foundation', version 11.0.60900000
System Description: Red Hat Enterprise Linux Workstation = release 6.6 (Santiago)

--

Kaushal Modi

--089e0828e200c7d91d055b604185-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 13 04:41:12 2017 Received: (at 28801) by debbugs.gnu.org; 13 Oct 2017 08:41:13 +0000 Received: from localhost ([127.0.0.1]:36835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vWq-0006pP-Ns for submit@debbugs.gnu.org; Fri, 13 Oct 2017 04:41:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2vWo-0006pB-Mx for 28801@debbugs.gnu.org; Fri, 13 Oct 2017 04:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2vWi-0006Dd-NH for 28801@debbugs.gnu.org; Fri, 13 Oct 2017 04:41:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vWb-0006Al-Ff; Fri, 13 Oct 2017 04:40:57 -0400 Received: from [176.228.60.248] (port=1255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2vWa-000068-Sp; Fri, 13 Oct 2017 04:40:57 -0400 Date: Fri, 13 Oct 2017 11:40:48 +0300 Message-Id: <831sm7l9tb.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 12 Oct 2017 21:30:51 +0000) Subject: Re: bug#28801: 26.0.90; Document after-make-frame-functions, focus-in-hook in Startup Summary node References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28801 Cc: rob.davenport@gmail.com, 28801@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Cc: Rob Davenport , rob.davenport@gmail.com, eliz@gnu.org > From: Kaushal Modi > Date: Thu, 12 Oct 2017 21:30:51 +0000 > > I have read through (elisp) Startup Summary, but it does not reference after-make-frame-functions and its > caveat with emacsclient. It also does not reference focus-in-hook. > > I believe having that information in that section will be very valuable to other users using emacsclient in GUI > frame. These hooks are not related to startup, so I don't see why they should be described in that section. They would be out of place there, and the resulting discoverability will be low. There is a separate section that describes all of the hooks, and I usually look there when I need some hook, but don't know which one to use. There could be a place for a new section in the Emacs manual regarding customizations for people who start Emacs as a daemon. Patches to that effect are welcome from people who have experience using and customizing Emacs in that mode. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 12 16:31:43 2019 Received: (at 28801) by debbugs.gnu.org; 12 Oct 2019 20:31:43 +0000 Received: from localhost ([127.0.0.1]:34297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJO3D-0007Ka-19 for submit@debbugs.gnu.org; Sat, 12 Oct 2019 16:31:43 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJO39-0007H9-EP for 28801@debbugs.gnu.org; Sat, 12 Oct 2019 16:31:41 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJO36-000867-7n; Sat, 12 Oct 2019 22:31:38 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#28801: 26.0.90; Document after-make-frame-functions, focus-in-hook in Startup Summary node References: <831sm7l9tb.fsf@gnu.org> Date: Sat, 12 Oct 2019 22:31:35 +0200 In-Reply-To: <831sm7l9tb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Oct 2017 11:40:48 +0300") Message-ID: <877e59k8ns.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> I have read through (elisp) Startup Summary, but it does not >> reference after-make-frame-functions and its >> caveat with emacsclient. It also does not reference focus-in-hook. >> >> I believe ha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28801 Cc: rob.davenport@gmail.com, 28801@debbugs.gnu.org, Kaushal Modi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> I have read through (elisp) Startup Summary, but it does not >> reference after-make-frame-functions and its >> caveat with emacsclient. It also does not reference focus-in-hook. >> >> I believe having that information in that section will be very >> valuable to other users using emacsclient in GUI >> frame. > > These hooks are not related to startup, so I don't see why they should > be described in that section. They would be out of place there, and > the resulting discoverability will be low. > > There is a separate section that describes all of the hooks, and I > usually look there when I need some hook, but don't know which one to > use. And those hooks are mentioned in that node, so I don't think there's anything to fix here. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 12 16:31:48 2019 Received: (at control) by debbugs.gnu.org; 12 Oct 2019 20:31:48 +0000 Received: from localhost ([127.0.0.1]:34300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJO3I-0007PK-L0 for submit@debbugs.gnu.org; Sat, 12 Oct 2019 16:31:48 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJO3H-0007Nr-BP for control@debbugs.gnu.org; Sat, 12 Oct 2019 16:31:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJO3E-00086H-Ku for control@debbugs.gnu.org; Sat, 12 Oct 2019 22:31:46 +0200 Date: Sat, 12 Oct 2019 22:31:44 +0200 Message-Id: <875zktk8nj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28801 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 28801 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 28801 quit From unknown Mon Aug 18 06:58:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Nov 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator