Next: , Previous: , Up: Various   [Contents][Index]

10.22 Interaction with other modes

10.22.1 Dired

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

(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.