emacs-devel
[Top][All Lists]
Advanced

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

Re: Buffers with buffers (transclusion)


From: Christopher Howard
Subject: Re: Buffers with buffers (transclusion)
Date: Tue, 15 Oct 2024 09:57:29 -0800

Hi, *chunk-edit* seemed like a very appealing idea to me, so I tried it right 
away this morning. My use case was editing two chunks of elisp code that were 
very far apart in a single file.

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.

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.

-- 
Christopher Howard



reply via email to

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