松尾です。 image-without-temp-file branchに、なるべく外部プログラムを 呼ばないようにする変更をcommitしてみました。
・twittering-image-type()で最初にimage-type-from-data()を 試みるようにしました。Emacsが対応している形式であれば、 "file"を実行せずにフォーマットが分かります。 ・twittering-retrieve-image()で、取得した画像が次の条件を 満たす場合には"convert"の呼び出しを行わないようにしました。 1.Emacsがsupportしているフォーマットである 2.サイズがtwittering-convert-fix-sizeで指定したものと同じ こちらではアイコン表示がよりスムーズになったような気がします。 Emacsが対応していれば外部プログラムなしでicon表示ができる はずです。 GNU Emacs 22.2.1 (Debian lenny) GNU Emacs 22.1.1 (NTEmacs on Windows XP) で確認しています。 いかがでしょうか。 --- 松尾 直志 <t...@mymail.twin.jp> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ twmode-users mailing list twmode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/twmode-users