[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vlf 74febeb 072/310: Remove ability to launch VLFI from
From: |
Stefan Monnier |
Subject: |
[elpa] externals/vlf 74febeb 072/310: Remove ability to launch VLFI from file end. It's superseded by |
Date: |
Sat, 28 Nov 2020 00:32:49 -0500 (EST) |
branch: externals/vlf
commit 74febeb183ac9a3fbc6db37ce49efa4617919dd6
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>
Remove ability to launch VLFI from file end. It's superseded by
vlfi-end-of-file and may break decoding of file.
---
vlfi.el | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/vlfi.el b/vlfi.el
index d6a8a3f..c99b4d4 100644
--- a/vlfi.el
+++ b/vlfi.el
@@ -87,16 +87,16 @@
(put 'vlfi-file-size 'permanent-local t))
;;;###autoload
-(defun vlfi (file &optional from-end)
- "View Large FILE. With FROM-END prefix, view from the back.
+(defun vlfi (file)
+ "View Large FILE.
Batches of the file data from FILE will be displayed in a read-only
buffer. You can customize number of bytes displayed by customizing
`vlfi-batch-size'."
- (interactive "fFile to open: \nP")
+ (interactive "fFile to open: ")
(with-current-buffer (generate-new-buffer "*vlfi*")
(setq buffer-file-name file
vlfi-file-size (vlfi-get-file-size file))
- (vlfi-insert-file from-end)
+ (vlfi-insert-file)
(vlfi-mode)
(switch-to-buffer (current-buffer))))
@@ -104,11 +104,10 @@ buffer. You can customize number of bytes displayed by
customizing
;;; integration with other packages
;;;###autoload
-(defun dired-vlfi (from-end)
- "In Dired, visit the file on this line in VLFI mode.
-With FROM-END prefix, view from the back."
- (interactive "P")
- (vlfi (dired-get-file-for-visit) from-end))
+(defun dired-vlfi ()
+ "In Dired, visit the file on this line in VLFI mode."
+ (interactive)
+ (vlfi (dired-get-file-for-visit)))
;;;###autoload
(eval-after-load "dired"
@@ -137,7 +136,7 @@ OP-TYPE specifies the file operation being performed over
FILENAME."
'(?o ?O ?v ?V ?a ?A))))
(cond ((memq char '(?o ?O)))
((memq char '(?v ?V))
- (vlfi filename nil)
+ (vlfi filename)
(error ""))
((memq char '(?a ?A))
(error "Aborted"))))))
- [elpa] externals/vlf e67895a 068/310: Optionally strip superfluous operations when inserting batches., (continued)
- [elpa] externals/vlf e67895a 068/310: Optionally strip superfluous operations when inserting batches., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 6773248 104/310: Optimize a bit goto line., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 4134de0 177/310: Add intelligent recenter chunk around point functionality., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 9b22b74 134/310: Add gitignore., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 2dba838 140/310: In case original VLF buffer has been killed, try to find existing VLF, Stefan Monnier, 2020/11/28
- [elpa] externals/vlf efae918 138/310: Turn vlf into minor mode., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf e36492b 182/310: Optimize chunk jumping for current GNU Emacs releases. Fix moving by, Stefan Monnier, 2020/11/28
- [elpa] externals/vlf f1ade81 069/310: Add go to line command., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 3fb898e 070/310: Add automatic batching when scrolling., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf fc689d5 071/310: Make coding system conversion on write more idiomatic., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 74febeb 072/310: Remove ability to launch VLFI from file end. It's superseded by,
Stefan Monnier <=
- [elpa] externals/vlf 4699008 074/310: Make chunk adjusting automatic., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 538a9e6 075/310: Apply chunk decoding adjustment implicitly., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 0dc6d06 190/310: Completely decouple vlf integration from other functionality., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf c533bce 207/310: Add command to set batch size explicitly., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 177c680 147/310: Revert to showing batch size in buffer name instead of the mode-line., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf d6c7223 151/310: Delete obsolete vlfi.el., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 655805c 174/310: Fix vlf-next-batch-from-point behaviour near end of file., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf db1da30 175/310: Use buffer-file-truename for file size determination and remove, Stefan Monnier, 2020/11/28
- [elpa] externals/vlf 429a8ff 196/310: Widen region when measuring encoded content length., Stefan Monnier, 2020/11/28
- [elpa] externals/vlf df8c9ea 191/310: Detect change of file when loading chunk and act more cautiously. Move, Stefan Monnier, 2020/11/28