Emacs: File Size Threshold May 1, 2011 at 8:34 pm

I use Emacs to open up WAR files often. Since these files are often large, Emacs usually pops up a confirmation dialog which was cramping my style. Turns out Emacs maintains a threshold of file size for this. The default value is about 10 MB. The variable “large-file-warning-threshold” is customizable. Note that you shouldn’t set the file size threshold to be larger than buffer size.

I set mine to 100 MB.

(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(inhibit-startup-screen t)
'(large-file-warning-threshold 100000000)
'(tool-bar-mode nil))

2 Responses to “Emacs: File Size Threshold”

  1. 16:1 [hgb] ???????????????€ ?????????????????????????????????????????????????????????????????????????????????????????????? [kjv] And the lot of the children of Joseph fell from Jordan by Jericho, unto the water of Jericho on the east, to the wilderness that goeth up from Jericho throughout mount Bethel, [bbe] And the limit of the land marked out for the children of Joseph went out from Jordan at Jericho, at the waters of Jericho on the east, in the waste land, going up from Jericho through the hill-country to Beth-el; 16:2 [hgb] ???????????????????????????????????????????????? [kjv] And goeth out from Bethel to Luz, and passeth along unto the borders of Archi to Ataroth, [bbe] And it goes out from Beth-el to Luz, and on as far as the limit of the Archites to Ataroth; 16:3 [hgb] ???€ ?????????????????????????????????????????????????????????????? [kjv] And goeth down westward to the coast of Japhleti, unto the coast of Bethhoron the nether, and to Gezer; and the goings out thereof are at the sea. [bbe] And it goes down to the west to the limit of the Japhletites, to the limit of Beth-horon the lower, as far as Gezer; ending at the sea. 16:4 [hgb] ?????????????????????????????????????????? [kjv] So the children of Joseph, Manasseh and Ephraim, took their inheritance. [bbe] And the children of Joseph, Manasseh and Ephraim, took their heritage. 16:5 [hgb] ?????????????????????€ ?????€ ?????????????????????????????????????????????????????? [kjv] And the border of the children of Ephraim according to their families was thus: even the border of their inheritance on the east side was Atarothaddar, unto Bethhoron the upper; [bbe] And the limit of the land of the children of Ephraim by their families was marked out in this way: the limit of their heritage to the east was Ataroth-addar, to Beth-horon the higher; 16:6 [hgb] ?€ ?????????????????????????????????????????????????????????????? [kjv] And the border went out toward the sea to Michmethah on the north side; and the border went about eastward unto Taanathshiloh, and passed by it on the east to Janohah; [bbe] The line goes out to the west at Michmethath on the north; then turning to the east to Taanath-shiloh, going past it on the east of Janoah; 16:7 [hgb] ?????????????????????????????????????????????????????????? [kjv] And it went down from Janohah to Ataroth, and to Naarath, and came to Jericho, and went out at Jordan. [bbe] And from Janoah down to Ataroth, and to Naarah, and touching Jericho, it goes on to Jordan. 16:8 [hgb] ?????????€ ???????????????????????????????????????????????€ ?????€ ?????????? [kjv] The border went out from Tappuah westward unto the river Kanah; and the goings out thereof were at the sea. This is the inheritance of the tribe of the children of Ephraim by their families. [bbe] From Tappuah the line goes on to the west to the river of Kanah; ending at the sea. This is the heritage of the children of Ephraim by their families; 16:9 [hgb] ???????????????????????????????????????????????????????????????????? [kjv] And the separate cities for the children of Ephraim were among the inheritance of the children of Manasseh, all the cities with their villages. [bbe] Together with the towns marked out for the children of Ephraim in the heritage of Manasseh, all the towns with their unwalled places. 16:10 [hgb] ?????????????????????????????????????????????????????????????????????????????????? [kjv] And they drave not out the Canaanites that dwelt in Gezer: but the Canaanites dwell among the Ephraimites unto this day, and serve under tribute. [bbe] And the Canaanites who were living in Gezer were not forced out; but the Canaanites have been living among Ephraim, to this day, as servants, doing forced work.

  2. Hmm it seems like your site ate my first comment (it
    was super long) so I guess I’ll just sum it up what I wrote and say, I’m
    thoroughly enjoying your blog. I too am an aspiring blog blogger but I’m still new to everything. Do you have any recommendations for inexperienced blog writers? I’d certainly appreciate it.

Leave a Reply