Gnus development mailing list
 help / color / mirror / Atom feed
From: Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>
Cc: ding@gnus.org
Subject: Re: .overview file coding system when caching article.
Date: 25 Aug 1998 18:03:46 +0900	[thread overview]
Message-ID: <ubtp91lhp.fsf@hv08.hv.epson.co.jp> (raw)
In-Reply-To: <m3vhnhcw16.fsf@sparky.gnus.org> (Lars Magne Ingebrigtsen's message of 25 Aug 1998 10:20:37 +0200)

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

>>>>> In <m3vhnhcw16.fsf@sparky.gnus.org>
>>>>>  Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

Lars> > + (defvar gnus-write-file-coding-system 'raw-text)
Lars> I don't think this is the right way to do it.  Instead, there
Lars> should probably be a gnus-cache-overview-coding-system-for-write
Lars> thing.  Feel free to submit a patch for that instead.

  I see.
  So this patch is better.

  And what do you think about to read mail from Multiple pop3 server
  package??


[-- Attachment #2: gnus-cache.el.diff --]
[-- Type: application/octet-stream, Size: 1050 bytes --]

*** gnus-cache.el.orig	Tue Aug 25 18:00:00 1998
--- gnus-cache.el	Tue Aug 25 18:01:02 1998
***************
*** 82,87 ****
--- 82,88 ----
  (defvar gnus-cache-buffer nil)
  (defvar gnus-cache-active-hashtb nil)
  (defvar gnus-cache-active-altered nil)
+ (defvar gnus-cache-write-file-coding-system 'raw-text)
  
  (eval-and-compile
    (autoload 'nnml-generate-nov-databases-1 "nnml")
***************
*** 121,127 ****
  	  (set-buffer buffer)
  	  (if (> (buffer-size) 0)
  	      ;; Non-empty overview, write it to a file.
! 	      (gnus-write-buffer overview-file)
  	    ;; Empty overview file, remove it
  	    (when (file-exists-p overview-file)
  	      (delete-file overview-file))
--- 122,129 ----
  	  (set-buffer buffer)
  	  (if (> (buffer-size) 0)
  	      ;; Non-empty overview, write it to a file.
! 	      (let ((coding-system-for-write gnus-cache-write-file-coding-system))
! 		(gnus-write-buffer overview-file))
  	    ;; Empty overview file, remove it
  	    (when (file-exists-p overview-file)
  	      (delete-file overview-file))

[-- Attachment #3: Type: text/plain, Size: 107 bytes --]



-- 
  Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>
  # PGP Public Key : See X-Info header in this message.

      reply	other threads:[~1998-08-25  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-25  8:05 Tatsuya Ichikawa
1998-08-25  8:20 ` Lars Magne Ingebrigtsen
1998-08-25  9:03   ` Tatsuya Ichikawa [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=ubtp91lhp.fsf@hv08.hv.epson.co.jp \
    --to=ichikawa@hv.epson.co.jp \
    --cc=ding@gnus.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).