[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Make sure the w3m-async-exec
variable is set to a value other
than nil
.
Make sure the w3m-async-exec
variable is set to a value other
than nil
.
Emacs-w3m requires a version of w3m which recognizes the ‘-header’ option. Check what version of w3m you use.
It could be caused by the following reasons:
If the character set specified by the ‘<meta>’ tag differs from the actual contents in an HTML file, it will not be displayed correctly. Use the command M-x w3m-redisplay-with-charset <RET> or C c to set the correct character set and to force redisplay of the page.
A page written by a character set other than ISO-2022-JP(jis), EUC-JP, or SHIFT_JIS may not be displayed correctly. Try one of the following ways:
w3m-use-mule-ucs
variable is set
to a value other than nil
after installing the Mule-UCS package.
In addition, if you want to make Emacs (and also emacs-w3m) handle the
character sets EUC-JISX0213 and ISO-2022-JP-3, you have to install the
‘jisx0213’ module which is contained in the Mule-UCS package
(though it doesn’t work under XEmacs unfortunately).
w3m-command
variable to
the appropriate value. And emacs-w3m will use the multi-lingual
features provided by one of those programs.
However, a page written by a coding system which Emacs doesn’t support
may not be displayed correctly. So please install Mule-UCS package if
necessary.
Under XEmacs 21.1, pages written by the SHIFT_JIS character set may not be displayed correctly. There is also a problem in XEmacs 21.2 prior to the beta 36 version. You should upgrade your XEmacs if you use such one.
You should notice that XEmacs versions 21.1 and 21.2 have already been retired officially.
standard-display-european
It is generally harmful since it often makes Latin characters get displayed incorrectly. For instance, the apostrophe character (‘'’) which was encoded as ‘’’ will be displayed as the character ‘u’ with a grave accent as if it had been encoded as ‘ù’. If the line something like the following is in your ‘~/.emacs’ file or site files which Emacs loads when starting up, we strongly recommend you to remove it.
(standard-display-european 1) |
There the argument might be t
, not 1
.
It could be caused by the following reasons:
There is a bug in the earlier versions of the ‘libungif’ library. You have to install ‘libungif-4.1.0b1’ and later.
You must install the ‘gifsicle’ program if you want to run emacs-w3m under XEmacs. See section Things required to run emacs-w3m.
Emacs-w3m doesn’t support the old versions of w3m. Check what version of w3m you use.
(This is still an experimental feature.)
Make sure the w3m-use-cookies
variable is set to a value other
than nil
.
(This is still an experimental feature.)
Make sure the w3m-use-form
variable is set to a value other than
nil
.
(This is still an experimental feature.)
Make sure the w3m-use-form
variable is set to a value other than
nil
. You also need to use a version of w3m which recognizes the
‘-post’ option in order to use this function. Check what version
of w3m you use.
Install w3mmee and put the following line in your ‘~/.emacs’ file:
(setq w3m-command "w3mmee") |
Install the ‘convert’ program which is included in ImageMagick. It is available from: http://www.imagemagick.org/
Do you use an old version of ImageMagick? As far as we know, it happens when you use the ‘convert’ program bundled with ImageMagick 5.2.1. It has been confirmed that the ‘convert’ program bundled with ImageMagick 5.4.0-5 (and later) works fine.
If you don’t want to use ImageMagick, or if you can’t use its most recent version, add the following line in your ‘~/.emacs-w3m’ file:
(setq w3m-use-favicon nil) |
If you are using w3mmee configured with the option ‘lang=en’ or ‘lang=ja’, reconfigure w3mmee with the option ‘lang=many’ (it can be done by entering 3, when the ‘configure’ script prompts you, "Which language do you prefer?"), and rebuild w3mmee.
What is called the asynch patch(4) is applied to the w3m command which some Linux distribution (e.g. Gentoo Linux) contains. It is useful when using w3m barefoot, however it might make emacs-w3m hang. If it is suspected, we recommend you reinstall the w3m command from the original source.
It is quite convenient that the M-x w3m <RET> command makes the emacs-w3m frame pop to the front even if it is hidden under the other frames. However, it was reported that it does not work when running Emacs which has been built on some platforms (e.g., Fedora Linux) in which the ‘metacity’ window manager is used. In those systems, other features which raise the Emacs frames will not work, either. If you are in such a miserable circumstance, it might be worth trying the following advice:
(if (or (not window-system) (featurep 'xemacs)) nil (defadvice raise-frame (after make-it-work (&optional frame) activate) "Make it work with the aid of wmctrl." (call-process "wmctrl" nil nil nil "-i" "-R" (frame-parameter (or frame (selected-frame)) 'outer-window-id)))) |
Where ‘wmctrl’ is the external command which you can get from:
http://sweb.cz/tripie/utils/wmctrl/
Note that you have to install the ‘wmctrl’ command before putting the advice into the ‘~/.emacs’ file.
The following one is currently unnecessary for emacs-w3m, but a certain application needs it to work. (You will lose nothing by adding it if you are in the platform in which the previous one is needed.)
(if (or (not window-system) (featurep 'xemacs)) nil (defadvice pop-to-buffer (after enable-it-to-forcus-frame activate) "Enable it to focus frame if `pop-up-frames' is non-nil." (when pop-up-frames (let ((id (condition-case nil (frame-parameter (window-frame (get-buffer-window (ad-get-arg 0))) 'outer-window-id) (error nil)))) (when id (call-process "wmctrl" nil nil nil "-i" "-R" id)))))) |
The last one is perhaps unnecessary but it might be worth trying in some platforms.
(if (or (not window-system)(featurep 'xemacs)) nil (defadvice select-frame (around set-input-focus (frame) activate) "Run `select-frame-set-input-focus'." (setq ad-return-value (and (framep frame) (frame-live-p frame) frame)) (ad-deactivate 'select-frame) (unwind-protect (select-frame-set-input-focus frame) (ad-activate 'select-frame)))) |
These workarounds will become unnecessary in subsequent Emacs releases (22.2 or 23.1).
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by TSUCHIYA Masatoshi on January 30, 2019 using texi2html 1.82.