Gnus development mailing list
 help / color / mirror / Atom feed
* Characters are broken in nnimap summary buffer.
@ 2003-10-07  2:09 Jinhyok Heo
  2003-10-16 14:41 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Jinhyok Heo @ 2003-10-07  2:09 UTC (permalink / raw)


I'm considering to move from nnml to nnimap, now I'm testing with
nnimap.

I copyed existing nnml mails to a nnimap group with "B c".

Well, everything seems to be ok, but the headers of mails such as
'Subject' and 'From' which are not charset encoded properly are broken
in summary buffer. Article buffers have no problem.

Is there a way to specify a default charset or something in the nnimap
summary buffer?

-- 
| Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/)
|--------------------------------------------------------------------------
| "We are still reaching for the sky. In the developed countries people
|  are coming back down, saying, `It's empty up there.'" --- a Ladakhi monk



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

* Re: Characters are broken in nnimap summary buffer.
  2003-10-07  2:09 Characters are broken in nnimap summary buffer Jinhyok Heo
@ 2003-10-16 14:41 ` Lars Magne Ingebrigtsen
  2003-10-19  6:11   ` Jinhyok Heo
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-16 14:41 UTC (permalink / raw)


Jinhyok Heo <novembre+dated+1065923759.ba4ff9@ournature.org> writes:

> I'm considering to move from nnml to nnimap, now I'm testing with
> nnimap.
>
> I copyed existing nnml mails to a nnimap group with "B c".
>
> Well, everything seems to be ok, but the headers of mails such as
> 'Subject' and 'From' which are not charset encoded properly are broken
> in summary buffer. Article buffers have no problem.
>
> Is there a way to specify a default charset or something in the nnimap
> summary buffer?

I don't know, but is it possible that the imap server does something
to the headers?  

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: Characters are broken in nnimap summary buffer.
  2003-10-16 14:41 ` Lars Magne Ingebrigtsen
@ 2003-10-19  6:11   ` Jinhyok Heo
  2003-10-29  1:32     ` Jinhyok Heo
  0 siblings, 1 reply; 6+ messages in thread
From: Jinhyok Heo @ 2003-10-19  6:11 UTC (permalink / raw)


>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

    LMI> I don't know, but is it possible that the imap server does
    LMI> something to the headers?

I don't know much about the imap server, but it doesn't seem that it
is the imap server's problem. The characters in the "novcache" file
generated by gnus are not broken.

-- 
| Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/)
|--------------------------------------------------------------------------
| "We are still reaching for the sky. In the developed countries people
|  are coming back down, saying, `It's empty up there.'" -- a Ladakhi monk



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

* Re: Characters are broken in nnimap summary buffer.
  2003-10-19  6:11   ` Jinhyok Heo
@ 2003-10-29  1:32     ` Jinhyok Heo
  2003-10-29 10:22       ` Simon Josefsson
  0 siblings, 1 reply; 6+ messages in thread
From: Jinhyok Heo @ 2003-10-29  1:32 UTC (permalink / raw)


>>>>> "JH" == Jinhyok Heo <novembre+dated+1066975477.4d1415@ournature.org> writes:

    JH> I don't know much about the imap server, but it doesn't seem
    JH> that it is the imap server's problem. The characters in the
    JH> "novcache" file generated by gnus are not broken.

I compared nnimap.el with nnml.el. And I've fixed the problem with the
following.

--- nnimap.el   Wed Oct 29 10:27:16 2003
+++ nnimap.el.new       Wed Oct 29 10:26:36 2003
@@ -627,7 +627,8 @@
   (with-current-buffer nntp-server-buffer
     (let ((nov (nnimap-group-overview-filename group server)))
       (when (file-exists-p nov)
-       (mm-insert-file-contents nov)
+       ;;(mm-insert-file-contents nov)
+       (nnheader-insert-file-contents nov)
        (set-buffer-modified-p nil)
        (let ((min (ignore-errors (goto-char (point-min))
                                  (read (current-buffer))))

-- 
| Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/)
|--------------------------------------------------------------------------
| "We are still reaching for the sky. In the developed countries people
|  are coming back down, saying, `It's empty up there.'" -- a Ladakhi monk



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

* Re: Characters are broken in nnimap summary buffer.
  2003-10-29  1:32     ` Jinhyok Heo
@ 2003-10-29 10:22       ` Simon Josefsson
  2003-10-30  0:54         ` Jinhyok Heo
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Josefsson @ 2003-10-29 10:22 UTC (permalink / raw)
  Cc: ding

Jinhyok Heo <novembre+dated+1067822681.201211@ournature.org> writes:

>>>>>> "JH" == Jinhyok Heo <novembre+dated+1066975477.4d1415@ournature.org> writes:
>
>     JH> I don't know much about the imap server, but it doesn't seem
>     JH> that it is the imap server's problem. The characters in the
>     JH> "novcache" file generated by gnus are not broken.
>
> I compared nnimap.el with nnml.el. And I've fixed the problem with the
> following.

Should I install this?  I don't use the nnimap overview cache, and
even back when I did, I never had any charset problems, so I can't
tell if the patch is good, but I can install it if you think it is.
Additional opinions always help.

> --- nnimap.el   Wed Oct 29 10:27:16 2003
> +++ nnimap.el.new       Wed Oct 29 10:26:36 2003
> @@ -627,7 +627,8 @@
>    (with-current-buffer nntp-server-buffer
>      (let ((nov (nnimap-group-overview-filename group server)))
>        (when (file-exists-p nov)
> -       (mm-insert-file-contents nov)
> +       ;;(mm-insert-file-contents nov)
> +       (nnheader-insert-file-contents nov)
>         (set-buffer-modified-p nil)
>         (let ((min (ignore-errors (goto-char (point-min))
>                                   (read (current-buffer))))
>
> -- 
> | Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/)
> |--------------------------------------------------------------------------
> | "We are still reaching for the sky. In the developed countries people
> |  are coming back down, saying, `It's empty up there.'" -- a Ladakhi monk




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

* Re: Characters are broken in nnimap summary buffer.
  2003-10-29 10:22       ` Simon Josefsson
@ 2003-10-30  0:54         ` Jinhyok Heo
  0 siblings, 0 replies; 6+ messages in thread
From: Jinhyok Heo @ 2003-10-30  0:54 UTC (permalink / raw)


>>>>> "SJ" == Simon Josefsson <jas@extundo.com> writes:

    SJ> Should I install this?  I don't use the nnimap overview cache,
    SJ> and even back when I did, I never had any charset problems, so
    SJ> I can't tell if the patch is good, but I can install it if you
    SJ> think it is.  Additional opinions always help.

Well, I want to hear more from others. Because, though it is helpful
for me, I actually don't know exactly the difference between
(mm-insert-file-contents nov) and (nnheader-insert-file-contents nov).

It depends on you and others. :)

-- 
| Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/)
|--------------------------------------------------------------------------
| "We are still reaching for the sky. In the developed countries people
|  are coming back down, saying, `It's empty up there.'" -- a Ladakhi monk



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

end of thread, other threads:[~2003-10-30  0:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07  2:09 Characters are broken in nnimap summary buffer Jinhyok Heo
2003-10-16 14:41 ` Lars Magne Ingebrigtsen
2003-10-19  6:11   ` Jinhyok Heo
2003-10-29  1:32     ` Jinhyok Heo
2003-10-29 10:22       ` Simon Josefsson
2003-10-30  0:54         ` Jinhyok Heo

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