* gnus-art.el (gnus-treat-hide-citation-maybe): Add more doc to the string.
[gnus] / lisp / gnus-fun.el
1 ;;; gnus-fun.el --- various frivolous extension functions to Gnus
2
3 ;; Copyright (C) 2002-2011 Free Software Foundation, Inc.
4
5 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
6 ;; Keywords: news
7
8 ;; This file is part of GNU Emacs.
9
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation, either version 3 of the License, or
13 ;; (at your option) any later version.
14
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 ;; GNU General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
22
23 ;;; Commentary:
24
25 ;;; Code:
26
27 ;; For Emacs <22.2 and XEmacs.
28 (eval-and-compile
29   (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
30
31 (eval-when-compile
32   (require 'cl))
33
34 (require 'mm-util)
35 (require 'gnus-ems)
36 (require 'gnus-util)
37 (require 'gnus)
38
39 (defvar gnus-face-properties-alist)
40
41 (defcustom gnus-x-face-directory (expand-file-name "x-faces" gnus-directory)
42   "*Directory where X-Face PBM files are stored."
43   :version "22.1"
44   :group 'gnus-fun
45   :type 'directory)
46
47 (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface"
48   "Command for converting a PBM to an X-Face."
49   :version "22.1"
50   :group 'gnus-fun
51   :type 'string)
52
53 (defcustom gnus-convert-image-to-x-face-command
54   "convert -scale 48x48! %s xbm:- | xbm2xface.pl"
55   "Command for converting an image to an X-Face.
56 The command must take a image filename (use \"%s\") as input.
57 The output must be the Face header data on stdout in PNG format.
58
59 By default it takes a GIF filename and output the X-Face header data
60 on stdout."
61