It seems that etags use a global marks stack.
When i open two buffers that use the same TAGS, I performs find-tags operations in one buffer(A), then performs find-tags operation in the other buffer(B). I switch back to the previous buffer(A) and perform pop-tag-mark operation. It will jump back to the mark that is the previous mark of buffer B!
Is there any way to solve this problem?
First of all, this is completely by design. If you’re jumping within a file,
imenuis more suitable.Now let’s try to modify the design: