[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Get buffer unto a new frame
From: |
Christopher Dimech |
Subject: |
Re: Get buffer unto a new frame |
Date: |
Fri, 18 Aug 2023 12:56:07 +0200 |
> Sent: Friday, August 18, 2023 at 9:59 PM
> From: "Heime" <heimeborgia@protonmail.com>
> To: "Heime via Users list for the GNU Emacs text editor"
> <help-gnu-emacs@gnu.org>
> Subject: Get buffer unto a new frame
>
> How can I have a buffer taken out from a frame and make a new frame
> using elisp code ?
(defun detach-window ()
"Sends the selected window to a new frame."
(interactive)
(let* ( (window (selected-window))
(buf (window-buffer window))
(frame (make-frame)) )
(select-frame frame)
(switch-to-buffer buf)
(delete-window window)))
----- Christopher Dimech
Administrator General - Naiad Informatics - Gnu Project
Society has become too quick to pass judgement and declare someone
Persona Non-Grata, the most extreme form of censure a country can
bestow.
In a new era of destructive authoritarianism, I support Richard
Stallman. Times of great crisis are also times of great
opportunity. I call upon you to make this struggle yours as well !
https://stallmansupport.org/
https://www.fsf.org/ https://www.gnu.org
- Get buffer unto a new frame, Heime, 2023/08/18
- Re: Get buffer unto a new frame,
Christopher Dimech <=
- Re: Get buffer unto a new frame, Yuri Khan, 2023/08/18
- Re: Get buffer unto a new frame, Heime, 2023/08/18
- Re: Get buffer unto a new frame, PierGianLuca, 2023/08/18
- Re: Get buffer unto a new frame, Heime, 2023/08/18
- RE: [External] : Re: Get buffer unto a new frame, Drew Adams, 2023/08/18
- Re: Get buffer unto a new frame, PierGianLuca, 2023/08/18
- Re: Get buffer unto a new frame, Yuri Khan, 2023/08/18
Re: Get buffer unto a new frame, tpeplt, 2023/08/24