Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: Smaller Face: wrap margin
Date: Wed, 23 Jun 2004 18:19:55 +0200	[thread overview]
Message-ID: <v9brjautzo.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <w48yeeqo61.fsf@mid.packer.its.vanderbilt.edu>

On Wed, Jun 23 2004, Andrew A. Raines wrote:

> Lines ending in column 68 in the first example look much better
> than 84 in the second.

For some reason, the leading whitespace in your Face header are TABs
rather than SPC.  Normally (insert "Face: " (gnus-face-from-file
"foo.jpg")) produces:

Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEVwbVC1xq5NKydXVTj8
 /faSlnbx8uf8/PtZN2mPAAACbUlEQVR4nG2TTW/bMAyG6QjaOUJi5epJ6N2V4N0LCM5VisHuOmOO
 [...]
 79eIYrImy3oCyr1oxgviNb1ivyu/ZhydOm95No3OBWcXZwFjL3Pbf6vH23hMab+cbTpecZvllNRq
 31LCtbsm4LRemJT+AtYTGXO2veglAAAAAElFTkSuQmCC

(Note the leading SPC.)  The only ugliness is, that the first line is
one char longer than the others.

--- gnus-fun.el.~7.4.~	Thu May 20 17:39:10 2004
+++ gnus-fun.el	Wed Jun 23 18:09:52 2004
@@ -156,7 +156,7 @@
 	nil))))
 
 (defun gnus-face-encode ()
-  (let ((step 72))
+  (let ((step (- 76 (length "Face:"))))
     (base64-encode-region (point-min) (point-max))
     (goto-char (point-min))
     (while (search-forward "\n" nil t)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




  reply	other threads:[~2004-06-23 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 15:39 Andrew A. Raines
2004-06-23 16:19 ` Reiner Steib [this message]
2004-06-23 17:29   ` Andrew A. Raines
2004-06-24  0:56     ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9brjautzo.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=reiner.steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).