From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57968 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Smaller Face: wrap margin Date: Thu, 24 Jun 2004 09:56:02 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088038717 3480 80.91.224.253 (24 Jun 2004 00:58:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Jun 2004 00:58:37 +0000 (UTC) Original-X-From: ding-owner+M6509@lists.math.uh.edu Thu Jun 24 02:58:31 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BdIZS-0003Jv-00 for ; Thu, 24 Jun 2004 02:58:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BdIXL-0008UL-00; Wed, 23 Jun 2004 19:56:19 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BdIXD-0008UF-00 for ding@lists.math.uh.edu; Wed, 23 Jun 2004 19:56:11 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BdIXB-0000Bf-3a for ding@lists.math.uh.edu; Wed, 23 Jun 2004 19:56:09 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 341EC3A0050 for ; Wed, 23 Jun 2004 19:56:07 -0500 (CDT) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.34) id 1BdIXD-0007wc-MM for ding@gnus.org; Wed, 23 Jun 2004 20:56:12 -0400 Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAC+f3//375/X3//f 3++vr6+nn8/f3//vn++fz//nn++Xz////9/fz9/Xz9/Pz/EyPOLAAACLElEQVR4nG2Uz4vTQBSAXxl 0L0t3g+vCJOygkcoa5pAa4qnUW2FvaikiFBGEPdTFv0EKe1mKMJDDkpNGWtoSC4E9i7Z0DzIL/gkJB cEVWu+COP2VTNPOIWTel483ee8lwOM1MO1kwyG+GwLYlQ2gDABWubIGTBEHVLELKfAVZuB52aqsglk Y2aZtoYIM5sJ8oaoE4qC1BchOQCKY4hBWNQZmbCALFgrMXy1Z4qHKEgykeOatMKoLkKRAr48/L5Kkg EqNcDRLMgVPYpA94blXIcAaiBpc/4QArYFfOu/3kLk0kiO5lPNWYsQAt4Vx34S0kXE9YRg/1oy/7aY wciljJxu5dd2nXA9haw7mFQlDeNQ8bOv6992lMashGonL9VnXekh34YZsFMPJBLd64c/mB9iWcqAgY MxRFdb13kFBAv+ICURraWRfvwPLfkwbGI2yO+NIVf5c+/cQl2o1JkT7Qvz3vz1+FYNpP6IocNy9hqF 69Nu23POiho9aHdoX1boqxFMiDpVnat1r+5xTfrkyPgSXDjv7tJ/T+VAeuEzeOT9zaw1+VqfS7A4eW wfaUQd32vqDli4PtXUz76jsgqndj26DytNePMCaRgi53cPNle/DYg5jQRD4Ty+erYCBEMRSuj3srwA esb1JxlVvRW4KvBQpwrFyTBYpYjBkoh/MM2peCvA3GGOtZBg0De4qzHXUZVj+ZRCMS6f9DeBSdT1/k 8FfKKfdjYAbtZNk8x/aCTOjOzFo8AAAAABJRU5ErkJggg== User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:HA1+r8oa02SHt7splTep7t02+Co= X-Hashcash: 0:040624:ding@gnus.org:7e3e21324fd281df X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57968 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57968 >>>>> In >>>>> "Andrew A. Raines" wrote: > If I run gnus-face-from-file in *scratch* with C-j, I see the right > output, but for some reason message-required-*-headers throws that > TAB in there. Any ideas? message-fill-field does it, can be avoided by the following: (push '(Face ignore) message-field-fillers) >>>>> In >>>>> Reiner Steib <4.uce.03.r.s@nurfuerspam.de> wrote: > The only ugliness is, that the first line is one char longer than > the others. > (defun gnus-face-encode () > - (let ((step 72)) > + (let ((step (- 76 (length "Face:")))) > (base64-encode-region (point-min) (point-max)) That function seems to become simple by letting b64-e-r not make line breaking as follows: (defun gnus-face-encode () (base64-encode-region (point-min) (point-max) t) (goto-char (min (+ (point-min) 71) (point-max))) (while (not (eobp)) (insert "\n ") (goto-char (min (+ (point) 76) (point-max)))) (buffer-string)) I think it is possible to enlarge each line length, though. An example is in this message header. -- Katsumi Yamaoka