From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62253 Path: news.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: Selective HTML rendering using group parameters Date: Wed, 15 Mar 2006 00:59:45 -0500 Organization: - none - Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142403006 19606 80.91.229.2 (15 Mar 2006 06:10:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 06:10:06 +0000 (UTC) Original-X-From: ding-owner+m10780@lists.math.uh.edu Wed Mar 15 07:10:05 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 1FJPCu-0003cV-1j for ding-account@gmane.org; Wed, 15 Mar 2006 07:10:04 +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 1FJPCg-0001GA-00; Wed, 15 Mar 2006 00:09:50 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FJP3P-0001G4-00 for ding@lists.math.uh.edu; Wed, 15 Mar 2006 00:00:15 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FJP3M-0007D6-SV for ding@lists.math.uh.edu; Wed, 15 Mar 2006 00:00:15 -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 1FJP3L-0008MD-00 for ; Wed, 15 Mar 2006 07:00:11 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FJP3B-0001yM-1L for ding@gnus.org; Wed, 15 Mar 2006 07:00:01 +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 07:00:01 +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 07:00:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 63 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:PQSUauj/P6YLdXkEAA5ilm0Opyk= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62253 Archived-At: Hi all, I came across a weird issue regarding group-parameters and "group-local" variables. I have the following in my gnus: ,---- .gnus ---- | (setq | mm-automatic-display (remove "text/html" mm-automatic-display) | mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched" "multipart/related") | ) `---- in order to have HTML rendering off by default. However there are some mailing lists I subscribed where the HTML is well-formed enough (and there is no option for text-only :( ) where I wanted to enable html rendering by default on those groups. So I tried the following in the group parameters of one of the groups with "good" HTML: ,---- group parameters --- | ((mm-automatic-display | (append | (list "text/html") | mm-automatic-display)) | (mm-discouraged-alternatives | (remove "text/html" | (remove "multipart/related" mm-discouraged-alternatives)))) `---- Sure enough if I press space from the *Group* buffer, the HTML in the message is rendered, and it so happens in all other messages in that "summary buffer session" . However, if no message is immediately rendered (I press ENTER or only ticked articles are in the summary buffer) then when the article is shown, the HTML is not rendered. I looked at the value of both mm-automatic-display and mm-discouraged-alternatives and it looks like that if upon entering the group the article buffer is created then their values are the one coming from the group parameters, otherwise the defaults (i.e. from .gnus) are used. Is there any way to make sure that the group parameter set values for variables are always transported to the article buffer regardless of the moment in time it is created ? Thanks, Nelson PS: To save you from looking up the User Agent, I am using SXEmacs 22.1.4 and No Gnus v0.4 -- Nelson Ferreira