emacs-devel
[Top][All Lists]
Advanced

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

RE: Request for pointers and advice: displaying several buffers inside a


From: Drew Adams
Subject: RE: Request for pointers and advice: displaying several buffers inside a single window
Date: Fri, 10 Apr 2020 12:01:08 -0700 (PDT)

> I would rather say that "segment" is a text between two markers in an
> arbitrary buffer. Just like narrowing.
> 
> > If so, how is this different from narrowing in indirect buffers that
> > we have now?
> 
> The difference is that text in a single buffer must not always be
> coming from a single buffer (possibly narrowed), but can as well be a list of
> "segments". Instead of storing all the buffer text in a single char
> array, the buffer text could be represented by a list of "segments". In
> a normal buffer, this list will just contain a single element pointing
> to the buffer's char array containing its text. However, the list can
> be extended with "segments" from other buffers.

FWIW, this is what library zones.el offers.  The zones ("segments") in a given 
set of zones can be for the same buffer or different buffers.

But if your question/request is about displaying text from different buffers in 
the same Emacs window then zones.el won't help you.

See also library narrow-indirect.el.

https://www.emacswiki.org/emacs/download/zones.el

https://www.emacswiki.org/emacs/download/narrow-indirect.el



reply via email to

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