From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62256 Path: news.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: Re: Selective HTML rendering using group parameters Date: Wed, 15 Mar 2006 03:05:37 -0500 Organization: - none - Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142409996 6436 80.91.229.2 (15 Mar 2006 08:06:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 08:06:36 +0000 (UTC) Original-X-From: ding-owner+m10783@lists.math.uh.edu Wed Mar 15 09:06:35 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJR1d-0000JA-L0 for ding-account@gmane.org; Wed, 15 Mar 2006 09:06:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FJR1Y-0001VV-00; Wed, 15 Mar 2006 02:06:28 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FJR17-0001VQ-00 for ding@lists.math.uh.edu; Wed, 15 Mar 2006 02:06:01 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FJR15-0005c2-FZ for ding@lists.math.uh.edu; Wed, 15 Mar 2006 02:06:01 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FJR14-0001Z0-00 for ; Wed, 15 Mar 2006 09:05:58 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FJR0v-0000B8-H5 for ding@gnus.org; Wed, 15 Mar 2006 09:05:50 +0100 Original-Received: from ool-44c690f6.dyn.optonline.net ([68.198.144.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Mar 2006 09:05:49 +0100 Original-Received: from nelson.ferreira by ool-44c690f6.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Mar 2006 09:05:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 70 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ool-44c690f6.dyn.optonline.net User-Agent: Gnus/5.110004 (No Gnus v0.4) SXEmacs/22.1.4 (linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUmHxdbVUyVdGOriHfF qZx9gXrnvF8aAAAACXBIWXMAACNfAAAjXwHuwDalAAACAklEQVR42nVUQZLjIAwUWzV3cMb3RMw8 YBD5wAoe4Bj+/5Vt4cR2aneVSpyire6WBFD5TxC+PbVeW9dmj1Zqr7UZ0Dtzb60K9yMA1N5D6EDS 1Gf8X/qCR6O6BOduUYrINSB8cPboADw5zrmpMCG8/ZDrVIKnSTI8aPIO684jglGRA5EBsgyWsFGV TiGWDfgZgN+o6uJ+xTwQSc49NWg2qmlbNxE6AYFYNkR1t+VmuDLtDbEMd6LaTJmI3wsxcVr1Ceg5 o/SwPk1leSoPjXp1zIz13yInqpn0RgC+SslZFcX5V0ZBBlqLIkSUdy60BBmCSlRillsg/6KqnTix REgLs3+aMleoAyyC6oXjCRgFItTay1c6AOsV3rfq5RAfVB2esr4DoyWXbHZRvkZ/qnzx8QCuB4DR XkAyGi/xXGAgVGZV4MuvAW5UcMWiCuDq3lxNkmA2G7Bn2L7yFwDoYyx5r899QtzNzagM27VNfPEf TVIG02mCo1f+wxypjXZf31yFVYxHJdEbVQgP9BdE6w+dqbrHbkCGrnLMyTZ1DzQDUK2Rby9k9CqE iRl9vD84eb9r4Az68ACgD7aN5U8AMqavIt/YEHY48XHjcLrwmaYod8bmhuKIebPbEq8czVptYR5A g3ifMSKslTGs7WIYQGl2Avbb5T4QAPWviweXyLhk/hF4+Q+wWa5X3wHMdgAAAA90RVh0SlBFRy1R dWFsaXR5ADc13rg1kAAAABF0RVh0SlBFRy1Db2xvcnNwYWNlADKBDSEkAAAAIXRFWHRKUEVHLVNh bXBsaW5nLWZhY3RvcnMAMngyLDF4MSwxeDHlUdu4AAAAAElFTkSuQmCC Cancel-Lock: sha1:E5X2W2Fr8OHumDZmBcj9SBTmw2c= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62256 Archived-At: An update below... "njsf" == Nelson Ferreira writes: njsf> Hi all, njsf> I came across a weird issue regarding group-parameters and njsf> "group-local" variables. njsf> I have the following in my gnus: njsf> ,---- .gnus ---- njsf> | (setq njsf> | mm-automatic-display (remove "text/html" mm-automatic-display) njsf> | mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched" "multipart/related") njsf> | ) njsf> `---- njsf> in order to have HTML rendering off by default. However njsf> there are some mailing lists I subscribed where the HTML is njsf> well-formed enough (and there is no option for text-only :( njsf> ) where I wanted to enable html rendering by default on njsf> those groups. njsf> So I tried the following in the group parameters of one of njsf> the groups with "good" HTML: njsf> ,---- group parameters --- njsf> | ((mm-automatic-display njsf> | (append njsf> | (list "text/html") njsf> | mm-automatic-display)) njsf> | (mm-discouraged-alternatives njsf> | (remove "text/html" njsf> | (remove "multipart/related" mm-discouraged-alternatives)))) njsf> `---- njsf> Sure enough if I press space from the *Group* buffer, the njsf> HTML in the message is rendered, and it so happens in all njsf> other messages in that "summary buffer session" . njsf> However, if no message is immediately rendered (I press njsf> ENTER or only ticked articles are in the summary buffer) njsf> then when the article is shown, the HTML is not rendered. njsf> I looked at the value of both mm-automatic-display and njsf> mm-discouraged-alternatives and it looks like that if upon njsf> entering the group the article buffer is created then njsf> their values are the one coming from the group parameters, njsf> otherwise the defaults (i.e. from .gnus) are used. njsf> Is there any way to make sure that the group parameter set njsf> values for variables are always transported to the article njsf> buffer regardless of the moment in time it is created ? I tried adding mm-automatic-display and mm-discouraged-alternatives to gnus-summary-local-variables and then playing with .gnus to set the default value and the group parameters to deal with getting the default and changing it in the group parameters with mostly the same results. Thanks, Nelson [...] -- Nelson Ferreira