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

  • Home
  • SEARCH
  • 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 395813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:29:27+00:00 2026-05-12T16:29:27+00:00

So I generally have 3 buffers open in Emacs. One buffer for the actual

  • 0

So I generally have 3 buffers open in Emacs.

  1. One buffer for the actual code I am writing.
  2. One buffer for the unit test for said code.
  3. A third buffer that displays the results of the unit test. This buffer comes into being
    below the two other buffers when I run my unit test C-x SPACE.

How do I disable this third buffer such that when I press C-x o I am only switching between buffer 1 and buffer 2? Currently, I switch between buffer 1, then buffer 2, then buffer 3, then buffer 1, etc. To be specific, I want C-x o to only switch between buffer 1 and 2.

Thank you.

  • 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-05-12T16:29:28+00:00Added an answer on May 12, 2026 at 4:29 pm

    A general solution to this (can look) something like the following:

    (defvar ignore-windows-containing-buffers-matching-res '("\\*Help")
          "List of regular expressions specifying windows to skip (if window contains buffer that matches, skip)")
    
    (defadvice other-window (before other-window-ignore-windows-containing activate)
      "skip over windows containing buffers which match regular expressions in 'ignore-windows-containing-buffers-matching-res"
      (if (and (= 1 (ad-get-arg 0)) (interactive-p))
          (let* ((win (next-window))
                 (bname (buffer-name (window-buffer win))))
            (when (some 'identity (mapcar '(lambda (re)
                                            (string-match re bname))
                                         ignore-windows-containing-buffers-matching-res))
              (ad-set-arg 0 2)))))
    

    Customize the variable to be a regular expression matching the buffer names you want to skip.

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

Sidebar

Related Questions

I have found that there is generally a singe type or namespace that takes
Generally, MVC frameeworks have a structure that looks something like: /models /views /controllers /utils
I have the feeling that Flash -based ( or Silverlight -based) websites are generally
I'm using a logging module that can have reporting enabled/disabled at runtime. Calls generally
I normally work on single threaded applications and have generally never really bothered with
Generally the database server is the biggest, most expensive box we have to buy
(This question specifically in C#, but applies generally to .NET) I have a largish
I have a general exception handler, Application_error in my global.asax where I'm trying to
The general problem: We have urls coming to our IIS web servers formatted like:
I have to give a general note to some huge Java project for which

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.