🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9128

vm-auto-folder-case-fold-search doesn't work in 5.32

#9128
From: Jamie Zawinski
Date: Mon, 06 Apr 1992 02:02
17 lines
1309 bytes
The call to vm-get-header-contents searches case-sensitively, so if the
capitalization of the header field names in my vm-auto-folder-alist doesn't
match the capitalization in the message, I lose.  This is because case-fold-
search seems to be locally bound to nil in vm-mode buffers, and the binding of
case-fold-search in vm-auto-select-folder is too narrow.  One fix would be to
change the line

    (setq header (vm-get-header-contents (car mp) (car (car alist))))
to
    (let ((case-fold-search vm-auto-folder-case-fold-search))
      (setq header (vm-get-header-contents (car mp) (car (car alist)))))

but perhaps case-fold-search should be bound to t inside of vm-get-header-
contents, since RFC822 says that mail headers are always to be compared
case-insensitively.

	-- Jamie
Technical Details
Message-ID: <9204060202.AA05030@thalidomide.lucid>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,fc882c8bed9899e3,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1992-04-05 19:02:59 PST
Newsgroups: gnu.emacs.vm.bug
Sender: bug-vm-request@uunet.uu.net
Date: Sun, 5 Apr 92 19:02:59 PDT
Message-ID: <9204060202.AA05030@thalidomide.lucid>
X-Windows: No hardware is safe.
From: Jamie Zawinski <jwz@lucid.com>
Subject: vm-auto-folder-case-fold-search doesn't work in 5.32
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm