Function: projectile-report-copy

projectile-report-copy is an autoloaded, interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-report-copy)

Documentation

Copy the current report buffer to the kill ring as plain text.

Strips the faces and buttons, so what lands in the clipboard is exactly the text of the report - ready to paste into an issue, an email or a chat window without dragging Emacs's text properties along.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-report-copy ()
  "Copy the current report buffer to the kill ring as plain text.

Strips the faces and buttons, so what lands in the clipboard is exactly
the text of the report - ready to paste into an issue, an email or a
chat window without dragging Emacs\\='s text properties along."
  (interactive)
  (unless (derived-mode-p 'projectile-doctor-mode 'projectile-dashboard-mode)
    (user-error "Not in a Projectile report buffer"))
  (let ((text (buffer-substring-no-properties (point-min) (point-max))))
    (kill-new text)
    (message "Copied %d lines of %s to the kill ring"
             (count-lines (point-min) (point-max))
             (if (derived-mode-p 'projectile-doctor-mode) "the report" "the dashboard"))))