unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: floriansbriefe@gmail.com, emacs-devel@gnu.org
Subject: Re: frame.el: call before-make-frame-hook earlier in make-frame
Date: Mon, 03 Aug 2015 17:57:22 +0300	[thread overview]
Message-ID: <83d1z4v2r1.fsf@gnu.org> (raw)
In-Reply-To: <55BF4566.8060507@gmx.at>

> Date: Mon, 03 Aug 2015 12:41:42 +0200
> From: martin rudalics <rudalics@gmx.at>
> 
>  > So, according to your advice I wrote my own 'make-frame-command' function that
>  > is now bound to the normal 'C-x 5 2' key-sequence and calls make-frame with
>  > dynamic parameters to place the window under the mouse cursor. That works quite
>  > ok. But this is not the only way I create additional frames. The other way I
>  > open new frames is by using emacsclient. How could I let emacsclient create the
>  > new frame using my own version of make-frame-command?
> 
> My knowledge of emacsclient is very limited.  And the fairly recent
> introduction of `gui-method' has limited my knowledge of how frames are
> created even more.  Hopefully someone else can give you an advice on how
> to do what you want.

emacsclient supports --eval, perhaps that could serve as a starting
point.



  reply	other threads:[~2015-08-03 14:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 11:00 frame.el: call before-make-frame-hook earlier in make-frame Florian
2015-07-30 15:34 ` Stephen Leake
2015-07-31  7:09 ` martin rudalics
2015-07-31  7:40   ` floriansbriefe
2015-07-31  9:55     ` martin rudalics
2015-07-31 10:38       ` floriansbriefe
2015-08-01 10:50         ` martin rudalics
2015-08-03  9:16         ` Florian
2015-08-03 10:41           ` martin rudalics
2015-08-03 14:57             ` Eli Zaretskii [this message]
2015-08-03 21:14             ` Stefan Monnier

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=83d1z4v2r1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=floriansbriefe@gmail.com \
    --cc=rudalics@gmx.at \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).