popper icon indicating copy to clipboard operation
popper copied to clipboard

Helpful not getting POP label

Open bhepple opened this issue 2 years ago • 6 comments

A suggestion - you might want to put a more complete popper-reference-buffers in the README and doco. Also, the version for 'helpful' now (emacs-29) needs to be:

          "^\\*helpful .*\\*"

bhepple avatar Mar 30 '23 12:03 bhepple

Thanks. Do you have a suggestion for a "batteries-included" popper-reference-buffers? Mine is rather idiosyncratic, since I do some matching by predicates, and don't use popular packages like Helpful.

karthink avatar May 20 '23 06:05 karthink

Not sure how comprehensive it is, but here's mine - idiosyncratic in my own way, no doubt:

;;;*** popper
(use-package popper
  :ensure t ; or :straight t
  :bind (("C-'"   . popper-toggle-latest)
         ("M-'"   . popper-cycle)
         ("C-M-'" . popper-toggle-type))
  :init
  (setq popper-reference-buffers
        '("\\*Messages\\*"
          "^\\*Warnings\\*"
          "Output\\*$"
          "\\*Async Shell Command\\*"
          "\\*Shell Command Output\\*"
          help-mode
          "^\\*helpful .*\\*"
          completions
          compilation-mode))
  (popper-mode +1)
  (popper-echo-mode +1))                ; For echo area hints

bhepple avatar May 20 '23 06:05 bhepple

Does using helpful-mode instead of "^\\*helpful .*\\*" work?

karthink avatar Jun 18 '23 19:06 karthink

No - it does not work. The buffer-menu entry for helpful buffers looks like this:

 %* *helpful command: helpful-key*    1457 Helpful          command: helpful-key

bhepple avatar Jun 18 '23 22:06 bhepple

Does using helpful-mode instead of "^\\*helpful .*\\*" work?

It does seem to work for me, but them I'm running Emacs30 at the moment. Maybe worth trying it again with Emacs29?

magthe avatar Aug 08 '23 19:08 magthe

Yes - "helpful-mode" works now with emacs-29.1

bhepple avatar Aug 10 '23 07:08 bhepple