1

I can C-x 2 to view the same file in two buffers, but if I for example do this with an org file, then collapse the top heading, this also messes with the first buffer;)

Can I open an independent view of the same file? If I change it, the other buffer will revert like it always does when I save in some external program.

Drew
  • 75,699
  • 9
  • 109
  • 225
Jason Hunter
  • 519
  • 2
  • 9
  • I'd be surprised if this wasn't a duplicate question, but I don't have time now to look for it. – Drew Feb 14 '23 at 17:11
  • @Drew -> https://emacs.stackexchange.com/questions/28203/can-i-have-two-views-on-a-file-one-narrowed-one-not/28205#28205 – crocefisso Feb 14 '23 at 17:44
  • 3
    Does this answer your question? [Can I have two views on a file - one narrowed one not?](https://emacs.stackexchange.com/questions/28203/can-i-have-two-views-on-a-file-one-narrowed-one-not) – Drew Feb 14 '23 at 17:45

1 Answers1

3
M-x clone-indirect-buffer-other-window 

More details at: (emacs)Top > Buffers > Indirect Buffers.

Oliver Knodel
  • 71
  • 1
  • 3