From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Smaller Face: wrap margin
Date: Thu, 24 Jun 2004 09:56:02 +0900 [thread overview]
Message-ID: <b9yfz8lzsd9.fsf@jpl.org> (raw)
In-Reply-To: <w4vfhip4hf.fsf@mid.packer.its.vanderbilt.edu>
>>>>> In <w4vfhip4hf.fsf@mid.packer.its.vanderbilt.edu>
>>>>> "Andrew A. Raines" <aaraines@pobox.com> 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 <v9brjautzo.fsf@marauder.physik.uni-ulm.de>
>>>>> 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 <yamaoka@jpl.org>
prev parent reply other threads:[~2004-06-24 0:56 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
2004-06-23 17:29 ` Andrew A. Raines
2004-06-24 0:56 ` Katsumi Yamaoka [this message]
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=b9yfz8lzsd9.fsf@jpl.org \
--to=yamaoka@jpl.org \
/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).