all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: running remember with emacsclient - how to get a new frame
Date: Thu, 06 Sep 2007 14:39:08 +0200	[thread overview]
Message-ID: <87642o55oz.fsf@baldur.tsdh.de> (raw)
In-Reply-To: 13256.1189076942@lap1.smtl.co.uk

pete phillips <pete@smtl.co.uk> writes:

Hi Pete,

> Is there anything I can pass to emacs using emacsclient which will force
> it to open up a new frame on my current desktop ?  (and preferably close
> the frame once I have hit ^C^C)

I think this should work.

(add-hook 'server-switch-hook 'make-frame)
(add-hook 'server-done-hook   'delete-frame)

Probably you need to `C-x #' in the new frame to close it.

Bye,
Tassilo
-- 
Fighting patents one by one  will never eliminate the danger of software
patents,  any  more than  swatting  mosquitoes  will eliminate  malaria.
(Richard M. Stallman)

  reply	other threads:[~2007-09-06 12:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 11:09 running remember with emacsclient - how to get a new frame pete phillips
2007-09-06 12:39 ` Tassilo Horn [this message]
2007-09-06 13:08 ` Jason F. McBrayer
2007-09-06 14:46   ` pete phillips
2007-09-06 21:30   ` Scott Jaderholm
2007-09-06 22:31     ` John Wiegley
2007-09-07  9:42     ` Jason F. McBrayer

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

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

  git send-email \
    --in-reply-to=87642o55oz.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.