* mml-preview is bugging out these days
@ 2002-01-07 1:58 Karl Kleinpaste
2002-01-07 2:42 ` ShengHuo ZHU
0 siblings, 1 reply; 6+ messages in thread
From: Karl Kleinpaste @ 2002-01-07 1:58 UTC (permalink / raw)
An X-Face problem. And the full colorization and other rendering of
the header is not completed.
Signaling: (args-out-of-range #<buffer "*MIME preview of mail to gnost"> 0 1)
make-extent(0 1)
gnus-put-image(#<glyph (buffer) #<image-specifier global=(... ... ...) fallback=(...) 0x10fb1>0x10fb0>)
gnus-display-x-face-in-from("?=p^Gj2JkX~UU_@W}[q/'Dxn19x-zfIQ](y<&ky/?1-&Nz&,!W}R.Gp+\"LeGojoR\n =RF>?!XVs{a:`Yt(gqM<#$Zy(C@]'dR4Hy4S1.I(n3:2\"R:=Uy!)K9>U!gNTyH{p\n +_w#F[gt).$Vyvo5=9LF^PeQ(@H#}QLAbfyYxX/8t:TDR5nA\\|RmJO\"EwjL8tWyvM\n")
article-display-x-face()
apply(article-display-x-face nil)
(if interactive (call-interactively (quote article-display-x-face)) (apply (quote article-display-x-face) args))
(save-excursion (set-buffer gnus-article-buffer) (if interactive (call-interactively ...) (apply ... args)))
gnus-article-display-x-face()
gnus-treat-article(head)
gnus-display-mime()
gnus-article-prepare-display()
mml-preview(nil)
call-interactively(mml-preview)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mml-preview is bugging out these days
2002-01-07 1:58 mml-preview is bugging out these days Karl Kleinpaste
@ 2002-01-07 2:42 ` ShengHuo ZHU
2002-01-09 15:26 ` Karl Kleinpaste
0 siblings, 1 reply; 6+ messages in thread
From: ShengHuo ZHU @ 2002-01-07 2:42 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
> An X-Face problem. And the full colorization and other rendering of
> the header is not completed.
>
> Signaling: (args-out-of-range #<buffer "*MIME preview of mail to gnost"> 0 1)
> make-extent(0 1)
Fixed.
ShengHuo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mml-preview is bugging out these days
2002-01-07 2:42 ` ShengHuo ZHU
@ 2002-01-09 15:26 ` Karl Kleinpaste
2002-01-11 21:44 ` ShengHuo ZHU
0 siblings, 1 reply; 6+ messages in thread
From: Karl Kleinpaste @ 2002-01-09 15:26 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
>> Signaling: (args-out-of-range #<buffer "*MIME preview of mail to gnost"> 0 1)
>> make-extent(0 1)
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> Fixed.
Thank you.
Now, previews, as well as articles in nndraft:drafts, are showing up
with a differently messed up header, reading as:
From:Subject: Some Subject Here
where the From: has been lost (well, there isn't one in the first
place, usually) and stuck to gether with the Subject.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mml-preview is bugging out these days
2002-01-09 15:26 ` Karl Kleinpaste
@ 2002-01-11 21:44 ` ShengHuo ZHU
2002-01-11 22:48 ` Karl Kleinpaste
0 siblings, 1 reply; 6+ messages in thread
From: ShengHuo ZHU @ 2002-01-11 21:44 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
> Karl Kleinpaste <karl@charcoal.com> writes:
>>> Signaling: (args-out-of-range #<buffer "*MIME preview of mail to gnost"> 0 1)
>>> make-extent(0 1)
>
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>> Fixed.
>
> Thank you.
>
> Now, previews, as well as articles in nndraft:drafts, are showing up
> with a differently messed up header, reading as:
>
> From:Subject: Some Subject Here
>
> where the From: has been lost (well, there isn't one in the first
> place, usually) and stuck to gether with the Subject.
It seems fine for me. "From: \n" is inserted if not exist, but it
seems the NL is invisible in your article buffer. I am not sure
why. Could you debug it? The code is in gnus-display-x-face-in-from.
ShengHuo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mml-preview is bugging out these days
2002-01-11 21:44 ` ShengHuo ZHU
@ 2002-01-11 22:48 ` Karl Kleinpaste
2002-01-11 23:22 ` ShengHuo ZHU
0 siblings, 1 reply; 6+ messages in thread
From: Karl Kleinpaste @ 2002-01-11 22:48 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 594 bytes --]
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> It seems fine for me. "From: \n" is inserted if not exist, but it
> seems the NL is invisible in your article buffer. I am not sure
> why. Could you debug it? The code is in gnus-display-x-face-in-from.
article-hide-boring-headers in gnus-art.el is (correctly) determining
that gnus-display-x-face-in-from's faked "From" line is empty, so it
is trying to remove it from visibility. I don't know why it doesn't
get rid of the entire line; I didn't chase the problem that far. The
patch below is a somewhat tacky but adequate fix to the problem.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-fun.diff --]
[-- Type: text/x-patch, Size: 372 bytes --]
--- lisp/gnus-fun.el.~1~ Mon Jan 7 12:45:32 2002
+++ lisp/gnus-fun.el Fri Jan 11 17:36:54 2002
@@ -177,8 +177,8 @@
(article-narrow-to-head)
(gnus-article-goto-header "from")
(when (bobp)
- (insert "From: \n")
- (forward-char -2))
+ (insert "From: [no `from' set]\n")
+ (forward-char -17))
(gnus-add-image
'xface
(gnus-put-image
[-- Attachment #3: Type: text/plain, Size: 66 bytes --]
It surprises me considerably that you don't see the misbehavior.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mml-preview is bugging out these days
2002-01-11 22:48 ` Karl Kleinpaste
@ 2002-01-11 23:22 ` ShengHuo ZHU
0 siblings, 0 replies; 6+ messages in thread
From: ShengHuo ZHU @ 2002-01-11 23:22 UTC (permalink / raw)
Karl Kleinpaste <karl@charcoal.com> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>> It seems fine for me. "From: \n" is inserted if not exist, but it
>> seems the NL is invisible in your article buffer. I am not sure
>> why. Could you debug it? The code is in gnus-display-x-face-in-from.
>
> article-hide-boring-headers in gnus-art.el is (correctly) determining
> that gnus-display-x-face-in-from's faked "From" line is empty, so it
> is trying to remove it from visibility. I don't know why it doesn't
> get rid of the entire line; I didn't chase the problem that far. The
> patch below is a somewhat tacky but adequate fix to the problem.
[...]
I'll install it.
> It surprises me considerably that you don't see the misbehavior.
Maybe I use a different version of XEmacs or some different treat
setting.
ShengHuo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-11 23:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07 1:58 mml-preview is bugging out these days Karl Kleinpaste
2002-01-07 2:42 ` ShengHuo ZHU
2002-01-09 15:26 ` Karl Kleinpaste
2002-01-11 21:44 ` ShengHuo ZHU
2002-01-11 22:48 ` Karl Kleinpaste
2002-01-11 23:22 ` ShengHuo ZHU
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).