Commit graph

111 commits

Author SHA1 Message Date
Kiana Sheibani a23813c7ca
docs: update README for new features 2024-08-26 19:18:59 -04:00
Kiana Sheibani e0c329e0f6
feat!: support for arbitrary objects as indices
BREAKING-CHANGE: Many external and internal functions have been renamed
to replace the word "number" with the more general word "index."
2024-08-26 19:04:33 -04:00
deb0ch c5455e866e update changelog 2019-09-11 18:11:12 +02:00
deb0ch 098249c650 bump version to 2.2.0 2019-09-11 18:07:17 +02:00
deb0ch e571c320f1 improve docs for winum-ignored-buffers-regexp 2019-09-11 18:07:17 +02:00
mpanarin 23d1ecce94 [imp] allow ignoring buffers with regex 2019-07-30 12:02:12 +03:00
deb0ch 247df36c03 fix typo in README
fixes #19
2019-02-18 10:37:01 +01:00
deb0ch efcb14fd30 bump version to 2.1.0 2018-11-19 18:05:40 +01:00
deb0ch b27b8f4db7 add custom variable winum-format 2018-11-19 18:05:09 +01:00
Thomas de Beauchêne 8bafa66f80 minor code improvement 2018-11-07 01:47:11 +01:00
Thomas de Beauchêne a096da2881 fix bug mode-line not reset after multiple invocations
Fix a bug where the mode-line would not get rid of or regain the winum segment
after winum-mode being activated several times non-interactively and then
deactivated.
2018-11-07 01:44:48 +01:00
Thomas de Beauchêne 6f0c451799 put mode-line segment into a variable 2018-11-07 01:40:30 +01:00
Tomasz Mieszkowski d7b7eecf08 Don't push winum to mode-line if it's already there
Fixes #17
2018-11-04 19:49:34 +01:00
deb0ch c56d1cdb8d bump version to 2.0.0 2017-10-28 16:02:40 +02:00
Alexander Miller 0e10a9d29b Add verification for winum--frames-table 2017-10-19 23:09:47 +02:00
Alexander Miller cf691de506 Remove deleted frames from winum--frames-table 2017-10-19 23:09:47 +02:00
Alexander M bfef4ae6d0 Use a list of functions for custom window number assignment 2017-10-19 23:09:45 +02:00
Alexander M e950370d82 Rerun initialization when scope changes at runtime. 2017-05-01 01:29:17 +02:00
deb0ch 8e886302c7 bugfix: use getter to access window-vector
related with #4 and #5: there is a crash from time to time when frame-local and
winum-assign-func reserves numbers.
2017-04-18 15:31:35 +02:00
Alexander M 66c598a4e6 fetch a window even if its index is larger than window-count
The index of a window in window-vector can be greater than the number of live
windows if its number was assigned by winum-assign-func.

also partly fixes #4
2017-04-17 11:24:39 +02:00
deb0ch 4bee4987bc clear numbers-table only on update (and now also when 'frame-local) 2017-04-17 11:19:13 +02:00
Alexander M 6f52356657 expand winum--window-vector if a higher number is assigned
partly fixes #4
2017-04-17 11:17:32 +02:00
deb0ch 2efef60d1f use a named predicate instead of a lambda for ignored windows
Using a named function makes the code more readable than using a lambda.
2017-04-16 13:32:11 +02:00
deb0ch 3c28c0dd68 return empty string instead of nil when window does not exist
protects against potential errors being thrown and probably fixes #3 (although
understanding the root cause is still necessary).
2017-02-17 10:10:00 +01:00
deb0ch 8e26306916 fix repo name in readme 2017-01-28 22:27:19 +01:00
deb0ch 25fbb9524a readme: add melpa-stable badge in README 2017-01-16 11:52:41 +01:00
deb0ch 8b22faaa7e readme: add :noexport: to :TOC: in README to fix html export 2017-01-16 11:52:24 +01:00
deb0ch 3a10d3934f readme: improve code examples
the way the key bindings were overriden in these examples didn't update the
winum-keymap variable itself, leading to problems such as not being able to use
define-key on winum-keymap afterwards
2017-01-14 16:04:00 +01:00
deb0ch ebb05b84ae readme: update future developments 2017-01-14 16:01:29 +01:00
Rudi Grinberg e89791b90e Add type and group to winum-auto-setup-mode-line 2017-01-11 09:29:17 +01:00
deb0ch d5584b66df fix error when selecting nonexistent window number
bug introduced by 4970e27
2017-01-09 13:09:57 +01:00
deb0ch 430d24dd29 fix error on mode-line evaluation when a window has no number 2016-12-26 19:51:26 +01:00
deb0ch 4970e27a18 simplify the code using winum--get-[window-vector|numbers-table] 2016-12-26 19:38:36 +01:00
deb0ch 6afa4aa0da add changes section in README 2016-12-24 15:18:32 +01:00
deb0ch 6ccde2026b replace variable winum-keymap-prefix with function winum-set-keymap-prefix
Fixes #1.

Setting the key bindings prefix using a variable just couldn't work given how
Emacs handles key bindings for minor modes and that the available keymap API
doesn't handle keymaps.
2016-12-24 15:06:10 +01:00
deb0ch 1be3fdfa0a add ² bindings to handle azerty keyboard layouts 2016-12-18 01:38:24 +01:00
deb0ch 92f4109c8c add future developments section in README 2016-12-17 14:10:46 +01:00
deb0ch a9d4cfb414 improve docstrings and documentation 2016-12-17 13:59:18 +01:00
deb0ch 36358cc8c2 fix README html export 2016-12-17 13:50:27 +01:00
deb0ch 8e92e2b7f8 update README for Melpa 2016-12-17 13:02:34 +01:00
deb0ch 2844fdeeec fix FIXMEs 2016-12-16 19:17:48 +01:00
deb0ch 482d4145c5 correct errors in README 2016-12-16 19:17:46 +01:00
deb0ch 0ba8f4ba74 do not define keymap if winum-keymap-prefix is nil 2016-12-16 19:08:58 +01:00
deb0ch 84de252877 reorder the file to fix byte-compiler warnings 2016-12-16 19:08:11 +01:00
deb0ch 0f98e4566b fix customize group of winum-ignored-buffers 2016-12-16 19:08:11 +01:00
deb0ch 6da09ea7c3 change key bindings to use ~C-x w~ prefix 2016-12-16 19:07:57 +01:00
deb0ch 75dcc93f14 minor improvements in README 2016-12-12 10:20:39 +01:00
deb0ch 23dd03706a add missing ;;;###autoloads 2016-12-11 01:40:40 +01:00
deb0ch 4666007eae prefix all functions with "winum-" to follow elisp conventions 2016-12-11 01:17:30 +01:00
deb0ch d27e10d4b7 remove M-m bindings 2016-12-11 01:17:05 +01:00