Re: [CEDET-devel] Is Semantic able to work with indirect buffers? - some more findings and a soluti
Brought to you by:
zappo
From: Lennart B. <len...@gm...> - 2009-04-16 10:32:46
|
On Thu, Apr 16, 2009 at 10:29 AM, <kla...@ca...> wrote: > A) Ensure that the overlays (at least the semantic related) of an indirect-buffer contain the buffer-object of the indirect-buffer and not the base-buffer... If Emacs does this not automatically (which could be a bug) then maybe semantic could do this itself, e.g. by advicing make-indirect-buffer and rebuilding all semantic-overlays so afterwards the correct buffer is returned by overlay-buffer... Maybe this needs more digging... I have no idea how this work, but it sounds that there are some properties on the overlays that points to position in a buffer. I guess these are markers. Then maybe a check if the marker points to the base buffer could be made just before use? Or perhaps that will be too slow? |