Gnus development mailing list
 help / color / mirror / Atom feed
* Face header ugly
@ 2005-11-08 12:56 Zlatko Calusic
  2005-11-08 14:47 ` Glyn Millington
  2005-11-08 15:08 ` Reiner Steib
  0 siblings, 2 replies; 11+ messages in thread
From: Zlatko Calusic @ 2005-11-08 12:56 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-11-08 23:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08 12:56 Face header ugly Zlatko Calusic
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

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).