all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs23 and w3m-session
@ 2009-01-22 19:53 Francis Moreau
  0 siblings, 0 replies; only message in thread
From: Francis Moreau @ 2009-01-22 19:53 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-22 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 19:53 emacs23 and w3m-session Francis Moreau

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.