emacs读取大文件的问题

Vim、Emacs配置和使用
回复
rebol
帖子: 2
注册时间: 2008-08-23 23:56

emacs读取大文件的问题

#1

帖子 rebol » 2008-08-24 0:07

使用emacs读取一个大小为1G的文件时,emacs很长时间没有响应。
不知道有什么办法可以使emacs正常读取较大尺寸的文件吗?
头像
jarodlau
帖子: 501
注册时间: 2005-09-06 20:34
联系:

#2

帖子 jarodlau » 2008-08-24 0:08

这个,你得象开发者询问

1G?

我100M的都不敢随便乱开 :oops:
头像
nouse
帖子: 133
注册时间: 2007-11-10 1:09
来自: 上海

#3

帖子 nouse » 2008-08-24 18:59

1G的东西还是用less打开吧,直接编辑再保存纯粹是浪费时间。
rebol
帖子: 2
注册时间: 2008-08-23 23:56

#4

帖子 rebol » 2008-08-24 19:47

同意楼上的观点。 只是觉得vi能够部分读取大文件,emacs应该也能处理吧。。。

查到资料,说是emacs总是尝试载入整个文件,而32位机器上,每个buffer最大能支持的容量是256m。

谢谢楼上的回复。
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#5

帖子 kofshower » 2008-08-24 22:39

是的,vi有这种功能的扩展
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
回复