From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Cannot run emacsclient in GUI Date: Thu, 05 Nov 2020 11:31:07 +0100 Message-ID: <87y2jgjdsk.fsf@gmail.com> References: <83k0v1azxe.fsf@gnu.org> <20201104161935.bawcnqbiu46wxhoe@Ergus> <83h7q5axet.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 05 11:32:15 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kacYx-000A7T-GX for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 11:32:15 +0100 Original-Received: from localhost ([::1]:41170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kacYw-00084z-JG for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 05:32:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kacYT-00084h-Hh for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 05:31:45 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kacYS-0004SQ-0o; Thu, 05 Nov 2020 05:31:45 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id x12so1115504wrm.8; Thu, 05 Nov 2020 02:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Yl8T2QDNAHmZNwVRQBbPXO7sWB6uPiq8zZLR+6e4vkI=; b=qQahZLgT+00j+vi2iewGY5KaZGHK51TUmJtM7Aa2PQHd5WXIChWTqcqu0ro+O0lX1r nneNf8cjqB23o9XNgiszL71FDE+zh/HT7kc7EeXMfzwW0AYkmTwH0Fc9ZxH17XooBFmb AlM3l7sB6U2EoQHinuHOJQOKmwbfQH8+iE5uhLlTY8fvHvh4dX1OhwzMOJgyD874P+Ph 8zfd6J1rHBSEBFiurPt8J1cH32EMsqfpawgC56GueO6GErjieX5Kmu6AO5gVoaImze3m B2N10SS163nQKOCO+SlpEOifhbSIVmU2Fhxjq+jjqcb+05oC/46sxZ+L119GASzymhpc zPtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Yl8T2QDNAHmZNwVRQBbPXO7sWB6uPiq8zZLR+6e4vkI=; b=qd6JjxsmbXsV7S/keP0Rt7Ze4JD31kBFFbjYiDaglJRMdUIXL7klW5eVlTB6Xf8fAm vIISwO+tdkF/EQ8+QiW7740hiwqVprTAjNfGfa9L0qfCrNfuoZCirxAwo5m5VlX8mB1H cNeSipTlg3w417OEAnco1KBSh7yoiYv4kI1LJRnbBOtAamLz6VhvCPEd4JUguG3niQYC kAD2jqVGjDRLracYHN/8HbOmBzMbl1WSFxYgqXrtweldkniH7+Ms8uG5PzB/1d7Op9lI IJBRngIF5mGX+JrkzLT5VYMd2e212iAh7+GnrnFym1YTzsgAAD1aH/1RFb5jZOxdW+1F ujFg== X-Gm-Message-State: AOAM533Osv5qBVLKwR244/cOdfuqEV2OgeZojYZ9nSJ5Q41kldF5B+qu VLUwqVXYsPET4JPzzAlKT0Qkh0uDEuU= X-Google-Smtp-Source: ABdhPJwrJPTPflKv3nDALfyEW6rBlusNxfDgFea+YVv13QfNyYQ8t/ekul5pGBIRK4ZgjtdsMRmYQQ== X-Received: by 2002:a5d:474f:: with SMTP id o15mr2087453wrs.100.1604572301254; Thu, 05 Nov 2020 02:31:41 -0800 (PST) Original-Received: from rltb (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id u15sm1858611wrm.77.2020.11.05.02.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 02:31:40 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83h7q5axet.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 Nov 2020 18:39:54 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125006 Archived-At: Eli Zaretskii writes: >> Date: Wed, 4 Nov 2020 17:19:35 +0100 >> From: Ergus >> Cc: help-gnu-emacs@gnu.org >>=20 >> I am interested in this question. >>=20 >> What's the right way to add a hook like this for emacsclient only? >>=20 >> I mean; does the emacsclient defines a variable to condition >> window-setup-hooks? Something like (if emacsclient ...)? or are there >> any emacsclient-hook? > > Your question is only tangentially relevant to the issue in this > thread. I think you want server-after-make-frame-hook. Although if you want faces to have different attributes based on whether you=CA=BCre using a gui or a tty frame, you can use the (type tty) selector in the value. Robert