From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15198 Path: main.gmane.org!not-for-mail From: gsstark@mit.edu (Gregory S. Stark) Newsgroups: gmane.emacs.gnus.general Subject: Odd subst-char-in-region in header parsing Date: 17 May 1998 14:19:36 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154274 20788 80.91.224.250 (20 Oct 2002 22:51:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:51:14 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id LAA09769 for ; Sun, 17 May 1998 11:26:17 -0700 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id OAA01290 for ; Sun, 17 May 1998 14:23:55 -0400 Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAH21289; Sun, 17 May 1998 13:23:45 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 17 May 1998 13:20:51 -0500 (CDT) Original-Received: from claymore.vcinet.com ([208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id NAA21276 for ; Sun, 17 May 1998 13:20:44 -0500 (CDT) Original-Received: (qmail 3074 invoked by uid 504); 17 May 1998 18:19:43 -0000 Original-Received: (qmail 3071 invoked from network); 17 May 1998 18:19:43 -0000 Original-Received: from bigbang.Generation.NET (205.205.118.5) by claymore.vcinet.com with SMTP; 17 May 1998 18:19:43 -0000 Original-Received: from portD41.Generation.NET.generation.net (gsstark@portC43.Generation.NET [205.205.118.199]) by bigbang.Generation.NET (8.8.7/8.8.7) with SMTP id OAA14253 for ; Sun, 17 May 1998 14:19:40 -0400 (EDT) Original-To: ding@gnus.org Original-Lines: 19 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15198 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15198 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)