From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Savonichev Newsgroups: gmane.emacs.help Subject: Re: Emacsclient does not raise frame Date: Wed, 3 Jan 2018 14:55:00 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1514980432 19392 195.159.176.226 (3 Jan 2018 11:53:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2018 11:53:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rusi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 03 12:53:48 2018 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 1eWhcA-0004ac-Kr for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jan 2018 12:53:46 +0100 Original-Received: from localhost ([::1]:49938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWhe7-0005M0-Td for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jan 2018 06:55:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWhdU-0005Jy-8r for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 06:55:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWhdO-0003Ws-R3 for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 06:55:08 -0500 Original-Received: from mail-yb0-x230.google.com ([2607:f8b0:4002:c09::230]:42836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWhdO-0003WX-MN for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 06:55:02 -0500 Original-Received: by mail-yb0-x230.google.com with SMTP id q3so483410ybg.9 for ; Wed, 03 Jan 2018 03:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qElBkFIoZPpe6jNiX4ppOGAnWqn+VYXf+OazXa0Cm6s=; b=hR6FZQNCsbmkWEld4VOueoVMcqM17Moqx01ngT2FrJ2bIXWra5UueOejWJ+ac9kuVh 13c/rA/VDrmKvRdgHyN3Gi2MVxJrf3ctaXkJzqiQeQgKREeOq/BNzrC3cRm27kb1iBwa dA8lqTr/MmiPxctWiWtHtkRYQM909THsYRCGMuU1ufdnEM0oU6XG0OS0fwgZKmPZn2bH 4Qt/75j+rBbC3xQNumEgH0WacZ5Wn5izNwXdbn+OE7za1UpveR5fpapaXr/Hl1P3UHPN ZBQiV/klQXirChCVyk+cAkg1Ew4Kj/2dsF+140lO1GZCpa3uMBJ35mxFeTuB9Og/hVrT Iokw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qElBkFIoZPpe6jNiX4ppOGAnWqn+VYXf+OazXa0Cm6s=; b=W+uLcrIDmgwn1UBn2ANavLT5RsXUukZZ7zPXFlA8HhhP2zadSptLRdnojusO6UEuoA MP9dcm6gSUNgSuDcmKkMKFCGrrSxkaMozgq3jY8Ez3Bf/CbTLh7evdTVGbv2uEED0mZ3 IETqrHNAwc9GDaSOKgvaIyLd/RP7aEM4mSoicA4vU/3W/itW+TLTPKsLD0DN15KUmmJN W1NhOjcKsJcF/pTNmvMStmHH9aoJ/trXQB0nQs7YkKIPaGeqFw7yPzpH2Ip8lLLQ3K5r VBApOnDLanDrQSP3XrxgkXOKQ52ubiykSQg7w5xwYJSRsX9OvwU6hgisJablF5UZ6YJS 1H8w== X-Gm-Message-State: AKGB3mIPVpffrgPz647tmynYRFNzepn83Njd7sqIvt6ZYgCPWjyBPvmH XHUpwKAfZy4M1S4A0OjKMdt/u4JfIL7IJwaOwac= X-Google-Smtp-Source: ACJfBotb0MxVMF/zvsJSKTOyzqymP16Iicske6prWrTE1hc+n0RS77/Ms/A4ei4voSxrJbuOGtT/x/Fa1HC6CNZw8sI= X-Received: by 10.37.220.134 with SMTP id y128mr1046542ybe.61.1514980501674; Wed, 03 Jan 2018 03:55:01 -0800 (PST) Original-Received: by 10.129.183.16 with HTTP; Wed, 3 Jan 2018 03:55:00 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::230 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:115544 Archived-At: Hi Rusi, > Because currently if > - emacs is started as --daemon > - emacsclient is started without -c > > It tries to open non-GUI emacs So your problem is that if no emacs frame is running, emacsclient without '-c' creates a new terminal frame instead of a new GUI frame? In this case, I don't know any built-in way to do this without going into elisp hacking around `frame-list', `frame-parameters' and `make-frame-on-display'. > Ive managed to get firefox to call emacs(client) and save > links+description(title)+selection(in firefox; optional) into an org mode capture buffer. Can you share the solution for Firefox? - Andrew