From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21934 Path: main.gmane.org!not-for-mail From: Dmitry Yaitskov Newsgroups: gmane.emacs.gnus.general Subject: Re: Message - which charset? Date: 16 Mar 1999 02:55:35 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87n21dq4oa.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159947 25515 80.91.224.250 (21 Oct 2002 00:25:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:25:47 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA08023 for ; Tue, 16 Mar 1999 02:55:49 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB27269; Tue, 16 Mar 1999 01:55:01 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Mar 1999 01:55:22 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id BAA24405 for ; Tue, 16 Mar 1999 01:55:13 -0600 (CST) Original-Received: from mail.rdc1.on.home.com (imail@ha1.rdc1.on.wave.home.com [24.2.9.66]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA08007 for ; Tue, 16 Mar 1999 02:55:04 -0500 (EST) Original-Received: from LUCY ([24.65.93.139]) by mail.rdc1.on.home.com (InterMail v4.00.03 201-229-104) with SMTP id <19990316075423.LOB22379.mail.rdc1.on.home.com@LUCY> for ; Mon, 15 Mar 1999 23:54:23 -0800 Original-To: Ding In-Reply-To: Hrvoje Niksic's message of "16 Mar 1999 08:23:01 +0100" Original-Lines: 29 User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/21.2(beta13) (Demeter) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21934 Hrvoje Niksic wrote: > Dmitry Yaitskov writes: > > > select the coding system. And with some simple elisp, I can now > > determine which of the 2 coding systems is used in a particular > > incoming message. My only problem left is - I'd like to be able to > > specify the charset "of my choice" for the message that I compose (for > > the whole message or for the 1st part of a mime one), based on the > > headers/body of the (1st part of the 1st) message being replied > > to/followed up. > > Try setting `message-default-charset', or making your simple elisp set > it for you. Thanks. Prob is - my "simple elisp" does a good job of determining the charset of the message being viewed by gnus (run by gnus-part-display-hook) - but when should I set the message-default-charset? It is global (right?) and I don't want to change it while I'm browsing my mail - I want to change it only when I reply/follow up a particular message, and only for the duration of that reply... Otherwise my message-default-charset would depend on which particular message I last viewed, even if I happen to compose a completely new message... any ideas? Or am I missing something here? Thanks. -- Cheers, -Dima.