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 616785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:21:50+00:00 2026-05-13T18:21:50+00:00

How do I tell in emacs window orientation, e.g. if it was created by

  • 0

How do I tell in emacs window orientation, e.g. if it was created by vertical or horizontal split? alternatively, how can I tell if window can be resized vertically or horizontally?

on a related note, is there a tutorial for programming emacs windows, e.g. size, buffers associated, properties, etc.?

Thank you very much.

was able to dig up current-window-configurationand set-window-configuration. I am still learning emacs, so I am not sure what to do with configuration object of how to modify.

  • 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-13T18:21:50+00:00Added an answer on May 13, 2026 at 6:21 pm

    I’m assuming you’re using the term ‘window’ to mean Emacs windows and not top level application windows (which in Emacs terminology are frames). If that’s what you’re looking for, zdav’s answer provides some useful information.

    There are two functions window-height and window-width. You could trivially code up a function which tells you whether a window is taller than it is wider (implying that it was created with a vertical split) or vice-versa. Window sizes are changed using shrink-window and enlarge-window. They have arguments to be told the resize horizontally if that’s what you’re looking for. There are a few other functions like window-splittable-p etc. which can help you with splitting windows.

    For the entire scoop on playing with windows, consult the manual.

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

Sidebar

Related Questions

How do I tell my new employer that I can’t use the computer they gave me?
Can anyone tell me how I can display a status message like 12 seconds
Can you tell me what is the difference between abstraction and information hiding in
How can I tell from the assembly name, or assembly class (or others like
I can't tell from the Python documentation whether the re.compile(x) function may throw an
Can anyone tell me what is the memory usage overhead associated with PHP opcode
Can anyone tell me what exactly does this Java code do? SecureRandom random =
From what I can tell from the docs, semantic works by slowly building up
Please tell me how can I determine the version number of currently running solr
Hi can anyone please tell me why the following code is only returning the

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.