One of my problems with Emacs-w3m is that all it’s buffers are named *w3m*, *w3m<2>*2> and so forth, which makes it hard to tell which is which when you have several.
This bit of code renames w3m buffers to include the page title (or URL, if there is no title), and works great for me.
(add-hook 'w3m-display-hook
(lambda (url)
(rename-buffer
(format "*w3m: %s*" (or w3m-current-title
w3m-current-url)) t)))
Discussion