From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.help Subject: Re: properly setting up ~/.emacs.d for daemon usage Date: Tue, 13 Dec 2016 20:53:53 -0200 Message-ID: References: <87eg1ew32r.fsf@wanadoo.es> <871sxdw48l.fsf@wanadoo.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481669990 1001 195.159.176.226 (13 Dec 2016 22:59:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 22:59:50 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , "help-gnu-emacs@gnu.org" To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 23:59:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGw2u-000749-B5 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 23:59:40 +0100 Original-Received: from localhost ([::1]:42552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGw2y-0004dD-B9 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 17:59:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGvyL-0006Tv-Uw for help-gnu-emacs@gnu.org; Tue, 13 Dec 2016 17:54:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGvyI-0007fo-Uu for help-gnu-emacs@gnu.org; Tue, 13 Dec 2016 17:54:58 -0500 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:35207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGvyI-0007fh-QH for help-gnu-emacs@gnu.org; Tue, 13 Dec 2016 17:54:54 -0500 Original-Received: by mail-io0-f171.google.com with SMTP id h30so10310072iod.2 for ; Tue, 13 Dec 2016 14:54:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=94b4lm/pDR388KmiLMVlyc+F2jZcIIRnhxZBMtVZm84=; b=OVKk47T4n0ShqP1194NuOH9ZftSbdMndMEQ0ULqMmIichfF2t+EyyPFQe7sIaAk01l mwdCSsHEc3nN8e6aVz2SKd6l6FfZtCpFKqOv4Qa7UW2c0hj5ptF0/dqSbF/G6DcxO0qC Qlh/5WWjvndZC6neinfDs2WF+BDY9un7Ol8jC5myrzEDZlqN+K7ICPkEdS7U/jOal2t4 JQ0rhdsGzC1QVZLtjNrow1ypQFQfo1jzOaZiedRUcXUsdXkXnRpxwS9cWTdHIwRuvZLD AuNPaGHLYmZGdCktVOEMKlsMvbYt+FTHD6YuHLCtEj9cG6rA2JaM8KrVRMdUalYE87wU 1Qqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=94b4lm/pDR388KmiLMVlyc+F2jZcIIRnhxZBMtVZm84=; b=lou3fqNioewzCCduZtYEKMZ4S8gDJgM1TddMfTneyLeZUCprb26FQRwUgzFnvE9ofL BndHgmUo7WAQ1mZ9cvFQHSZrSvCGHfLeKOgXnPg6zE+ba/qYJHcoLup7+LP4IphigZlU VEds3pdWd7EB1J4ZiiVGz7eBb5ua+AaFHRL1sZFi+NDMW4QUvYXiPEbR4yqj1x4H7FCA +nA49Suz5n3PX9tUBsHMqQi4PeuQB/7/kpoAXcEPGPyuSiwd4lxfYZIWOgNkZT6uUFLb EQo+MKSZUwRhXBYKkspio7qpdDwdqtUKI4j6MArhKrcLcTDpk4h47wmWanVjt9VN17dQ XcSg== X-Gm-Message-State: AKaTC00qCzasOZY0Lw9y65fmSkXS4LXIbDLG07HKqGm4cnGKXOufuiECd4TOkLJgtZhiYdq07RPiHXHxcvuMuA== X-Received: by 10.107.182.70 with SMTP id g67mr88803541iof.120.1481669633819; Tue, 13 Dec 2016 14:53:53 -0800 (PST) Original-Received: by 10.79.152.10 with HTTP; Tue, 13 Dec 2016 14:53:53 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.171 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111943 Archived-At: Is there a way to advice the daemon loading procedure that this daemon will be used solely for gui frames so for all intents and purposes, treat (display-graphic-p) and related functions as if a gui frame is available? On Tue, Dec 13, 2016 at 7:31 PM, Filipe Silva wrote: > Interestingly enough, (display-graphic-p) still does not work even if > called from inside a function added to the after-make-frame-functions lis= t. > > > I don't know what I can do here. So even this is not a work around. > > On Tue, Dec 13, 2016 at 9:07 AM, Yuri Khan wrote: > >> On Tue, Dec 13, 2016 at 1:47 AM, Filipe Silva >> wrote: >> >> > Hum. =C3=93scar and Yuri, would't place the load-theme call inside the >> > create-frame hook solve the problem? >> >> Work around the problem, yes. Solve the problem, no. >> > >