From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24491 Path: main.gmane.org!not-for-mail From: Michael Cook Newsgroups: gmane.emacs.gnus.general Subject: (make-variable-buffer-local 'gnus-treat-hide-citation) Date: 25 Jul 1999 18:38:57 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <80so6c4any.fsf@lucy.sightpath.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162049 9025 80.91.224.250 (21 Oct 2002 01:00:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:00:49 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA10171 for ; Sun, 25 Jul 1999 18:51:32 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB00582; Sun, 25 Jul 1999 17:43:50 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 25 Jul 1999 17:40:53 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA03152 for ; Sun, 25 Jul 1999 17:40:33 -0500 (CDT) Original-Received: from tma-1.sightpath.com (tma-1.sightpath.com [208.246.45.91]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA09911 for ; Sun, 25 Jul 1999 18:39:03 -0400 (EDT) Original-Received: from lucy.sightpath.com (IDENT:cook@lucy.sightpath.com [208.246.45.93]) by tma-1.sightpath.com (8.9.1a/8.9.1) with ESMTP id SAA03595 for ; Sun, 25 Jul 1999 18:38:57 -0400 (EDT) Original-Received: (from cook@localhost) by lucy.sightpath.com (8.8.7/8.8.7) id SAA26472; Sun, 25 Jul 1999 18:38:57 -0400 Original-To: ding@gnus.org Original-Lines: 32 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24491 I want to tailor some gnus-treat-... settings in group-specific ways. The obvious approach didn't work: using `gnus-summary-customize-parameters' (M-C-g) I added a variable `gnus-treat-hide-citation' with a value of nil: Variables: Set variables local to the group you are entering. [More] [INS] [DEL] Variable: gnus-treat-hide-citation Value: nil [INS] It seems that the variable gets made buffer-local to the *Summary* buffer, and it ends up having no effect in the *Article* buffer. Somewhat disappointed, I cobbled together this awkward alternative: (add-hook 'gnus-article-mode-hook 'my-gnus-article-mode-hooked) (defun my-gnus-article-mode-hooked () (and (string= "nnml:bulk.foo" gnus-newsgroup-name) (progn (make-variable-buffer-local 'gnus-treat-hide-citation) (setq gnus-treat-hide-citation nil)))) So, two questions: 1. Should the M-C-g way work? And is the current behavior a bug? 2. Is the gnus-article-mode-hook solution the Right Way? (Do users really have to revert to writing Elisp to do this trivial "customization"?) M.