diff --git a/README.org b/README.org index a59d7a7..9dae369 100644 --- a/README.org +++ b/README.org @@ -33,7 +33,7 @@ Emacs' Unicode support is leveraged so you'll not see bare bytes but characters decoded as if file is normally opened. This holds for editing, search and indexing. -** 32-bit GNU/Emacs +** 32-bit GNU Emacs Regular Emacs integers are used, so if you use 32-bit Emacs without bignum support and have really huge file (with size beyond the maximum @@ -81,9 +81,6 @@ of the buffer name, batch size is also there - at the end. file. This is done chunk by chunk so if you have really huge file - you'd better set somewhat bigger batch size beforehand. -*l* jumps to given line in file. This is done by searching from the -beginning, so again the bigger current batch size, the quicker. - ** Occur over whole file *o* builds index for given regular expression just like occur-mode. @@ -91,6 +88,12 @@ It does this chunk by chunk over the whole file. Note that even if you prematurely stop it with *C-g*, it will still show index of what's found so far. +** Jump to line + +*l* jumps to given line in file. This is done by searching from the +beginning, so again the bigger current batch size, the quicker. With +negative argument, lines are counted from the end of file. + ** Edit *e* enters VLFI in edit mode. If editing doesn't change size of diff --git a/vlfi.el b/vlfi.el index 9b3cbc9..6df9d94 100644 --- a/vlfi.el +++ b/vlfi.el @@ -822,8 +822,8 @@ Save anyway? "))) (t (vlfi-file-shift-forward (- size-change)))) (vlfi-move-to-chunk vlfi-start-pos vlfi-end-pos) (goto-char pos)) - (vlfi-mode) - t)) + (vlfi-mode)) + t) (defun vlfi-file-shift-back (size-change) "Shift file contents SIZE-CHANGE bytes back."