all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is a method like this already in emacs?
@ 2013-11-05  8:32 Matthias Pfeifer
  2013-11-05 13:37 ` Drew Adams
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Pfeifer @ 2013-11-05  8:32 UTC (permalink / raw)
  To: help-gnu-emacs

Dear list,

i recently added this defun to my init.el

(defun detach-window ()
  "Close current window and re-open it in new frame."
  (interactive)
  (let ((currentBuffer (window-buffer)))
    (progn
      (delete-window)
      (select-frame (make-frame))
      (set-window-buffer (selected-window) currentBuffer))))

and found it to be useful in several situations. now i wonder if a function
that does the same is already available somewhere in emacs? Also i am
curious about emacs lisp and could not successfully google for a related
mailing-list - now i wonder if somebody knows about one and shares the
knowledge.

Thanks in advance.
Matthias


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.5330.1383640330.10748.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2013-11-05 19:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05  8:32 Is a method like this already in emacs? Matthias Pfeifer
2013-11-05 13:37 ` Drew Adams
     [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

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.