Function: forge-read-discussion

forge-read-discussion is a byte-compiled function defined in forge-discussion.el.

Signature

(forge-read-discussion PROMPT)

Documentation

Read an active discussion with completion using PROMPT.

Open, unread and pending discussions are considered active. Default to the current discussion, even if it isn't active.

While completion is in progress, + (forge-read-topic-lift-limit) lifts the limit, extending the completion candidates to include all discussions.

If forge-limit-topic-choices is nil, then all candidates can be selected from the start.

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-discussion.el
;;; Read

(defun forge-read-discussion (prompt)
  "Read an active discussion with completion using PROMPT.

Open, unread and pending discussions are considered active.
Default to the current discussion, even if it isn't active.

\\<forge-read-topic-minibuffer-map>While completion is in \
progress, \\[forge-read-topic-lift-limit] lifts the limit, extending
the completion candidates to include all discussions.

If `forge-limit-topic-choices' is nil, then all candidates
can be selected from the start."
  (forge--read-topic prompt
                     #'forge-current-discussion
                     (forge--topics-spec :type 'discussion :active t)
                     (forge--topics-spec :type 'discussion :active nil
                                         :state nil :limit nil)))