From 36d2ed4d095038b7c9bfd056c93ab3addf7f08d1 Mon Sep 17 00:00:00 2001 From: Andrey Kotlarski Date: Thu, 2 May 2013 14:25:39 +0300 Subject: [PATCH 1/2] Update README. --- README.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 From c827c3e186b25b61f42608ba0ab5c9470b13f45a Mon Sep 17 00:00:00 2001 From: Andrey Kotlarski Date: Sat, 4 May 2013 23:53:17 +0300 Subject: [PATCH 2/2] Prevent standard save procedure invocation in case user postpones saving. --- vlfi.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlfi.el b/vlfi.el index 49548f1..8df22af 100644 --- a/vlfi.el +++ b/vlfi.el @@ -775,8 +775,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."