Skip to content

Interaction with other modes ​

10.23.1 Dired ​

gnus-dired-minor-mode provides some useful functions for dired buffers. It is enabled with

emacs-lisp
(add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)

C-c C-m C-a ​

Send dired’s marked files as an attachment (gnus-dired-attach). The function prompts for a message buffer, and by default attaches files to the end of that buffer; customize gnus-dired-attach-at-end to place the attachments at point instead.

C-c C-m C-l ​

Visit a file according to the appropriate mailcap entry (gnus-dired-find-file-mailcap). With prefix, open file in a new buffer.

C-c C-m C-p ​

Print file according to the mailcap entry (gnus-dired-print). If there is no print command, print in a PostScript image.