Gnus development mailing list
 help / color / mirror / Atom feed
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Subject: [patch] Re: Back trace and theory for long standing foreign server bug.
Date: 19 Mar 1998 17:04:20 +0100	[thread overview]
Message-ID: <byd8fism4b.fsf@bolzano.math.ethz.ch> (raw)
In-Reply-To: Jan Vroonhof's message of "19 Mar 1998 16:32:40 +0100"

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

Jan Vroonhof <vroonhof@math.ethz.ch> writes:

> For some reason (to do with rlogin servers?) gnus-summary-limit
> children (and may be other critical functions are run with the wrong
> current buffer.

Found it

1998-03-19  Jan Vroonhof  <vroonhof@math.ethz.ch>

	* nntp.el (nntp-open-rlogin): Wrap in save-excursion


[-- Attachment #2: nntp-rlogin.patch --]
[-- Type: application/octet-stream, Size: 598 bytes --]

--- nntp.el~	Sun Mar  8 00:23:14 1998
+++ nntp.el	Thu Mar 19 16:58:43 1998
@@ -1191,11 +1191,12 @@
 		(apply 'start-process
 		       "nntpd" buffer nntp-rlogin-program nntp-address
 		       nntp-rlogin-parameters))))
-    (set-buffer buffer)
-    (nntp-wait-for-string "^\r*20[01]")
-    (beginning-of-line)
-    (delete-region (point-min) (point))
-    proc))
+    (save-excursion
+      (set-buffer buffer)
+      (nntp-wait-for-string "^\r*20[01]")
+      (beginning-of-line)
+      (delete-region (point-min) (point))
+      proc)))
 
 (defun nntp-find-group-and-number ()
   (save-excursion

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



      reply	other threads:[~1998-03-19 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19 15:32 Jan Vroonhof
1998-03-19 16:04 ` Jan Vroonhof [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=byd8fism4b.fsf@bolzano.math.ethz.ch \
    --to=vroonhof@math.ethz.ch \
    /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).