From d40c020d1ef7ecd613cefb49e96f386c75a74281 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 10 Mar 1998 17:50:28 +0000 Subject: [PATCH] tm 7.105.2. --- ChangeLog | 22 ++++++++++++++++++++++ Makefile | 2 +- src/ol2.c | 2 +- tm-def.el | 14 +++++++------- tm-ew-d.el | 12 ++++++------ tm-image.el | 4 ++-- 6 files changed, 39 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1482604..e4325b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +1997-03-10 MORIOKA Tomohiko + + * emu: Version 7.40 was released. + * tl: Version 7.61.18 was released. + * MEL: Version 6.2.3 was released. + * tm: Version 7.105.2 was released. + * gnus-mime: Version 0.15 was released. + +1997-03-10 MORIOKA Tomohiko + + * tm-image.el: Use `exec-installed-p' instead of + `file-installed-p' to search `uncompface-program'. + +1997-03-06 MORIOKA Tomohiko + + * tm-ew-d.el (mime/decode-encoded-word): Use function + `add-text-properties' instead of `tl:add-text-properties'. + + * tm-def.el (tm:add-button): Use function `add-text-properties' + instead of `tl:add-text-properties'. + + 1997-03-03 MORIOKA Tomohiko * emu: Version 7.38.1 was released. diff --git a/Makefile b/Makefile index cfdbe05..0ae3576 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # $Id: Makefile,v 7.45 1997/01/10 15:42:29 morioka Exp morioka $ # -VERSION = 7.105.1 +VERSION = 7.105.2 SHELL = /bin/sh MAKE = make diff --git a/src/ol2.c b/src/ol2.c index 3190414..f4a3132 100644 --- a/src/ol2.c +++ b/src/ol2.c @@ -21,7 +21,7 @@ main() unsigned short i; unsigned short code; - if(gets(str)==NULL) break; + if(fgets(str, sizeof(str), stdin)==NULL) break; for(d=0, cp=str; ;d++){ if(*cp++!='*') break; diff --git a/tm-def.el b/tm-def.el index 332a9e7..3686df9 100644 --- a/tm-def.el +++ b/tm-def.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: tm-def.el,v 7.71 1997/02/13 14:29:53 morioka Exp $ +;; Version: $Id: tm-def.el,v 7.72 1997/03/06 17:52:22 morioka Exp $ ;; Keywords: mail, news, MIME, multimedia, definition ;; This file is part of tm (Tools for MIME). @@ -118,12 +118,12 @@ "Create a button between FROM and TO with callback FUNC and data DATA." (and tm:button-face (tl:overlay-put (tl:make-overlay from to) 'face tm:button-face)) - (tl:add-text-properties from to - (append (and tm:mouse-face - (list 'mouse-face tm:mouse-face)) - (list 'tm-callback func) - (and data (list 'tm-data data)) - )) + (add-text-properties from to + (append (and tm:mouse-face + (list 'mouse-face tm:mouse-face)) + (list 'tm-callback func) + (and data (list 'tm-data data)) + )) ) (defvar tm:mother-button-dispatcher nil) diff --git a/tm-ew-d.el b/tm-ew-d.el index 9ebf125..57a7a4f 100644 --- a/tm-ew-d.el +++ b/tm-ew-d.el @@ -9,7 +9,7 @@ ;; Original: 1992/07/20 ENAMI Tsugutomo's `mime.el'. ;; Renamed: 1993/06/03 to tiny-mime.el. ;; Renamed: 1995/10/03 from tiny-mime.el. (split off encoder) -;; Version: $Revision: 7.39 $ +;; Version: $Revision: 7.40 $ ;; Keywords: encoded-word, MIME, multilingual, header, mail, news ;; This file is part of tm (Tools for MIME). @@ -42,7 +42,7 @@ ;;; (defconst tm-ew-d/RCS-ID - "$Id: tm-ew-d.el,v 7.39 1997/01/21 06:17:18 shuhei-k Exp $") + "$Id: tm-ew-d.el,v 7.40 1997/03/06 17:53:51 morioka Exp $") (defconst mime/eword-decoder-version (get-version-string tm-ew-d/RCS-ID)) @@ -199,10 +199,10 @@ as a version of Net$cape). [tm-ew-d.el]" (condition-case err (mime/decode-encoded-text charset encoding text must-unfold) (error - (and (tl:add-text-properties 0 (length word) - (and tm:warning-face - (list 'face tm:warning-face)) - word) + (and (add-text-properties 0 (length word) + (and tm:warning-face + (list 'face tm:warning-face)) + word) word))) )) word)) diff --git a/tm-image.el b/tm-image.el index 80dd34b..7ec037e 100644 --- a/tm-image.el +++ b/tm-image.el @@ -7,7 +7,7 @@ ;; Dan Rich ;; Maintainer: MORIOKA Tomohiko ;; Created: 1995/12/15 -;; Version: $Id: tm-image.el,v 7.28 1997/02/13 04:39:19 morioka Exp $ +;; Version: $Id: tm-image.el,v 7.29 1997/03/10 13:12:15 morioka Exp $ ;; Keywords: image, picture, X-Face, MIME, multimedia, mail, news @@ -90,7 +90,7 @@ ;; ;; X-Face ;; - (if (file-installed-p uncompface-program exec-path) + (if (exec-installed-p uncompface-program) (add-hook 'mime-viewer/content-header-filter-hook 'x-face-decode-message-header) ) -- 1.7.10.4