(gnus-x-face-from-file):
authorSimon Josefsson <jas@extundo.com>
Fri, 17 Jan 2003 09:02:08 +0000 (09:02 +0000)
committerSimon Josefsson <jas@extundo.com>
Fri, 17 Jan 2003 09:02:08 +0000 (09:02 +0000)
(gnus-face-from-file): Suggest image format in minibuffer prompt.
(gnus-convert-image-to-x-face-command)
(gnus-convert-image-to-face-command): Doc fix.

lisp/ChangeLog
lisp/gnus-fun.el

index ef7afd8..9b2c2ee 100644 (file)
@@ -1,3 +1,11 @@
+2003-01-17  Simon Josefsson  <jas@extundo.com>
+
+       * gnus-fun.el (gnus-x-face-from-file): 
+       (gnus-face-from-file): Suggest image format in minibuffer prompt.
+
+       * gnus-fun.el (gnus-convert-image-to-x-face-command)
+       (gnus-convert-image-to-face-command): Doc fix.
+
 2003-01-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-fun.el (gnus-convert-face-to-png): Protect against errors.
index a3d41c6..b2cf411 100644 (file)
   :type 'string)
 
 (defcustom gnus-convert-image-to-x-face-command "giftopnm %s | ppmnorm | pnmscale -width 48 -height 48 | ppmtopgm | pgmtopbm | pbmtoxbm | compface"
-  "Command for converting an image to an X-Face."
+  "Command for converting an image to an X-Face.
+By default it takes a GIF filename and output the X-Face header data
+on stdout."
   :group 'gnus-fun
   :type 'string)
 
 (defcustom gnus-convert-image-to-face-command "djpeg %s | ppmnorm | pnmscale -width 48 -height 48 | ppmquant %d | pnmtopng"
-  "Command for converting an image to an X-Face."
+  "Command for converting an image to an Face.
+By default it takes a JPEG filename and output the Face header data
+on stdout."
   :group 'gnus-fun
   :type 'string)
 
@@ -86,7 +90,7 @@ Output to the current buffer, replace text, and don't mingle error."
 ;;;###autoload
 (defun gnus-x-face-from-file (file)
   "Insert an X-Face header based on an image file."
-  (interactive "fImage file name: ")
+  (interactive "fImage file name (by default GIF): ")
   (when (file-exists-p file)
     (gnus-shell-command-to-string
      (format gnus-convert-image-to-x-face-command
@@ -95,7 +99,7 @@ Output to the current buffer, replace text, and don't mingle error."
 ;;;###autoload
 (defun gnus-face-from-file (file)
   "Return an Face header based on an image file."
-  (interactive "fImage file name: ")
+  (interactive "fImage file name (by default JPEG): ")
   (when (file-exists-p file)
     (let ((done nil)
          (attempt "")