Commit Graph

44 Commits

Author SHA1 Message Date
tastytea 78ec3fe3de
Add note that …-buffer-only is safe as file-local variable. 2020-03-12 17:31:36 +01:00
tastytea e6e20855a8
Correct comment. 2020-03-08 17:09:43 +01:00
tastytea 8de7717881
Mark register-quicknav-buffer-only as save with booleans,
and autoload it.
2020-03-08 12:29:52 +01:00
tastytea f2640264cd
Extend description. 2020-03-08 12:17:05 +01:00
tastytea bab92365cd
Refactor register-quicknav--jump-to-register.
Shorten validity-check and index correction, update/add comments.
2020-03-08 12:05:49 +01:00
tastytea c90d005c54
Shorten validity-check. 2020-03-08 05:48:48 +01:00
tastytea 046b1e897e
Update comment. 2020-03-08 05:48:35 +01:00
tastytea 0a433edb0d
Shorten register-quicknav--register-file-name,
to register-quicknav--file-name.
2020-03-08 05:45:03 +01:00
tastytea dc7bcbfa4e
Version bump 0.3.0. 2020-03-08 05:37:57 +01:00
tastytea 361b2c697a
Actually search for next/previous register nearest to pos.
Simplified the logic, fixes the bug where you couldn't jump to the first
register from the start of the document or the last register from the end.
2020-03-08 05:01:53 +01:00
tastytea 4f9866fa85
Understandability: Replace “item” with “register”,
“registers” with “register-list” and “item-pos” with “register-pos”. Shorten
register-quicknav--item-position to register-quicknav--position.
2020-03-08 04:41:42 +01:00
tastytea 4757e63fcd
Transform register-quicknav--last-register into a function.
It accesses the local value of register-quicknav--last-register-v if
register-quicknav-buffer-only is t, the global value otherwise.
2020-03-08 04:19:14 +01:00
tastytea efacea633b
Find nearest next/previous position register from point.
Fixes #1
2020-03-07 20:32:55 +01:00
tastytea 3282e669e9
Visit file-queries too, not just markers.
When a position is stored in a register, it is stored as marker. If the buffer
is closed, the marker is transformed to a file-query. We now cycle through both.
2020-03-07 15:36:59 +01:00
tastytea 21971bb469
Use cl-flet instead of let for the lambda. 2020-03-02 10:32:01 +01:00
tastytea f786360131
Use cl-incf for incrementing and cl-decf for decrementing. 2020-03-02 10:16:13 +01:00
tastytea e05ce6bada
Use push instead of setq. 2020-03-02 10:15:37 +01:00
tastytea 4ee34787e6
Move sort function into a lambda in register-quicknav--registers. 2020-03-02 10:15:24 +01:00
tastytea 9b76f2a8e1
Fix calls to define-obsolete-function-alias.
The aliases were marked as functions.
2020-03-02 09:43:38 +01:00
tastytea 0111ede155
Change namespace separator from / to - to conform with MELPA rules. 2020-03-01 06:44:34 +01:00
tastytea 52dac539a6
Add “autoload cookies”. 2020-02-28 06:17:18 +01:00
tastytea 564e3a411b
Add quelpa recipe. 2020-02-24 22:12:41 +01:00
tastytea 566e90ea5e
Remove period from package summary. 2020-02-20 13:51:29 +01:00
tastytea ba9b10f250
Amend description for …//registers. 2020-02-20 03:30:51 +01:00
tastytea e0d90844c1
Add option to only use registers in current buffer. 2020-02-20 03:26:57 +01:00
tastytea 06e217278c
Use delq instead of delete. 2020-02-20 02:32:39 +01:00
tastytea b68eaef9a4
Use #' for function references. 2020-02-20 01:52:01 +01:00
tastytea af2189e60e
Depend on Emacs 24 (lexical binding). 2020-02-20 01:50:04 +01:00
tastytea 3ff162dd26
Use only standard keywords. 2020-02-20 01:48:17 +01:00
tastytea 7d5f09b979
Fix dangling parens. 2020-02-20 01:48:07 +01:00
tastytea ec13f08e9a
Add license. 2020-02-20 01:38:23 +01:00
tastytea 49c4af6730
Clarify descriptions for next/prev. 2020-02-19 20:01:33 +01:00
tastytea 682f37dd27
Shorten use-package example. 2020-02-19 19:52:05 +01:00
tastytea c5abad4396
Add URL. 2020-02-19 19:23:32 +01:00
tastytea 9b9ba38c0f
Add buffer-local alist tip. 2020-02-19 19:00:30 +01:00
tastytea 87a0a21aa1
Fix gitignore. 2020-02-19 19:00:06 +01:00
tastytea 332dfbf1b9
Rename .emacs → init.el. 2020-02-19 18:55:32 +01:00
tastytea 0375d5d806
Amend documentation for clear-current-register. 2020-02-19 18:50:04 +01:00
tastytea 39778084d8
Highlight register.el. 2020-02-19 17:03:09 +01:00
tastytea 416f72586c
Ignore backup files. 2020-02-19 17:00:23 +01:00
tastytea 3d52e06e9f
Add readme. 2020-02-19 17:00:03 +01:00
tastytea d853f9e7cb
Add clear-current-register. 2020-02-19 16:59:53 +01:00
tastytea 606ef51883
Simplify next-register and prev-register,
by binding …//current-position-register to pos and …//registers to registers.
2020-02-19 16:27:57 +01:00
tastytea 8891667702
Initial commit. 2020-02-19 15:58:45 +01:00