[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs23 and w3m-session
From: |
Francis Moreau |
Subject: |
emacs23 and w3m-session |
Date: |
Thu, 22 Jan 2009 20:53:03 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
hello,
I was using emacs-w3m with emacs22 and use to saving my
w3m sessions. Here's the config I'm using:
,----
| (if (= emacs-major-version 23)
| (add-to-list 'load-path "~/share/emacs/w3m/e23")
| (add-to-list 'load-path "~/share/emacs/w3m/e22")
| )
|
| (require 'w3m-load)
| ;;(require 'w3m-session)
| ;;(require 'w3m-lnum)
|
| (setq browse-url-browser-function 'w3m-browse-url)
| (setq browse-url-new-window-flag t)
| (setq w3m-use-cookies t)
| (setq w3m-key-binding 'info)
| (setq w3m-home-page "http://www.google.fr")
| (setq w3m-use-cookies t)
|
| (defun jao-w3m-go-to-linknum ()
| "Turn on link numbers and ask for one to go to."
| (interactive)
| (let ((active w3m-link-numbering-mode))
| (when (not active) (w3m-link-numbering-mode))
| (unwind-protect
| (w3m-move-numbered-anchor (read-number "Anchor number: "))
| (when (not active) (w3m-link-numbering-mode)))))
|
| (defun local-w3m-mode-hook ()
| (define-key w3m-mode-map "f" 'jao-w3m-go-to-linknum)
| (define-key w3m-mode-map (kbd "C-x b") nil))
|
| (add-hook 'w3m-mode-hook 'local-w3m-mode-hook)
|
| (setq w3m-session-file "~/.emacs.d/w3m-session")
| (setq w3m-session-save-always nil)
| (setq w3m-session-load-always nil)
| (setq w3m-session-show-titles t)
| (setq w3m-session-duplicate-tabs 'ask)
`----
With this setup and emacs23, emacs-w3m works but I can't use my
session saving anymore.
Does anyone have an idea ?
Thanks
--
Francis
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs23 and w3m-session,
Francis Moreau <=