Gnus development mailing list
 help / color / mirror / Atom feed
From: Zlatko Calusic <zlatko.calusic@iskon.hr>
Subject: Face header ugly
Date: Tue, 08 Nov 2005 13:56:11 +0100	[thread overview]
Message-ID: <dn7jbjcn84.fsf@magla.zg.iskon.hr> (raw)

As you can see from the headers of this email, my Face header looks
pretty ugly if you're looking at it on the standard 80-column display.

It seems that the problem comes from the fact that the continuation
lines use tabs at the beggining of the continuation lines instead of
spaces (so the lines end up being more that 80 characters long and
wrap).

So I went digging the source and found the function that encodes face
header which is:

(defun gnus-face-encode ()
  (let ((step 72))
    (base64-encode-region (point-min) (point-max))
    (goto-char (point-min))
    (while (search-forward "\n" nil t)
      (replace-match ""))
    (goto-char (point-min))
    (while (> (- (point-max) (point))
	      step)
      (forward-char step)
      (insert "\n ")
      (setq step 76))
    (buffer-string)))

That is from gnus debian unstable package (strangely named
5.10.6-1.NO.20051020-1). And in the line (insert "\n "), there is
definitely a space, not tab (checked with C-u C-x =). So, now I'm very
confused...

Who or what and why is messing with my face??? :)
-- 
Zlatko



             reply	other threads:[~2005-11-08 12:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 12:56 Zlatko Calusic [this message]
2005-11-08 14:47 ` Glyn Millington
2005-11-08 19:39   ` Zlatko Calusic
2005-11-08 21:33     ` Glyn Millington
2005-11-08 21:33       ` Zlatko Calusic
2005-11-08 23:02         ` Glyn Millington
2005-11-08 15:08 ` Reiner Steib
2005-11-08 19:25   ` Zlatko Calusic
2005-11-08 21:48     ` Zlatko Calusic
2005-11-08 23:01       ` Katsumi Yamaoka
2005-11-08 23:54         ` Zlatko Calusic

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=dn7jbjcn84.fsf@magla.zg.iskon.hr \
    --to=zlatko.calusic@iskon.hr \
    /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).