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

Re: want one keystroke picture viewing from nnrss

In [emacs-w3m : No.11241] jidanni@xxxxxxxxxxx wrote:
> = <return> C-x o T <prior> C-h l

> =        Here I am in a nnrss summary
> <return> I read an article, but also decide I want to see the pictures.
>          So I have to go through all these steps
> C-x o T <prior>
>          to see them.

How about the command that the Info manual mentions?

M-: (info "(emacs-w3m)Gnus") RET M->
| Even when you are in the summary buffer, you can toggle displaying
| of images in the article buffer.  It is effective only when those
| images are displayed by emacs-w3m, though.  Here's an example:
| (defun gnus-summary-w3m-safe-toggle-inline-images (&optional arg)
|   "Toggle displaying of all images in the article buffer.
| If the prefix arg is given, force displaying of images."
| [...]
| (eval-after-load "gnus-sum"
|   '(define-key gnus-summary-mode-map
|      "\C-i" 'gnus-summary-w3m-safe-toggle-inline-images))