update packages
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
;; -*- no-byte-compile: t; lexical-binding: nil -*-
|
||||
(define-package "ivy" "20250417.1209"
|
||||
(define-package "ivy" "20251123.1023"
|
||||
"Incremental Vertical completYon."
|
||||
'((emacs "24.5"))
|
||||
:url "https://github.com/abo-abo/swiper"
|
||||
:commit "2529a23f9f510a94efa6c088bd14217aa764dafb"
|
||||
:revdesc "2529a23f9f51"
|
||||
:commit "ec9421340c88ebe08f05680e22308ed57ed68a3d"
|
||||
:revdesc "ec9421340c88"
|
||||
:keywords '("matching")
|
||||
:authors '(("Oleh Krehel" . "ohwoeowho@gmail.com"))
|
||||
:maintainers '(("Basil L. Contovounesios" . "basil@contovou.net")))
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
;; Author: Oleh Krehel <ohwoeowho@gmail.com>
|
||||
;; Maintainer: Basil L. Contovounesios <basil@contovou.net>
|
||||
;; URL: https://github.com/abo-abo/swiper
|
||||
;; Package-Version: 20250417.1209
|
||||
;; Package-Revision: 2529a23f9f51
|
||||
;; Package-Version: 20251123.1023
|
||||
;; Package-Revision: ec9421340c88
|
||||
;; Package-Requires: ((emacs "24.5"))
|
||||
;; Keywords: matching
|
||||
|
||||
@@ -3171,11 +3171,11 @@ parts beyond their respective faces `ivy-confirm-face' and
|
||||
`ivy-match-required-face'."
|
||||
(dolist (pair '(("confirm" . ivy-confirm-face)
|
||||
("match required" . ivy-match-required-face)))
|
||||
(let ((i (string-match-p (car pair) prompt)))
|
||||
(when i
|
||||
(add-text-properties i (+ i (length (car pair)))
|
||||
`(face ,(cdr pair) ,@props)
|
||||
prompt))))
|
||||
(let* ((beg (ivy--string-search (car pair) prompt))
|
||||
(end (and beg (+ beg (length (car pair))))))
|
||||
(when beg
|
||||
(add-face-text-property beg end (cdr pair) nil prompt)
|
||||
(add-text-properties beg end props prompt))))
|
||||
prompt)
|
||||
|
||||
(defun ivy-prompt ()
|
||||
@@ -3215,6 +3215,25 @@ parts beyond their respective faces `ivy-confirm-face' and
|
||||
(when line (push line lines)))
|
||||
(string-join (nreverse lines) "\n"))))
|
||||
|
||||
(defun ivy--propertize-prompt (prompt)
|
||||
"Propertize PROMPT like `read-from-minibuffer' would.
|
||||
Also handle `ivy-set-prompt-text-properties-function'."
|
||||
(let ((len (length prompt))
|
||||
;; Added unconditionally by `read-from-minibuffer'.
|
||||
(props (list 'front-sticky t 'rear-nonsticky t 'field t))
|
||||
;; Configurable.
|
||||
(extras minibuffer-prompt-properties))
|
||||
;; Filter out `face'; it is documented as being appended instead, and was
|
||||
;; historically excluded from `ivy-set-prompt-text-properties-function'.
|
||||
(while extras
|
||||
(let ((key (pop extras))
|
||||
(val (pop extras)))
|
||||
(if (eq key 'face)
|
||||
(add-face-text-property 0 len val t prompt)
|
||||
(setq props (plist-put props key val)))))
|
||||
(add-text-properties 0 len props prompt)
|
||||
(funcall ivy-set-prompt-text-properties-function prompt props)))
|
||||
|
||||
(defun ivy--insert-prompt ()
|
||||
"Update the prompt according to `ivy--prompt'."
|
||||
(when (setq ivy--prompt (ivy-prompt))
|
||||
@@ -3229,7 +3248,6 @@ parts beyond their respective faces `ivy-confirm-face' and
|
||||
(setq head ivy--prompt)
|
||||
(setq tail ""))
|
||||
(let ((inhibit-read-only t)
|
||||
(std-props '(front-sticky t rear-nonsticky t field t read-only t))
|
||||
(n-str
|
||||
(concat
|
||||
(and (bound-and-true-p minibuffer-depth-indicate-mode)
|
||||
@@ -3264,12 +3282,7 @@ parts beyond their respective faces `ivy-confirm-face' and
|
||||
(when ivy-add-newline-after-prompt
|
||||
(setq n-str (concat n-str "\n")))
|
||||
(setq n-str (ivy--break-lines n-str (window-width)))
|
||||
(set-text-properties 0 (length n-str)
|
||||
`(face minibuffer-prompt ,@std-props)
|
||||
n-str)
|
||||
(setq n-str (funcall ivy-set-prompt-text-properties-function
|
||||
n-str std-props))
|
||||
(insert n-str))
|
||||
(insert (ivy--propertize-prompt n-str)))
|
||||
;; Mark prompt as selected if the user moves there or it is the only
|
||||
;; option left. Since the user input stays put, we have to manually
|
||||
;; remove the face as well.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This is ivy.info, produced by makeinfo version 7.1.1 from ivy.texi.
|
||||
This is ivy.info, produced by makeinfo version 7.2 from ivy.texi.
|
||||
|
||||
Ivy manual, version 0.15.1
|
||||
|
||||
@@ -118,7 +118,6 @@ API
|
||||
* Example - counsel-locate::
|
||||
* Example - ivy-read-with-extra-properties::
|
||||
|
||||
|
||||
|
||||
File: ivy.info, Node: Introduction, Next: Installation, Prev: Top, Up: Top
|
||||
|
||||
@@ -1911,60 +1910,60 @@ File: ivy.info, Node: Keystroke Index, Prev: Variable Index, Up: Top
|
||||
* w: Hydra in the minibuffer.
|
||||
(line 55)
|
||||
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1192
|
||||
Node: Introduction3101
|
||||
Node: Installation5616
|
||||
Node: Installing from Emacs Package Manager5988
|
||||
Node: Installing from the Git repository7235
|
||||
Node: Getting started8062
|
||||
Node: Basic customization8369
|
||||
Node: Key bindings8969
|
||||
Node: Global key bindings9161
|
||||
Node: Minibuffer key bindings11582
|
||||
Node: Key bindings for navigation12814
|
||||
Node: Key bindings for single selection action then exit minibuffer14021
|
||||
Node: Key bindings for multiple selections and actions keep minibuffer open16704
|
||||
Node: Key bindings that alter the minibuffer input19326
|
||||
Node: Other key bindings21275
|
||||
Node: Hydra in the minibuffer21653
|
||||
Node: Saving the current completion session to a buffer24071
|
||||
Node: Completion Styles25483
|
||||
Node: ivy--regex-plus27246
|
||||
Node: ivy--regex-ignore-order28733
|
||||
Node: ivy--regex-fuzzy29099
|
||||
Node: Customization29590
|
||||
Node: Faces29776
|
||||
Node: Defcustoms32214
|
||||
Node: Actions33554
|
||||
Node: What are actions?33880
|
||||
Node: How can different actions be called?34698
|
||||
Node: How to modify the actions list?35265
|
||||
Node: Example - add two actions to each command35925
|
||||
Node: How to undo adding the two actions36885
|
||||
Node: How to add actions to a specific command37339
|
||||
Node: Example - define a new command with several actions37755
|
||||
Node: Test the above function with ivy-occur38692
|
||||
Node: Packages39536
|
||||
Node: Commands40504
|
||||
Node: File Name Completion40689
|
||||
Node: Using TRAMP42698
|
||||
Node: Buffer Name Completion44195
|
||||
Node: Counsel commands44823
|
||||
Node: API45470
|
||||
Node: Required arguments for ivy-read46048
|
||||
Node: Optional arguments for ivy-read46567
|
||||
Node: Example - counsel-describe-function50015
|
||||
Node: Example - counsel-locate52960
|
||||
Node: Example - ivy-read-with-extra-properties56805
|
||||
Node: Variable Index58091
|
||||
Node: Keystroke Index65215
|
||||
Node: Top1190
|
||||
Node: Introduction3098
|
||||
Node: Installation5613
|
||||
Node: Installing from Emacs Package Manager5985
|
||||
Node: Installing from the Git repository7232
|
||||
Node: Getting started8059
|
||||
Node: Basic customization8366
|
||||
Node: Key bindings8966
|
||||
Node: Global key bindings9158
|
||||
Node: Minibuffer key bindings11579
|
||||
Node: Key bindings for navigation12811
|
||||
Node: Key bindings for single selection action then exit minibuffer14018
|
||||
Node: Key bindings for multiple selections and actions keep minibuffer open16701
|
||||
Node: Key bindings that alter the minibuffer input19323
|
||||
Node: Other key bindings21272
|
||||
Node: Hydra in the minibuffer21650
|
||||
Node: Saving the current completion session to a buffer24068
|
||||
Node: Completion Styles25480
|
||||
Node: ivy--regex-plus27243
|
||||
Node: ivy--regex-ignore-order28730
|
||||
Node: ivy--regex-fuzzy29096
|
||||
Node: Customization29587
|
||||
Node: Faces29773
|
||||
Node: Defcustoms32211
|
||||
Node: Actions33551
|
||||
Node: What are actions?33877
|
||||
Node: How can different actions be called?34695
|
||||
Node: How to modify the actions list?35262
|
||||
Node: Example - add two actions to each command35922
|
||||
Node: How to undo adding the two actions36882
|
||||
Node: How to add actions to a specific command37336
|
||||
Node: Example - define a new command with several actions37752
|
||||
Node: Test the above function with ivy-occur38689
|
||||
Node: Packages39533
|
||||
Node: Commands40501
|
||||
Node: File Name Completion40686
|
||||
Node: Using TRAMP42695
|
||||
Node: Buffer Name Completion44192
|
||||
Node: Counsel commands44820
|
||||
Node: API45467
|
||||
Node: Required arguments for ivy-read46045
|
||||
Node: Optional arguments for ivy-read46564
|
||||
Node: Example - counsel-describe-function50012
|
||||
Node: Example - counsel-locate52957
|
||||
Node: Example - ivy-read-with-extra-properties56802
|
||||
Node: Variable Index58088
|
||||
Node: Keystroke Index65212
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Local Variables:
|
||||
coding: utf-8
|
||||
Info-documentlanguage: en
|
||||
End:
|
||||
|
||||
Reference in New Issue
Block a user