all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Matthias Pfeifer <mpfeifer77@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: Is a method like this already in emacs?
Date: Tue, 5 Nov 2013 05:37:31 -0800 (PST)	[thread overview]
Message-ID: <c63472fa-0263-4a6a-bcc1-1e666db16b97@default> (raw)
In-Reply-To: <CAPzsW6iPC=K8Sx5CG41C+KqoDLHzu9zahB=U5LVQPPYW-dE77w@mail.gmail.com>

> now i wonder if a function that does the same is already available
> somewhere in emacs?

Yes, there is a similar command already: `mouse-tear-off-window'.
I bind it to `C-mouse-1' on the mode line:

 (global-set-key [mode-line C-mouse-1] 'mouse-tear-off-window)

Click `C-mouse-1' anywhere on the mode line of the window you want
to tear off into another frame.

Doc string: "Delete the window clicked on, and create a new frame
displaying its buffer."



  reply	other threads:[~2013-11-05 13:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05  8:32 Is a method like this already in emacs? Matthias Pfeifer
2013-11-05 13:37 ` Drew Adams [this message]
     [not found] <mailman.5330.1383640330.10748.help-gnu-emacs@gnu.org>
2013-11-05 10:23 ` Damien Wyart
2013-11-05 19:21   ` Pascal J. Bourguignon
2013-11-05 19:22     ` Pascal J. Bourguignon
2013-11-05 10:35 ` WJ
2013-11-05 16:27 ` Emanuel Berg

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=c63472fa-0263-4a6a-bcc1-1e666db16b97@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mpfeifer77@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.
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.