[emacs-w3m:13083] Re: always text/plain on ASCII text

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.w3m
Organization Emacsen advocacy group
Message-ID <[email protected]>
In [emacs-w3m:13082]
On Fri, 25 Jan 2019 10:39:13 +0900, Katsumi Yamaoka wrote:
> Anyway, there are three reasons your custom type mismatching.

Oops, there are four reasons, sorry.

4. No `file' and `url' choice
  cf. w3m-content-type-alist's doc string.

[...]

> (setq my-test
>       (assoc-delete-all "\\`application/x-[bg]zip2?\\'"
> 			(copy-sequence w3m-content-type-alist)
> 			(lambda (a b) (string-match b a))))

assoc-delete-all is a function only in Emacs 27.  What it does
there is to delete items of which the first element matches
"\\`application/x-[bg]zip2?\\'" from w3m-content-type-alist.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.