all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: emacs23 and w3m-session
Date: Thu, 22 Jan 2009 20:53:03 +0100	[thread overview]
Message-ID: <m2y6x3dso0.fsf@gmail.com> (raw)

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


                 reply	other threads:[~2009-01-22 19:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y6x3dso0.fsf@gmail.com \
    --to=francis.moro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.