[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mark a page as read
- From: Naohiro Aota <naota@xxxxxxxxx>
- Date: Sat, 04 Jul 2009 17:02:45 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10940
- References: <87ab3ljug8.fsf@xxxxxxxxxxx>
I don't think it is necessary to add to official key bind, but you can bind
it like this.
(defun my-w3m-mark-page-as-read (url)
(interactive
(list (w3m-input-url)))
(w3m-arrived-add url)
(w3m-redisplay-this-page))
(add-hook 'w3m-mode-hook
'(lambda ()
(define-key w3m-mode-map <any key you like> 'my-w3m-mark-page-as-read)))
jidanni@xxxxxxxxxxx writes:
> Please add a key binding to be able to mark a link in the "already
> read" color, without needing to browse that link. I.e.,
> face (w3m-anchor) ->face (w3m-arrived-anchor)
> It would use w3m-arrived-add and w3m-redisplay-this-page or something.