Post B28r636jRW0Sp4moWO by HaraldKi@nrw.social
 (DIR) More posts by HaraldKi@nrw.social
 (DIR) Post #B28r636jRW0Sp4moWO by HaraldKi@nrw.social
       2026-01-10T12:28:02Z
       
       0 likes, 0 repeats
       
       Emacs can do everything. Except the most simple thing ever as I learned after 40 years in which I never needed it: Edit one file twice at the same time.I can open a new Emacs "window" and re-open the file. But Emacs notices and this and shows the file's buffer in the new window, not a new buffer.But why? Well, when editing and SVG file, you can switch between the XML and the rendered image with C-c C-c, but I would like to see the XML and the rendered next to each other.😀 #emacs #svg #xml
       
 (DIR) Post #B28r64lBIbxLwoidCy by tusharhero@mathstodon.xyz
       2026-01-10T12:29:49Z
       
       0 likes, 0 repeats
       
       @HaraldKi just clone the buffer
       
 (DIR) Post #B29CIzr0wsLnXBRwJ6 by HaraldKi@nrw.social
       2026-01-10T16:17:08Z
       
       0 likes, 0 repeats
       
       The indirect buffer, as suggested by some, does not prevent C-c C-c to switch both buffers between XML and rendered image. Well except that C-c C-c is only available in the original buffer, not in the indirect clone.So no, this is not a solution. (The trivial one is, of course, to just run another instance of Emacs, but that's cheating.)#emacs #indirect_buffers #svg #image_mode
       
 (DIR) Post #B29CJ1MbKvDADREgBE by tusharhero@mathstodon.xyz
       2026-01-10T16:27:28Z
       
       0 likes, 0 repeats
       
       @HaraldKi Emacs definitely capable of only displaying the rendered image in a separate window (which shows the same buffer). This is done via the window overlay property which makes the overlay only be displayed in a specific window.