[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Request for pointers and advice: displaying several buffers inside a
From: |
Ihor Radchenko |
Subject: |
RE: Request for pointers and advice: displaying several buffers inside a single window |
Date: |
Sat, 11 Apr 2020 03:19:31 +0800 |
> 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.
Thanks for the reference. I tried zones once, but abandoned exactly
because I was looking for showing all zones at once (not cycling through
them).
> But if your question/request is about displaying text from different buffers
> in the same Emacs window then zones.el won't help you.
Yep. Displaying and editing (with synchronised changes in those
buffers).
Drew Adams <address@hidden> writes:
>> 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
--
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong
University, Xi'an, China
Email: address@hidden, address@hidden
- Re: Request for pointers and advice: displaying several buffers inside a single window, (continued)
- Re: Request for pointers and advice: displaying several buffers inside a single window, Dmitrii Korobeinikov, 2020/04/04
- Re: Request for pointers and advice: displaying several buffers inside a single window, Dmitrii Korobeinikov, 2020/04/05
- Re: Request for pointers and advice: displaying several buffers inside a single window, Yuan Fu, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/10
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/10
- RE: Request for pointers and advice: displaying several buffers inside a single window,
Ihor Radchenko <=
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/10
- RE: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/11
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Richard Stallman, 2020/04/11
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/12
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/12
- Re: Request for pointers and advice: displaying several buffers inside a single window, Richard Stallman, 2020/04/12
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/13
- Re: Request for pointers and advice: displaying several buffers inside a single window, Juri Linkov, 2020/04/12
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/13