aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-06-03 11:47:14 -0700
committerPaul Eggert2011-06-03 11:47:14 -0700
commitb047e7acb5d18ccabb7548e3e7d79eba711008bf (patch)
treeab1ebe3913baca733900efb2b9852617729986bf
parentda908fa9a718745d426af0f69f88324b3023b7e4 (diff)
downloademacs-b047e7acb5d18ccabb7548e3e7d79eba711008bf.tar.gz
emacs-b047e7acb5d18ccabb7548e3e7d79eba711008bf.zip
Document wide integers better.
* buffers.texi (Buffers): * files.texi (Visiting): Default buffer maximum is now 2 EiB typically.
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/buffers.texi7
-rw-r--r--doc/emacs/files.texi3
3 files changed, 13 insertions, 3 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 89a78263e94..3b61ca6ccba 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,9 @@
12011-06-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Document wide integers better.
4 * buffers.texi (Buffers):
5 * files.texi (Visiting): Default buffer maximum is now 2 EiB typically.
6
12011-05-28 Chong Yidong <cyd@stupidchicken.com> 72011-05-28 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * custom.texi (Hooks): Reorganize. Mention Prog mode. 9 * custom.texi (Hooks): Reorganize. Mention Prog mode.
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index ae0d85f249b..9463b02464d 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -43,8 +43,11 @@ can be different from the value in other buffers. @xref{Locals}.
43 A buffer's size cannot be larger than some maximum, which is defined 43 A buffer's size cannot be larger than some maximum, which is defined
44by the largest buffer position representable by the @dfn{Emacs 44by the largest buffer position representable by the @dfn{Emacs
45integer} data type. This is because Emacs tracks buffer positions 45integer} data type. This is because Emacs tracks buffer positions
46using that data type. For 32-bit machines, the largest buffer size is 46using that data type. For most machines, the maximum buffer size
47512 megabytes. 47enforced by the data types is @math{2^61 - 2} bytes, or about 2 EiB.
48For some older machines, the maximum is @math{2^29 - 2} bytes, or
49about 512 MiB. Buffer sizes are also limited by the size of Emacs's
50virtual memory.
48 51
49@menu 52@menu
50* Select Buffer:: Creating a new buffer or reselecting an old one. 53* Select Buffer:: Creating a new buffer or reselecting an old one.
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 40bd065610c..793a11e62ed 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -209,7 +209,8 @@ to reread it.
209about 10 megabytes), Emacs asks you for confirmation first. You can 209about 10 megabytes), Emacs asks you for confirmation first. You can
210answer @kbd{y} to proceed with visiting the file. Note, however, that 210answer @kbd{y} to proceed with visiting the file. Note, however, that
211Emacs cannot visit files that are larger than the maximum Emacs buffer 211Emacs cannot visit files that are larger than the maximum Emacs buffer
212size, which is around 512 megabytes on 32-bit machines 212size, which is limited by the amount of memory Emacs can allocate
213and by the integers that Emacs can represent
213(@pxref{Buffers}). If you try, Emacs will display an error message 214(@pxref{Buffers}). If you try, Emacs will display an error message
214saying that the maximum buffer size has been exceeded. 215saying that the maximum buffer size has been exceeded.
215 216