Commit graph

56 commits

Author SHA1 Message Date
Kiana Sheibani aca0f74f3a
chore: bump version number 2024-08-26 19:22:29 -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 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 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
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 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 a9d4cfb414 improve docstrings and documentation 2016-12-17 13:59:18 +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 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 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
deb0ch 890bdcfb18 replace deprecated cl by cl-lib and update header accordingly 2016-12-10 20:16:45 +01:00
deb0ch d2be894dbe update package description 2016-12-09 18:53:16 +01:00
deb0ch 02073497e0 simplify winum-install-mode-line 2016-12-09 17:04:15 +01:00
deb0ch 3ef5f3aa42 update package keywords 2016-12-09 16:19:38 +01:00
deb0ch a4418aa56f select-window-by-number: default prefix argument deletes current window 2016-12-08 20:48:53 +01:00
deb0ch 4d541c203a restore select-window-0 2016-12-08 20:48:37 +01:00
deb0ch f45c6ea007 fix bug when using select-window-by-number on nonexistent window 2016-12-08 19:58:49 +01:00
deb0ch a77e97fd0f update doctstrings, comments and reindent 2016-12-08 19:58:49 +01:00
deb0ch e9f3e96892 fix select-window-0-or-10 2016-12-08 19:58:49 +01:00
deb0ch b862a0243c make mode-line installation optional 2016-12-08 19:58:49 +01:00
deb0ch 5ebcd92341 unlimited window numbers 2016-12-08 19:58:49 +01:00
deb0ch 8106e658d8 rework winum-keymap 2016-12-08 19:58:49 +01:00