Andrey Kotlarski
b300137941
Encode smaller region to detect cut point overall offset in vlf-occur
...
when moving to next batch and be more precise with hexl-mode active.
2014-12-27 02:27:18 +02:00
Andrey Kotlarski
bc398d6053
- don't adjust start on next occur batch
...
- don't gather profile info for adjustment insert as it's too small
2014-12-17 01:46:33 +02:00
Andrey Kotlarski
b14c912afb
Copy around buffer specific profile vectors when forking new buffers.
2014-12-17 01:42:05 +02:00
Andrey Kotlarski
68d6c1bc33
vlf-occur changes:
...
- support multi-line matches
- divide user regex search from line counting
- fix wrong last match overall position
- fix edge cases of incorrect line numbers, matches in last chunk line
which is incomplete
2014-12-13 18:49:37 +02:00
Andrey Kotlarski
f43ada1173
Fix byte compilation warnings.
2014-10-16 02:56:34 +03:00
Andrey Kotlarski
305d8022c4
Use shared profiling info for encode, write and hexl operations.
2014-10-08 19:33:59 +03:00
Andrey Kotlarski
673ae08848
Lower tramp verbosity level.
2014-10-07 13:19:40 +03:00
Andrey Kotlarski
ac8d4008bd
Fixes to hexl-mode activation.
2014-10-07 01:42:33 +03:00
Andrey Kotlarski
7b9befe81a
- don't load unnecessary data at the end of search or occur
...
- don't flood profile vector with approximations in linear search
2014-10-07 01:33:21 +03:00
Andrey Kotlarski
61599a007f
Change linear tune to search only known measures and use it to
...
initialize occur indexing. Make default tune step smaller.
2014-10-02 13:49:42 +03:00
Andrey Kotlarski
b9187918f7
Improve vlf performance with hexl-mode. Align batches to hexl-bits
...
width.
2014-09-25 01:23:08 +03:00
Andrey Kotlarski
0d2c096ed6
Restore batch size and hexl mode in case of failed search or occur.
2014-09-07 18:04:17 +03:00
Andrey Kotlarski
d526ea8ef8
Apply and restore batch size in more cases.
2014-09-07 16:25:36 +03:00
Andrey Kotlarski
ee7409bfa5
Tune batch size in more cases.
2014-09-07 00:06:10 +03:00
Andrey Kotlarski
5651ee3d61
Rename vlf-tune-optimal to vlf-tune-batch.
2014-09-06 23:59:32 +03:00
Andrey Kotlarski
e18a05b7cb
Add linear search for tuning and prefer smaller batches.
2014-09-05 02:49:55 +03:00
Andrey Kotlarski
0d9cc8e488
Don't measure encoding of too small region when adjusting chunk start
...
and fix passing of elements to tune in vlf-occur.
2014-09-04 15:26:25 +03:00
Andrey Kotlarski
70a81077ab
Add vlf-batch-size tuning in vlf-occur.
2014-09-04 03:34:27 +03:00
Andrey Kotlarski
069b2f55d4
Replace operations with respective vlf-tune wrappers.
2014-08-31 02:38:14 +03:00
Andrey Kotlarski
2e9ff70d56
Enlarge default batch size but keep is small on initial load of remote
...
files and on demand.
2014-08-23 00:09:44 +03:00
Andrey Kotlarski
694d1de495
Allow vlf-occur results be saved to file and later reused.
2014-08-17 22:45:09 +03:00
Andrey Kotlarski
86223ed46c
Fixes to hexl-mode integration.
2014-08-17 22:27:36 +03:00
Andrey Kotlarski
274c5ab903
Perform search, occur and ediff operations over hexl content instead
...
over raw data when hexl-mode is active.
2014-08-12 23:31:09 +03:00
Andrey Kotlarski
8ba5bead36
Don't run vlf-after-batch-functions hook in vlf-build-occur.
2014-02-23 17:18:07 +02:00
Andrey Kotlarski
859c1e4c45
Fix hook names.
2014-02-15 02:32:05 +02:00
Andrey Kotlarski
8c61b776d6
Fix when batch hooks are run for occur and save.
2014-02-14 12:34:31 +02:00
Andrey Kotlarski
b05255b225
Add hooks to run around chunk moves and batch operations. Don't err
...
when tramp hasn't been loaded yet.
2014-02-14 02:47:37 +02:00
Andrey Kotlarski
0199c2468a
Lower tramp verbosity level when dealing with multiple batches.
2014-01-30 01:58:57 +02:00
Andrey Kotlarski
ffac6972ed
Keep undo list after occur or unsuccessful line search.
2014-01-27 02:15:56 +02:00
Andrey Kotlarski
88dba8bb25
Remove unnecessary addition to load-path on compile.
2014-01-07 23:49:56 +02:00
Andrey Kotlarski
9343095096
Fix installation interfile dependencies and fix setting of local
...
variables for GNU Emasc 23.
2014-01-07 13:38:24 +02:00
Andrey Kotlarski
66db665d82
Fix follow functionality and explicitly set variable as buffer local.
2014-01-07 01:43:14 +02:00
Andrey Kotlarski
516584e6c9
Break VLF into components.
2014-01-01 16:42:45 +02:00