From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Pfeifer Newsgroups: gmane.emacs.help Subject: Is a method like this already in emacs? Date: Tue, 5 Nov 2013 09:32:06 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1383640330 28203 80.91.229.3 (5 Nov 2013 08:32:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 08:32:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 05 09:32:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vdc3e-00048N-Of for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 09:32:18 +0100 Original-Received: from localhost ([::1]:53886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdc3e-0002IB-9G for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 03:32:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdc3U-0002I2-LO for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 03:32:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdc3T-0006K3-Ib for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 03:32:08 -0500 Original-Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:38596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdc3T-0006Jf-Ci for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 03:32:07 -0500 Original-Received: by mail-we0-f170.google.com with SMTP id u57so3165514wes.15 for ; Tue, 05 Nov 2013 00:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zcYXgf1gezIAsjwMi+BIxUb0kH3rA8lqaEFG0zXRFwU=; b=BVxvLBaPBr17T4J7LCRYsL62ul6snhYloAJfUMbPs0gLVABWfieFiwPvzXPbm5m0D0 B5qUr6OFEMzohHUlK16wNRfdNa6EC2EfIkDjLv/grL3Fl1AojNh33vekBmBPPI+aZWwB YDLlfM2NmgGvS3qk5P3V37oiHEM/wfA/dEtzCalcvIyKgCruNQtMSICsD45YZ4zu88hu ZxAZU+QE0sgU4b5IRNavZiJmFKlxWj6rrAg7MbSkThxPEE1KOQaeUsZxh0OF9wzV5UXS /IGk9RXxqJTH69XhK94or7q/OLDY3m8041KllXT6qBis9S8QoJ3F4c4RoiE6311qSHi4 IhXg== X-Received: by 10.180.36.80 with SMTP id o16mr15785227wij.1.1383640326055; Tue, 05 Nov 2013 00:32:06 -0800 (PST) Original-Received: by 10.216.64.67 with HTTP; Tue, 5 Nov 2013 00:32:06 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22a X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94340 Archived-At: 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