Mercurial > emacs
comparison lisp/gnus/compface.el @ 72425:4fa1b5c6a34c
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 123-125)
- Update from CVS
2006-08-09 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/compface.el (uncompface): Use binary rather than raw-text-unix.
2006-08-09 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/compface.el (uncompface): Make sure the eol conversion doesn't take
place when communicating with the external programs. Reported by
ARISAWA Akihiro <ari@mbf.ocn.ne.jp>.
2006-07-31 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/nnheader.el (nnheader-insert-head): Fix typo in comment.
2006-07-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
* lisp/gnus/nnweb.el (nnweb-google-parse-1): Update regexp for author and date.
Make it more robust by parsing author and date independently.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-398
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 16 Aug 2006 14:04:41 +0000 |
parents | 1077b8039c32 |
children | e3694f1cb928 |
comparison
equal
deleted
inserted
replaced
72424:068203ad5df7 | 72425:4fa1b5c6a34c |
---|---|
32 Requires the external programs `uncompface', and `icontopbm'. On a | 32 Requires the external programs `uncompface', and `icontopbm'. On a |
33 GNU/Linux system these might be in packages with names like `compface' | 33 GNU/Linux system these might be in packages with names like `compface' |
34 or `faces-xface' and `netpbm' or `libgr-progs', for instance." | 34 or `faces-xface' and `netpbm' or `libgr-progs', for instance." |
35 (with-temp-buffer | 35 (with-temp-buffer |
36 (insert face) | 36 (insert face) |
37 (and (eq 0 (apply 'call-process-region (point-min) (point-max) | 37 (let ((coding-system-for-read 'raw-text) |
38 "uncompface" | 38 ;; At least "icontopbm" doesn't work with Windows because |
39 'delete '(t nil) nil)) | 39 ;; the line-break code is converted into CRLF by default. |
40 (progn | 40 (coding-system-for-write 'binary)) |
41 (goto-char (point-min)) | 41 (and (eq 0 (apply 'call-process-region (point-min) (point-max) |
42 (insert "/* Width=48, Height=48 */\n") | 42 "uncompface" |
43 ;; I just can't get "icontopbm" to work correctly on its | 43 'delete '(t nil) nil)) |
44 ;; own in XEmacs. And Emacs doesn't understand un-raw pbm | 44 (progn |
45 ;; files. | 45 (goto-char (point-min)) |
46 (if (not (featurep 'xemacs)) | 46 (insert "/* Width=48, Height=48 */\n") |
47 (eq 0 (call-process-region (point-min) (point-max) | 47 ;; I just can't get "icontopbm" to work correctly on its |
48 "icontopbm" | 48 ;; own in XEmacs. And Emacs doesn't understand un-raw pbm |
49 'delete '(t nil))) | 49 ;; files. |
50 (shell-command-on-region (point-min) (point-max) | 50 (if (not (featurep 'xemacs)) |
51 "icontopbm | pnmnoraw" | 51 (eq 0 (call-process-region (point-min) (point-max) |
52 (current-buffer) t) | 52 "icontopbm" |
53 t)) | 53 'delete '(t nil))) |
54 (buffer-string)))) | 54 (shell-command-on-region (point-min) (point-max) |
55 "icontopbm | pnmnoraw" | |
56 (current-buffer) t) | |
57 t)) | |
58 (buffer-string))))) | |
55 | 59 |
56 (provide 'compface) | 60 (provide 'compface) |
57 | 61 |
58 ;;; arch-tag: f9c78e84-98c0-4142-9682-8ba4cf4c3441 | 62 ;;; arch-tag: f9c78e84-98c0-4142-9682-8ba4cf4c3441 |
59 ;;; compface.el ends here | 63 ;;; compface.el ends here |