emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: browse-url-of-buffer fails on w32


From: Lennart Borgman
Subject: Re: browse-url-of-buffer fails on w32
Date: Wed, 26 Oct 2005 22:55:13 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Reiner Steib wrote:

On Sat, Oct 22 2005, Reiner Steib wrote:

On Fri, Oct 21 2005, Lennart Borgman wrote:

browse-url-of-buffer fails on w32 because the temporary file name given to browse-url-of-file does not end in ".htm" or something similar. (The file name is sent to w32-shell-execute.)
Any objection against this patch?
[...]
                      (make-temp-file
-                       (expand-file-name "burl" browse-url-temp-dir)))))
+                       (expand-file-name "burl" browse-url-temp-dir)
+                       nil ".html"))))
[...]

Committed.  Please test, I can't test it on w32.

Bye, Reiner.
Yes, thanks it works now.

But I think there is maybe one unnecessary glitch still. Now I get the question

Selected encoding iso-latin-1 disagrees with the utf-8-dos specified with the file contents. Really save .... ?

Is that really needed for the temporary file? The buffer is an XHTML file beginning with

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]