From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24557 Path: main.gmane.org!not-for-mail From: Michael Cook Newsgroups: gmane.emacs.gnus.general Subject: Re: forward-paragraph Date: 30 Jul 1999 11:15:09 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <80yafytbia.fsf@lucy.sightpath.com> References: <80674ounr9.fsf@lucy.sightpath.com> <809099iq9b.fsf@lucy.sightpath.com> <80k8rklkmu.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 1035162103 9372 80.91.224.250 (21 Oct 2002 01:01:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:01:43 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA02207 for ; Fri, 30 Jul 1999 11:19:45 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id KAB08533; Fri, 30 Jul 1999 10:16:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 30 Jul 1999 10:16:36 -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 KAA26735 for ; Fri, 30 Jul 1999 10:16:26 -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 LAA02140 for ; Fri, 30 Jul 1999 11:15:17 -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 LAA22937 for ; Fri, 30 Jul 1999 11:15:15 -0400 (EDT) Original-Received: (from cook@localhost) by lucy.sightpath.com (8.8.7/8.8.7) id LAA05194; Fri, 30 Jul 1999 11:15:14 -0400 Original-To: ding@gnus.org In-Reply-To: Michael Cook's message of "28 Jul 1999 14:00:41 -0400" Original-Lines: 31 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:24557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24557 I wrote: > When gnus starts "rendering" an article into > an *Article* buffer, shouldn't gnus first kill-all-local-variables? > Perhaps this: > > --- gnus-art.el.~1~ Fri Jul 9 18:22:56 1999 > +++ gnus-art.el Wed Jul 28 13:57:20 1999 > @@ -2520,6 +2520,7 @@ > (current-buffer)) > (save-excursion > (set-buffer (gnus-get-buffer-create name)) > + (kill-all-local-variables) > (gnus-article-mode) > (make-local-variable 'gnus-summary-buffer) > (gnus-summary-set-local-parameters gnus-newsgroup-name) That change is definitely wrong (kill-all-local-variables will have no effect there). This is what I intended: --- gnus-art.el.~1~ Fri Jul 9 18:22:56 1999 +++ gnus-art.el Fri Jul 30 11:09:04 1999 @@ -2513,6 +2513,7 @@ (if (get-buffer name) (save-excursion (set-buffer name) + (kill-all-local-variables) (buffer-disable-undo) (setq buffer-read-only t) (unless (eq major-mode 'gnus-article-mode) M.