auto-complete / popup-el

Visual Popup Interface Library for Emacs
GNU General Public License v3.0
451 stars 96 forks source link

Keep custom item face for isearch. #109

Closed kostafey closed 4 years ago

kostafey commented 7 years ago

The following menu for example is created with custom font-lock-keyword-face foreground:

(let ((my-custom-face `(:foreground ,(face-attribute
                                      'font-lock-keyword-face :foreground)
                        :background ,(face-attribute
                                      'popup-face :background))))
  (popup-menu* (list
                (popup-make-item "abc" :face my-custom-face)
                (popup-make-item "bcd" :face my-custom-face)
                (popup-make-item "cde" :face my-custom-face))
               :isearch t))

then I type "b" and items style returned to default. Is it possible to keep custom face for isearch too?

syohex commented 7 years ago

Sorry very too late response. Could you show us screencast or screenshots about this issue ? I suppose I cannot reproduce.

kostafey commented 7 years ago

Bottom "abc" style returned to default: output

syohex commented 7 years ago

popup

I cannot reproduce as above gif. Is this your theme problem ?

jcs090218 commented 4 years ago

@kostafey Ping! :)

kostafey commented 4 years ago

@jcs090218, hello! Thank you for auto-complete projects support! The problem in fuzzy-matching (via flx) faces, which overwrite popup-el ones. Looks like it is not the issue of popup-el itself.