emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SPAM UNSURE] Request for pointers and advice: displaying several bu


From: Robert Pluim
Subject: Re: [SPAM UNSURE] Request for pointers and advice: displaying several buffers inside a single window
Date: Sun, 05 Apr 2020 15:18:27 +0200

>>>>> On Fri, 03 Apr 2020 10:30:38 -0800, Stephen Leake <address@hidden> said:

    Stephen> Dmitrii Korobeinikov <address@hidden> writes:
    >> Hi all,
    >> 
    >> I want to explore the feasibility of displaying two (indirect) buffers
    >> inside a single window, one after another. Each buffer has to look
    >> like it's rendered in its own mode. For the starters, each buffer can
    >> start on its own new line in the window. No interaction w/ text is
    >> required for now.

    Stephen> This would look the same as two windows each displaying one 
buffer, if
    Stephen> you could eliminate the mode line in betweeen them. That should be 
much
    Stephen> easier.

(setq mode-line-format nil)

and then make the second window display an indirect buffer to the buffer
displayed in the first window, so you can change the major mode, then
enable follow-mode so that scrolling one scrolls the other. Untested :-)

    Stephen> Hmm. Currently, the bottom line in a window is only partially 
displayed.
    Stephen> So you'd also have to adjust the top window height to allow 
displaying
    Stephen> the full last line. Or not; depends on what you want.

I think that only happens if you have one or more of the various
*pixelwise* variables non-nil; the default is to do everything in
multiples of line-height.

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]