From: Michael Cook <cook@sightpath.com>
Subject: Re: forward-paragraph
Date: 30 Jul 1999 11:15:09 -0400 [thread overview]
Message-ID: <80yafytbia.fsf@lucy.sightpath.com> (raw)
In-Reply-To: Michael Cook's message of "28 Jul 1999 14:00:41 -0400"
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.
prev parent reply other threads:[~1999-07-30 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-16 16:13 forward-paragraph Michael Cook
1999-06-24 15:15 ` forward-paragraph Michael Cook
1999-07-03 9:55 ` forward-paragraph Lars Magne Ingebrigtsen
1999-07-28 18:00 ` forward-paragraph Michael Cook
1999-07-30 15:15 ` Michael Cook [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80yafytbia.fsf@lucy.sightpath.com \
--to=cook@sightpath.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).