From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80050 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: Re: Automatic decoding of charsets Date: Mon, 26 Sep 2011 23:29:57 +0200 Message-ID: <87hb3zm1pm.fsf@free.fr> References: <87k48v3bzn.fsf@free.fr> <87ehz3sldx.fsf@topper.koldfront.dk> <87k48vphw9.fsf@free.fr> <874nzzglz7.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1317072629 13659 80.91.229.12 (26 Sep 2011 21:30:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 21:30:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28344@lists.math.uh.edu Mon Sep 26 23:30:26 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Ikr-00060d-C0 for ding-account@gmane.org; Mon, 26 Sep 2011 23:30:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1R8Ikl-0005Zo-Gh; Mon, 26 Sep 2011 16:30:19 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1R8Ikk-0005Za-9w for ding@lists.math.uh.edu; Mon, 26 Sep 2011 16:30:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R8Ikj-0003rq-Dv for ding@lists.math.uh.edu; Mon, 26 Sep 2011 16:30:18 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R8Ikf-0000E8-Og for ding@gnus.org; Mon, 26 Sep 2011 23:30:13 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8Ikf-0005uQ-HF for ding@gnus.org; Mon, 26 Sep 2011 23:30:13 +0200 Original-Received: from rke75-3-82-229-182-158.fbx.proxad.net ([82.229.182.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 23:30:13 +0200 Original-Received: from j.cubizolles by rke75-3-82-229-182-158.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 23:30:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rke75-3-82-229-182-158.fbx.proxad.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:VKHUueBhQojc+PJ6YQ37LZ+91vc= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80050 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > On Mon, 26 Sep 2011 15:12:06 +0200, Julien wrote: > >> It wasn't a typo... I had copied the hook name from a web page. The hook >> works now with >> ,---- >> | (add-hook 'gnus-Article-prepare-hook 'gnus-article-decode-charset) >> `---- > > In your first article you wrote that the exact same command didn't work > - what changed? > > (I wouldn't expect it to work, since gnus-Article-prepare-hook doesn't > exist in my Emacs, while gnus-article-prepare-hook does - but super if > it works.) My bad, the last one was indeed a typo. So: ,---- | (add-hook 'gnus-Article-prepare-hook 'gnus-article-decode-charset) `---- doesn't work but: ,---- | (add-hook 'gnus-article-prepare-hook 'gnus-article-decode-charset) `---- does as you had guessed. >>> If you could provide an example of an article where it happens, other >>> people could try and reproduce the problem, and that might shed some >>> light on it. I joined the complete file in another reply to Lars. Thanks for your help, Julien.