Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine modes in a consult source #876

Closed
grolongo opened this issue Oct 21, 2023 · 0 comments
Closed

Combine modes in a consult source #876

grolongo opened this issue Oct 21, 2023 · 0 comments

Comments

@grolongo
Copy link

Hi,

is it possible to combine different modes in a single source?
I have a Gnus source for which I would like to have all buffers with gnus-summary-mode gnus-article-mode and gnus-group-mode.
eg:

(defvar consult--source-gnus
  (list :name     "Gnus"
        :hidden   t
        :narrow   ?g
        :category 'buffer
        :state    #'consult--buffer-state
        :items    '(lambda () (consult--buffer-query :mode 'gnus-article-mode :mode 'gnus-summary-mode :mode 'gnus-group-mode :as #'buffer-name))))
Repository owner locked and limited conversation to collaborators Oct 22, 2023
@minad minad converted this issue into discussion #877 Oct 22, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant