monnier pushed a change to branch externals/marginalia. at 529aee6 Require subr-x only at compile time
This branch includes the following new commits: new 237a620 initial prototype new 84f0fde add marginalia-command-annotate new a6dfb38 add todos new 863e07b experimental: remove selectrum-specifics (may not work out!) new bdbbee2 add very basic readme new eecc6e2 Get key binding active in next window instead of in the minibuffer new e863b6c Show key bindings from minibuffer-selected-window new 6077206 Ignore byte-compiled files, autoloads and *-pkg.el files new 4780a6a marginalia works with icomplete-vertical now! new c47576c add configuration example new 0c090f3 improve readme new 548bf39 more explicit name for marginalia-command-annotate new 2f849d8 Simplify marginalia--completion-metadata-get new 28defd6 Introduce new name "annotator" for annotation functions new 6537c37 Shorten first line of docstring using our "annotator" term new 80fa320 Introduce list of classifiers new 69ec4d7 Remove unused function new 59d65af Add basic classifiers: orginal category, symbols, by words in prompt new e2af1d3 Make marginalia-prompt-categories an alist of regexps and categories new 1c8ef02 Remove unused marginalia--metadata function new c97911b All classifiers from Embark have been imported, remove TODO new bcb6bbb Correct slight imprecision in docstring new 0cb98a0 Remove default value from prompt before matching new 7d3f018 Add annotations for files and buffers new 0f1e763 rename some variables for consistency, update readme new 9ca180b richer formatting of file and buffer annotations new 7fe8f71 improve buffer annotation formatting new cd95c65 buffer annotation: add read-only status new ca21d30 fix typo in the readme new 6c8b158 add license new 4ba9804 Fix bug: file annotations were only shown for current directory new f9ca52c Fallback for when full candidate is requested outside of minibuffer new 3210152 add comment to marginalia--full-candidate new 6789da8 fix typo in marginalia-set-command-annotator new 655f03b introduce marginalia-annotators-(light|heavy), remove marginalia-set-command-annotator new 675e680 improve annotator defcustoms new b6d2e22 fix typo new 78023eb update readme new 4cb6d2b marginalia-annotate-file: add modes, user and group new ed74ca9 add marginalia-toggle-annotators new 472b47a add comment to marginalia-toggle-annotators new c05face Improve marginalia-toggle-annotators if invoked from minibuffer new f39556b fix marginalia--full-candidate for selectrum new f7adb62 fix #14 new c8c3f87 Rename toggle -> cycle, improve documenation new 8be2daf marginalia-annotate-file: remove unnecessary offset which only costs space for no reason new fe5d5db add faces: marginalia-file-modes, marginalia-file-owner new 376ccc5 Revert "fix marginalia--full-candidate for selectrum" new 1269445 marginalia-annotate-command-binding: cache key binding new 6567947 marginalia-annotate-command-binding: use a hash table per buffer new 57b1176 marginalia-annotate-command-binding: only store the binding in the hash table new ccefc57 marginalia-annotate-command-binding: add comment new 85a2693 marginalia-annotate-package: show package archive new c574a26 more colors! new 65da400 marginalia-annotate-package: show package version new 501a3b3 simplify marginalia--align new 642e25d replace marginalia-separator-width by marginalia-separator new 2805127 introduce a small dsl marginalia--fields which helps with formatting new 17d539c whitespace and comment adjustments new 2eec2dc fix warnings new dfbaa7f marginalia-annotate-package: show installed status instead of archive new 14dce57 scale field widths such that annotations look better on smaller windows new 4a5ada6 smaller variable field new 2f1bb7c do not overwrite the face weights as per recommendation by @purcell new 597186d add marginalia-annotate-minor-mode new f083852 readme: add embark and consult links new 783cb49 improve marginalia-minor-mode new d0afe4a add melpa badge new d2a7923 improve marginalia-annotate-package, do not show nil for builtins new 75e9e9b add marginalia-annotate-charset new 4ffd1a9 add marginalia-annotate-input-method new 31ba78b add marginalia-annotate-coding-system new ef325fc In symbol annotator skip lines about advice in function docstring new 7d3719d Fix advice skipping regexp for older Emacsen new 785297d Indicate advised functions with an asterisk new 5373a26 add marginalia-modified face new 0bd8061 marginalia--fields: allow alignment to the right by using a negative width new 7394690 add marginalia-annotate-virtual-buffer for consult-buffer new 6e8ba6d add marginalia-annotate-imenu new 9d2f319 marginalia-annotate-variable: add modification indicator new 659a550 show annotations even if no documentation is present new f16d26a marginalia-annotate-symbol: add keybindings to commands new bbde111 Annotate environment variables with their value new 618fd9e Improve formatting of environment variable annotation new c0460b6 classify environment variable new 9f1b63b add symbol class characters from Emacs 28 new fbd898d rename marginalia-annotate-command to marginalia-annotate-binding new b0c24f7 introduce marginalia-annotate-command new 88faa59 marginalia-annotate-variable: ensure that control characters are escaped new 88ba686 remove unnecessary :group specification new 74603c0 use mapatoms to fix the harmless unused variable warning new 091895b fix #23 new 331b24a check default-boundp too new 56ad689 modify marginalia-annotate-imenu regexp such that it works with consult narrowing new 3559cbb update readme new 4ac0f1f rename variable new ac53a00 optimize marginalia--truncate new 6cd9768 minor optimization to marginalia--function-doc new ed02f22 marginalia--align: only align text if non-empty new feca4f1 add support for project.el new 27cd29d add buffer size annotation, fix #29 new 65d6b5d fix package annotation new e833584 improve marginalia-classify-symbol new 333ff80 fix #32 new 2864c8e fix #31 new ef4fabf add preliminary support for affixation-function new 531fb6e fix #27 new c1296db introduce marginalia-margin-min new 7743fd7 add marginalia-annotate-char new 69332ba fix hex code formatting new d0c4e41 marginalia--field: fix nil handling new 40e2881 fix marginalia-cycle-annotators such that it works as an embark action new 3360875 Rename marginalia-cycle-annotators to marginalia-cycle new 5052240 annotate-buffer: use mode-name instead of major-mode new b6ca937 shorter mode name new cca8f9c readme typo new 7d9c6aa binding hash: specify larger initial size new 5802a5d readme: configuration example for selectrum refresh after marginalia-cycle new b69be18 marginalia-annotate-variable: add local indicator new 6a64a59 marginalia-annotate-minor-mode: add local/global indicator new 1fb2569 marginalia-annotate-minor-mode: fix support for consult new 78f676e marginalia-annotate-package: use package-desc-status new 1077dba update comment new b1ccaf8 readme: more robust selectrum config new cf9f411 marginalia: always run annotators in the original window context new 0c5521a fix window context for Embark Occur new 35cb523 add comment new b75f43e fix #34 new d37e9a5 fix #33 new 2b85b73 fix marginalia--full-candidate new 4069094 get rid of marginalia--buffer-bytes new c76b9d8 partially rewrite buffer annotator using format-mode-line new 1f2a842 shorter mode-name new e132638 marginalia-annotate-buffer: show remote indicator new cb64b10 add comment new 18cfe23 marginalia-annotate-virtual-buffer/marginalia-annotate-minor-mode: no narrow prefix new 54a61c7 update marginalia comment new 3ec73cd Merry Christmas, MELPA! new 6da7980 fix #39 new 4d4f639 fix project file/buffer annotations for consult-buffer new 3c80428 fix #41 new 35a42dc improve buffer directory annotation new 5a644d8 abbreviate list-buffers-directory new 0641467 convert readme to org in preparation of info file new 2a9df61 readme fixes new 7d4f07f add marginalia.texi new 51b6dbf readme fixes new 2a63616 update texi new a78a4b3 fix headline new 5129917 fix readme new d38a278 readme: do not export drawers new db18b0e Add support for hidden consult buffers new cca0d4f add marginalia-annotate-bookmark new a2f9242 fix marginalia-annotate-bookmark for front context with newlines new 3febe72 fix #45 new aa41183 treat bookmarks as normal alists new 4019935 rename virtual-buffer to consult-buffer new 4a727cd fix #46: affixation suffix must not be nil, it must be a string new 09aaad9 Revert "fix #46: affixation suffix must not be nil, it must be a string" new 909b731 fix #42 - wrapping/alignment problem at the right margin new 12fe439 right-fringe-width - use eq instead of = new 42977b4 add comment new 206518b add marginalia-align-offset new 6057427 autocompute marginalia-align-offset if it is not overwritten new 327ad58 use aref instead of elt new d0c0005 update readme new fcf41c5 Version 0.2 new c5e89cf describe-symbol: add indicator for obsolete variables/functions new 5d15697 marginalia-annotate-bookmark with no front context still returns filename new 5a00dcb marginalia-annotate-consult-buffer: remove width new d489f4c fix #55, use string-width instead of length for alignment new 218881e Replace consult-buffer annotator with consult-multi annotator new 7a0c2c6 marginalia-cycle: remove minibuffer local behavior new e15b8b2 readme: update marginalia keybinding new 436cd05 consult--multi preserves the original candidate new 55bfd5f do not unnecessarily use defsubst new 7df0e53 Add marginalia-bookmark-type-transformers new bc8e5f2 customize group: more restrictive prompt classifier new dcdcd5d consistently use \` and \' for regexps new 86c0461 consult-multi annotator should delegate to original annotation function new 2f977a1 readme: add illustration new 64fe724 readme: do not use drawers to prevent export new 62ed158 Version 0.3 new 51f7509 Fix #57 - protect marginalia--symbol-class equality check new 3e061a0 marginalia-annotate-bookmark: Handle non-symbol bookmark handlers new 2387cba marginalia-annotate-minor-mode: Support longer lighters new 58f397d update readme new c93b1b3 marginalia--full-candidate: Do not switch entire window new d2b43ed Use project-roots (project-root is Emacs 28) new 2b926ae Avoid annotations for host and remote path completions new e4b3fcd marginalia--remote-p: handle shadow paths new 153417a marginalia-annotate-file: Use substitute-in-file-name new e54aa0c Revert "Revert "fix #46: affixation suffix must not be nil, it must be a string"" new e741b24 Version 0.4 new 1a65026 marginalia-annotate-buffer: Truncate mode-name to fix alignment new 321feea Increase marginalia-margin-threshold new f3eaa1a Add annotator for the embark-keybinding category new a8e73d9 Fix overly wide docstring warning new 9d7f17f Add marginalia-annotate-color (Fix #64) new 5ce5a0e marginalia-annotate-color: Add component letters new f263745 marginalia-annotate-color: Use readable-foreground-color new 6caf9f0 Add link to readme (Fix #66) new b6994e0 Attempt to fix full candidate function for files (#65) new 06ae3b4 Some minor improvements on the fix new 95c0bb3 Go back and use full minibuffer-contents for marginalia--full-file new e41d939 Revert "Go back and use full minibuffer-contents for marginalia--full-file" new a5ce6aa Work around `completion-boundaries' bug in Emacs 27.1 new 2d19497 marginalia--full-file: Ensure that pt >= 0 if cursor is moved into the prompt new 9559819 Add link to upstream bug new 1120eff Revert b6994e0ebca6488f379914a1506af833a1abd928 and 06ae3b4c466801962b7611c851e62bf0c749fbbf new 668265a Simplify setup new c476b6c Track completion base position for marginalia--full-candidate new dca1cb5 marginalia--base-position: Minor changes new 0c2735e Selectrum advice is unnecessary - post-command-hook performs the update new a081005 marginalia-annotate-bookmark: Truncate file names (Fix #69) new 1a100ba Add mail address to header new 9389f38 completion-all-completions: Last cdr can also be nil new 7fe1a03 Fix retrieving full paths under Selectrum new 1d3af0a Merge branch 'base-position' into main new 5159256 Fix external declaration for selectrum--get-full new 287a369 Use more strict definition of the affixation function. new f89974d Remove obsolete comment, completion system updates automatically new 5126ba6 Version 0.5 new 3669f4d Stop using the obsolete project-roots function new d1b836d Go back to obsolete function project-roots new b1e5139 README: Add contributions section new ac4ab98 Implement individual cycling per completion category (Fix #73) new d400032 README: Document lightweight annotator usage new 43c85dc README: More documentation new 2437a6f marginalia-cycle: Check for affixation-function new 470e278 Restore obsolete variables new cd28764 marginalia-annotator-registry: Use more precise type new 0c24618 marginalia-bookmark-type-transformers: Use more precise type new 445d283 README: Update helper commands (Use remq instead of delq) new 624028c Silence bytecode compiler warning regarding project-roots (Fix #79) new c940a49 Use more restricted regexp to detect remote completion new a0e9903 Remove marginalia--annotate-binding-hash (See #16) new 3f33b38 Prepare submission to ELPA new 844233c Update readme new e97979a Remove License header new 529aee6 Require subr-x only at compile time