Emacs:相同的缓冲区,两个窗口,一个缩小,一个没有 [英] Emacs: same buffer, two windows, one narrowed, one not

查看:15
本文介绍了Emacs:相同的缓冲区,两个窗口,一个缩小,一个没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现窄到区域命令很有用,但它适用于缓冲区而不是当前窗口.

I find the narrow-to-region command useful, however it applies to the buffer and not to the current window.

我想让一个窗口显示缓冲区的缩小版本,而如果缓冲区出现在​​任何其他窗口中,则缓冲区显示为加宽版本.

I'd like to have one window display a narrowed version of the buffer, while the buffer is displayed widened if it occurs in any other window.

这可能吗?

推荐答案

尝试 M-x clone-indirect-bufferC-x 4 c.欲知详情,请参阅间接缓冲区.

Try M-x clone-indirect-buffer or C-x 4 c. For details, see Indirect Buffers.

这篇关于Emacs:相同的缓冲区,两个窗口,一个缩小,一个没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆