Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8459231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:16:51+00:00 2026-06-10T13:16:51+00:00

In emacs, is there an M-x command or key combo to render all current

  • 0

In emacs, is there an M-x command or key combo to render all current open buffers into different windows?
For clarity, let’s suppose I have four open buffers, and I am only seeing one currently being displayed, and I would like in one step to show each buffer in one quadrant.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:16:53+00:00Added an answer on June 10, 2026 at 1:16 pm

    You will be able to start with the following code if there is not an already-known way to do it:

    (defun buffer-in-window-list ()
      (let (buffers)
        (walk-windows (lambda (window) (push (window-buffer window) buffers)) t t)
        buffers))
    
    (defun display-all-buffers ()
      (interactive)
      (let (buffers-in-window (buffer-in-window-list))
        (dolist (buffer (buffer-list))
          (when (and (not (string-match "\\`[[:space:]]*\\*" (buffer-name buffer)))
                     (not (memq buffer buffers-in-window)))
            (set-window-buffer (split-window (get-largest-window)) buffer)))
        (balance-windows)))
    

    The display-all-buffers command opens a new window for each buffer that is not currently displayed anywhere (including other frames). For usability, it ignores buffers whose names start with * (optionally, prefixed with whitespace characters) because they are usually for internal use only.

    Note that Emacs does not allow a user to make too small a window. So, when there are too many buffers to display, the command will display as many buffers as possible in order of most recent display or selection and signal an error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to download all the Emacs packages from a repository like
Are there any mnemonics or patterns that make memorizing emacs key combos easier?
When I am debugging code in Emacs, I like to have two buffers open,
Is there an emacs command to show the difference between a buffer and its
Is there an easy way to use Emacs key-bindings when you are using a
I want to use Emacs for simple text annotation. Is there a command which
In GNU Emacs, is there a good way to change the comment-region command in
If I am in split-screen viewing 2 different buffers on Emacs and the cursor
There are a ton of ways to integrate Cygwin with Emacs on Windows. EmacsWiki
I want to have a make-shells command in emacs that will open a number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.