Couldn't display images under emacs-w3m on MacOS 10.9

2.3k Views Asked by At

I am using emacs 24.3.

I use the common setting that add to .emacs:

(setq w3m-default-desplay-inline-images t)

but it's not work. I also try to toggle to display image via shortcut T in emacs-w3m, it shows "Can't display images in this environment".

enter image description here

It works totally fine on Ubuntu 12.04 LTS.

Are there any ways to solve this problem?

2

There are 2 best solutions below

2
On BEST ANSWER

try to start emacs without -nw flag.

0
On

You cannot display images in a terminal environment, to verify this do M-x (display-images-p nil) this will return nil in console emacs. You will need to start emacs in window environment without the -nw flag (I am assuming you are using it to start emacs)