Re: Feedback needed on w3m support
Kai Grossjohann writes: Paul Kinnucan [EMAIL PROTECTED] writes: Several days ago I submitted a fix to CVS for problem 1. That fix uses the intermediate file only if browse-url-browser-function is set to browse-url-default-windows-browser, i.e., Internet Explorer. The problem with that fix is that it disables the frames mode display for all other browsers. As I happen to like the frames mode display, I intend to back this fix out of CVS. Does it work to do the opposite logic? That is, instead of using the intermediate file for IE only, use the intermediate file for everything except w3m? Yes. That's in fact what I did. Paul I wish emacs-w3m grokked frames. w3m itself supports -F, but that does not seem to have any effect on emacs-w3m. Kai
RE: Feedback needed on w3m support
I had this same problem; we solved it by configuring JDEE to create the temporary pages in a directory relative to the user's home, something like ~/tmp, instead of the default /tmp. Regards, Nascif -Original Message- From: Heinz-Dieter Conradi [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 3:17 AM To: [EMAIL PROTECTED] Subject: Re: Feedback needed on w3m support hi, without knowing anything about the problems involved, i would like to point out a potential problem with local files which has bitten me in the past: the local files are usually not writeable for other users. this is a problem when more than one person is working on the same workstation. although i like the frame display too, i would probably go for using non-local files without frames, heinz-dieter conradi
Re: Feedback needed on w3m support
Paul Kinnucan wrote: I'd also appreciate it if someone who is using w3m on Unix would take a look at the URL that the JDEE generates for local files and tell me what's wrong with it and what URL would be acceptable to w3m. There was a thread about this last week. The problem is a double slash between the host part and filename part of the URL. A patch was posted, which I think will break things on Windows, since it replaced //localhost/ with //. I think a better solution is to look at the filename, and if it starts with a slash (Unix), use //localhost or //, and if it doesn't (Windows), then use //localhost/ or ///.
Re: Feedback needed on w3m support
Hi Paul, Paul Kinnucan [EMAIL PROTECTED] writes: Several days ago I submitted a fix to CVS for problem 1. That fix uses the intermediate file only if browse-url-browser-function is set to browse-url-default-windows-browser, i.e., Internet Explorer. The problem with that fix is that it disables the frames mode display for all other browsers. As I happen to like the frames mode display, I intend to back this fix out of CVS. What about using the method with the intermediate file when ,[ C-h v jde-help-use-frames RET ] | jde-help-use-frames's value is nil | | A non-nil value makes the functions:`jde-help-symbol', | `jde-help-class-member' and `jde-help-class' use frames when displaying | the html javadocs. ` is t and use the direct url otherwise? Since the intermediate file is only needed for frames and w3m doesn't do frames, this seems like a reasonable approach. Another way to differentiate behavior based on the url is to use the regexp match functionality of browse-url-browser-function: ,[ C-h v browse-url-browser-function RET ] | browse-url-browser-function's value is | ((jde_meta . browse-url-mozilla) | (file:/// . w3m-browse-other-window) | (.* . w3m-browse-url)) | | *Function to display the current buffer in a WWW browser. | This is used by the `browse-url-at-point', `browse-url-at-mouse', and | `browse-url-of-file' commands. | | If the value is not a function it should be a list of pairs | (REGEXP . FUNCTION). In this case the function called will be the one | associated with the first REGEXP which matches the current URL. The | function is passed the URL and any other args of `browse-url'. The last | regexp should probably be . to specify a default browser. ` I do not know whether this is available in a non-CVS browse-url package, though. Ole -- Ole Arndt http://www.sugarshark.com