Commit graph

33 commits

Author SHA1 Message Date
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
deb0ch 2152fa48d3 unfold select-window-* macro, new function select-window-0-or-10 2016-12-08 19:58:49 +01:00
deb0ch 87aaccbc70 select-window-by-number: the negative prefix deletes window 0 2016-12-08 19:58:49 +01:00
deb0ch 92b46f7f2a remove window-numbering-before-hook
its sole obvious utility was redundant with `winum-assign-func` while
being more complicated to use.

Let me know if you miss that functionality.
2016-12-08 19:58:49 +01:00
deb0ch 85c5b7ccfd update TODOs 2016-12-08 19:58:49 +01:00
deb0ch 541239b74b refactor select-window-by-number to enable interactive use 2016-12-08 19:58:49 +01:00
deb0ch 25f8c31c75 rename to winum.el keeping backward compatibility 2016-12-08 19:58:49 +01:00