[emacs-w3m:13845] Support MIME type application/emacs-lisp
[email protected] Thu, 16 Sep 2021 12:35:55 -0700
| Newsgroups | gmane.emacs.w3m |
|---|---|
| Message-ID | <CAO+cPoNVkhXA72VA-1+CBbH3ruv72WFQBx-LC7j8iUS+GS2SGg@mail.gmail.com> |
--00000000000004c55905cc21ed18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I've found a small bug. When I went to a website with an emacs lisp file, I got a strange message from emacs-w3m (version 1.4.632+0.20210201.2305.54c3ccd-1): > Reading https://jblevins.org/projects/markdown-mode/markdown-mode.el ... > > =E2=80=98C-c C-k=E2=80=99 to abort this operation, or > =E2=80=98S=E2=80=99 to perform a search in a new buffer, or > =E2=80=98G=E2=80=99 to visit a URL in a new buffer, or > do any emacs work in any other buffer, or just wait ... The message was confusing. It said emacs-w3m is busy "reading". However, the minibuffer said "Download" and showed a filename in the ~/.w3m directory. I did not wish to download the Emacs lisp file. I only wanted to view it. When I hit C-g to cancel the download, the w3m buffer did not change. I had to use C-c C-k to abort the operation. In an older version of emacs-w3m (1.4.632+0.20181112-9), the message was easier to understand: > This display does not support application/emacs-lisp: > <https://jblevins.org/projects/markdown-mode/markdown-mode.el> That was better. It explains why emacs-w3m is attempting to download the file. But, it still doesn't let me view the file. Would you please make a change to improve emacs-w3m? When trying to load a file of unsupported MIME type, please have emacs-w3m ask what to do: > This display does not support application/emacs-lisp: > <https://jblevins.org/projects/markdown-mode/markdown-mode.el> > > Press 'd' or click here to download the file. > Press 'v' or click here to view the file in an Emacs buffer. I apologize if this is an old bug. The two versions of emacs-w3m I used are the ones that come bundled with the current stable version of Debian GNU/Linux. Thank you, --b9 P.S. I love emacs-w3m! I appreciate all the hard work you've done. --00000000000004c55905cc21ed18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I've found a smal= l bug. When I went to a website with an emacs lisp file, I got a strange me= ssage from emacs-w3m (version 1.4.632+0.20210201.2305.54c3ccd-1):<br></div>= <div><div><br></div><div>> Reading <a href=3D"https://jblevins.org/proje= cts/markdown-mode/markdown-mode.el">https://jblevins.org/projects/markdown-= mode/markdown-mode.el</a> ...<br>><br>>=C2=A0 =C2=A0 =E2=80=98C-c C-k= =E2=80=99 to abort this operation, or<br>>=C2=A0 =C2=A0 =E2=80=98S=E2=80= =99 to perform a search in a new buffer, or<br>>=C2=A0 =C2=A0 =E2=80=98G= =E2=80=99 to visit a URL in a new buffer, or<br>> =C2=A0=C2=A0 do any em= acs work in any other buffer, or just wait ... </div><div><br></div><div>Th= e message was confusing. It said emacs-w3m is busy "reading". How= ever, the minibuffer said "Download" and showed a filename in the= ~/.w3m directory. I did not wish to download the Emacs lisp file. I only w= anted to view it. When I hit C-g to cancel the download, the w3m buffer did= not change. I had to use C-c C-k to abort the operation.<br></div><div><br= ></div><div>In an older version of emacs-w3m (1.4.632+0.20181112-9), the me= ssage was easier to understand:=C2=A0 <br></div></div><div><br></div><div>&= gt;=C2=A0 This display does not support application/emacs-lisp:</div><div>&= gt; <<a href=3D"https://jblevins.org/projects/markdown-mode/markdown-mod= e.el">https://jblevins.org/projects/markdown-mode/markdown-mode.el</a>><= br></div><div><br></div><div>That was better. It explains why emacs-w3m is = attempting to download the file. But, it still doesn't let me view the = file. <br></div><div><br></div><div>Would you please make a change to impro= ve emacs-w3m? When trying to load a file of unsupported MIME type, please h= ave emacs-w3m ask what to do:</div><div><br></div><div><div>>=C2=A0 This= display does not support application/emacs-lisp:</div><div>> <<a hre= f=3D"https://jblevins.org/projects/markdown-mode/markdown-mode.el">https://= jblevins.org/projects/markdown-mode/markdown-mode.el</a>><br></div><div>= ></div><div><div><div>> Press 'd' or click here to download t= he file.<br></div></div><div>> Press 'v' or click here to view t= he file in an Emacs buffer.</div></div></div><div><br></div><div>I apologiz= e if this is an old bug. The two versions of emacs-w3m I used are the ones = that come bundled with the current stable version of Debian GNU/Linux. <br>= </div><div>=C2=A0</div><div>Thank you,<br></div><div><br></div><div>--b9<br= ></div><div><br></div><div>P.S. I love emacs-w3m! I appreciate all the hard= work you've done.=C2=A0</div><div><br></div></div> --00000000000004c55905cc21ed18--