Spacemacs helm中无法正确显示prefix

如图,只在第二层显示不正常。

即使把自定layer注释以后也还是这样。

spacemascs版本[email protected] GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version 10.12 (Build 16A323)) of 2016-10-22 Mac OS 10.12.1

可能是package更新导致支持问题吗?

根据https://github.com/syl20bnr/spacemacs/pull/6435添加的layer 但是应该不是这个layer的问题,因为注释掉以后问题还是存在。

(defconst emms-packages
  '(
    (emms :location (recipe
                     :fetcher github
                     :repo "alejandroerickson/emms"
                     :files ("lisp/*.el"
                             ("cd-here-and-make-emms-print-metadata-and-put-in-path" "Makefile")
                             ("cd-here-and-make-emms-print-metadata-and-put-in-path/src" "src/*")
                             )
                     )
          )
    emms-state
    helm-emms
   ))

(setq emms-excluded-packages '())

(defun emms/init-emms ()
  "Initialize my package"
  (use-package emms
    :defer t
    :init
    (progn
      ;; TODO: find a better global key, more evily
      (global-set-key [(f7)] 'emms-smart-browse)
      (spacemacs/declare-prefix "am" "music")
      (spacemacs/declare-prefix "ame" "EMMS")
      (spacemacs/set-leader-keys
        "ames" 'emms-streams
        "ameb" 'emms-browser
        "amep" 'emms-playlist-mode-go
        "ameo" 'emms-show
        "a SPC" 'emms-play-pause-dwim
        "a ." 'emms-next
        "a ," 'emms-previous
        "a RET" 'emms-smart-browse
        )

      (add-hook 'emms-browser-show-display-hook 'evil-initialize)
      (add-hook 'emms-stream-hook 'evil-initialize)
      )
    :config
    (progn
      ;; (require 'emms-setup)
      (emms-all)
      (emms-mode-line 0)
      (emms-playing-time 0)
      (emms-default-players)
      (setq emms-player-list '(emms-player-mplayer))
      (setq emms-source-file-default-directory "/Applications/osu!.app/Contents/Resources/drive_c/osu!/Songs/")
      (setq emms-playlist-buffer-name "*iTunes*")
      (autoload 'emms-smart-browse "emms-browser.el" "Browse with EMMS" t)
      (define-key emms-browser-mode-map (kbd "D") 'emms-browser-move-files-to-trash)
      (define-key emms-browser-mode-map (kbd "t") 'emms-browser-toggle-subitems)
      (require 'emms-info-libtag)
      (setq emms-info-functions '(emms-info-libtag))

      (evilified-state-evilify-map emms-stream-mode-map
        :mode emms-stream-mode
        )
      (evilified-state-evilify-map emms-mark-mode-map
        :mode emms-mark-mode
        :bindings
        "t" 'emms-mark-toggle
        "u" 'emms-mark-unmark-forward
        "K" 'emms-mark-kill-marked-tracks
        "M" 'emms-mark-mode-disable
        )
      (evilified-state-evilify-map emms-playlist-mode-map
        :mode emms-playlist-mode
        :bindings
        "l" 'emms-next
        "h" 'emms-previous
        "H" 'emms-playlist-mode-first
        "L" 'emms-playlist-mode-last
        "W" 'emms-playlist-save
        ;; P also works for emms-pause but it's kind of a stupid binding.
        ;; can't use SPC, so we'll make do with TAB
        (kbd "TAB") 'emms-pause
        "," 'emms-seek-minute-backward
        "." 'emms-seek-minute-forward
        "u" 'emms-playlist-mode-undo
        "p" 'emms-playlist-mode-yank
        "P" 'emms-playlist-mode-yank-pop
        "O" 'emms-playlist-mode-insert-newline
        ;; having trouble with this because it is
        ;; sometimes calling 'emms-playlist-mode-current-kill
        "K" 'emms-mark-kill-marked-tracks
        "M" 'emms-mark-mode
        )
      (evilified-state-evilify-map emms-browser-mode-map
        :mode emms-browser-mode
        :bindings
        ;; since this is normally SPC
        "t" 'emms-browser-toggle-subitems
        ;; makes more sense than C-j
        (kbd "<S-return>") 'emms-browser-add-tracks-and-play
        )
      )
    )
  )

(defun emms/init-emms-state ()
  (use-package emms-state
    ;; for some reason if this is deferred you can't bring up the smart browser.
    :config
    (emms-state-mode 0)
    ))

(defun emms/init-helm-emms ()
  (use-package helm-emms
    :defer t
    )
  )

我的.spacemacs文件里面应该也没有问题

可能是which-key的问题,我之前显示也有问题,今天更新了一下packages就好了

我的which-key是melpa-cn的20161125.600版本。应该是最新的吧。

在github提了issue,确认是which-key的原因,更新以后好了

详细内容