On Mon, Apr 03 2006, Ted Zlatanov wrote:

> The Gnus code has a mailcap.el file, in which the function
> mailcap-parse-mailcaps parses the appropriate files.  I would suggest
> looking at it to see how your idea can be done correctly.  mailcap.el
> is in the Emacs Lisp tree as well, if you don't want to depend on Gnus
> itself but still want to use this functionality.

There's also `gnus-dired.el':

,----[ (info "(gnus)Other modes") ]
| `gnus-dired-minor-mode' provided 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-l'
|      Visit a file according to the appropriate mailcap entry
|      (`gnus-dired-find-file-mailcap').  With prefix, open file in a new
|      buffer.
`----

Bye, Reiner.
Crosspost & Followup-To: gnu.emacs.help
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to