Gnus development mailing list
 help / color / mirror / Atom feed
From: gsstark@mit.edu (Gregory S. Stark)
Subject: Odd subst-char-in-region in header parsing
Date: 17 May 1998 14:19:36 -0400	[thread overview]
Message-ID: <ycqvhr42213.fsf@portD41.Generation.NET> (raw)


Could anyone explain to me what the subst-char-in-region in
gnus-get-newsgroup-headers in gnus-sum.el is there for? It replaces tabs with
spaces in the nntp-server-buffer, which of course breaks the overview headers
badly. Is this only supposed to be run for non-overview headers? I don't get
it.

(defun gnus-get-newsgroup-headers (&optional dependencies force-new)
  (let ((cur nntp-server-buffer)
	(dependencies
	 (or dependencies
	     (save-excursion (set-buffer gnus-summary-buffer)
			     gnus-newsgroup-dependencies)))
	headers id id-dep ref-dep end ref)
    (save-excursion
      (set-buffer nntp-server-buffer)
      ;; Translate all TAB characters into SPACE characters.
      (subst-char-in-region (point-min) (point-max) ?\t ?  t)
      (run-hooks 'gnus-parse-headers-hook)



             reply	other threads:[~1998-05-17 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-17 18:19 Gregory S. Stark [this message]
1998-06-01  3:37 ` Lars Magne Ingebrigtsen

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=ycqvhr42213.fsf@portD41.Generation.NET \
    --to=gsstark@mit.edu \
    /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).