[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffers with buffers (transclusion)
From: |
Vladimir Kazanov |
Subject: |
Re: Buffers with buffers (transclusion) |
Date: |
Wed, 16 Oct 2024 11:48:03 +0100 |
Hi Christopher,
Thanks for taking a look at *chunk-edit*! It is an early prototype
which I shared to check if people are interested in this kind of work.
> However, for me the fatal issue is that chunk-edit-mode replaces the active
> major mode, so that indentation, and presumably other things, are not handled
> properly. I think any approach to this has to deal with that properly —
> maintaining the correct major mode in chunk.
One way of developing chunk-edit.el would be to port tricks used in
polymode, which supports having multiple major modes within a single
buffer. For now *chunk-edit* does provide syntax highlighting in the
same way org-mode supports it in src blocks.
> It think my particular use case could instead be handled with zones.el. Not
> sure about the case where you have, e.g., someone wanting to edit a region in
> a C header file and a region in a C source file, in the same buffer. I
> suppose that might be useful, e.g., when using search and replace macros and
> such like.
Right now I am exploring the best way to bring in chunks of text from
secondary buffers into the host buffer. This is useful for
*chunk-edit*, and some org-mode ideas, and probably many more things.
--
Regards,
Vladimir Kazanov
- Re: Buffers with buffers (transclusion), (continued)
- Re: Buffers with buffers (transclusion), Suhail Singh, 2024/10/17
- Re: Buffers with buffers (transclusion), Eli Zaretskii, 2024/10/17
- Re: Buffers with buffers (transclusion), Suhail Singh, 2024/10/17
- Re: Buffers with buffers (transclusion), Eli Zaretskii, 2024/10/17
- Re: Buffers with buffers (transclusion), Vladimir Kazanov, 2024/10/18
- Re: Buffers with buffers (transclusion), Suhail Singh, 2024/10/19
- Re: Buffers with buffers (transclusion), James Thomas, 2024/10/17
Re: Buffers with buffers (transclusion), Christopher Howard, 2024/10/15
- Re: Buffers with buffers (transclusion),
Vladimir Kazanov <=