unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrew Savonichev <andrew.savonichev@gmail.com>
To: Rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacsclient does not raise frame
Date: Wed, 3 Jan 2018 14:55:00 +0300	[thread overview]
Message-ID: <CAL53kkJ=4yHJ8ynNF+iwmnB0EeS=fq8AqARkd0gerwYWNETf+Q@mail.gmail.com> (raw)
In-Reply-To: <c3728956-7d6d-46f5-b243-f03c128937f2@googlegroups.com>

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



  reply	other threads:[~2018-01-03 11:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-31 15:33 Emacsclient does not raise frame Rusi
2018-01-01  4:05 ` Rusi
2018-01-03 11:55   ` Andrew Savonichev [this message]
     [not found]   ` <mailman.6761.1514980510.27995.help-gnu-emacs@gnu.org>
2018-01-03 12:13     ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL53kkJ=4yHJ8ynNF+iwmnB0EeS=fq8AqARkd0gerwYWNETf+Q@mail.gmail.com' \
    --to=andrew.savonichev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).