Groups | Search | Server Info | Login | Register


Groups > comp.emacs > #2508

Sharing my split-window-preferred-function that splits at (pixel-wise) longer window-edge

From Mekeor Melire <mekeor@posteo.de>
Newsgroups comp.emacs
Subject Sharing my split-window-preferred-function that splits at (pixel-wise) longer window-edge
Date 2025-10-31 17:43 +0100
Organization MB-NET.NET for Open-News-Network e.V.
Message-ID <871pmjqaxq.fsf@posteo.de> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I wrote a little function that can be used for
split-window-preferred-function.  It considers the height and
width of the selected window, in pixels.  As this is a
straight-forward approach that considers the pixel-ratio, I called
it “split-window-rationally”.  Feel free to try it, adopt it or
comment on it.

Back to comp.emacs | Previous | NextNext in thread | Find similar


Thread

Sharing my split-window-preferred-function that splits at (pixel-wise) longer window-edge Mekeor Melire <mekeor@posteo.de> - 2025-10-31 17:43 +0100
  Re: Sharing my split-window-preferred-function that splits at (pixel-wise) longer window-edge Aidan Hall <aidan.hall202@gmail.com> - 2025-12-17 19:16 +0000
    Re: Sharing my split-window-preferred-function that splits at (pixel-wise) longer window-edge Mekeor Melire <mekeor@posteo.de> - 2025-12-19 11:10 +0100

csiph-web