From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.help Subject: emacs23 and w3m-session Date: Thu, 22 Jan 2009 20:53:03 +0100 Organization: A noiseless patient Spider Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232656970 10465 80.91.229.12 (22 Jan 2009 20:42:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 20:42:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 21:44:03 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQ6PA-0004rC-EH for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 21:44:00 +0100 Original-Received: from localhost ([127.0.0.1]:57501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ6Nt-0002TJ-0J for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 15:42:41 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-X-Trace: news.eternal-september.org U2FsdGVkX183TssqayKGgPAO4VoXCT4nee45GLhe7fccV/BcqUTkII5JrWmN3Ae66reSjvcrjGEFno6PWYRS/1CtT+22h32IIAzPIckfG9l+zZsZK9YYWBI+bf2f6uSCA8qprd9TnUU= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 22 Jan 2009 19:53:23 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Auth-Sender: U2FsdGVkX1+I+gd/8WRb8cZqAbsxGXNtePHyo+fQs04= Cancel-Lock: sha1:iqbIgyfl4sK3MEqDfIJHRivC7Dg= sha1:E1wTe//TctG+LSwx7mWA/l5obYg= Original-Xref: news.stanford.edu gnu.emacs.help:166248 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61571 Archived-At: 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