FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 04-03-2011, 04:14 AM
Default Problem with session.el in emacs-goodies-el, Debian whzzey AMD64

** The problem
I used Debian whzzey AMD64. After I add the following in my ~/.emacs,
the session.el is not work
(require 'session)
(add-hook 'after-init-hook 'session-initialize)

If it works, we will find "Open resently ... changed" and
"Open resently ... visited" under the File menu.**

** Solution
I downloaded the new version session.el, version 2.3, in
http://emacs-session.sourceforge.net . And add

(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'session)
(add-hook 'after-init-hook 'session-initialize)

in the ~/.emacs. Now it works.

** What is wrong?
I notices that session.el in /usr/share/emacs/site-lisp/emacs-goodies-el/
is version 2.2a. So, as a test,* I downloaded session.el v2.2a in
http://emacs-session.sourceforge.net,* and put it in ~/.emacs.d/lisp.
I find it works also.

By using vimdiff, it is easy to find the file, session.el* in
cs-goodies-el, is
not the same as the other one, sessen.el b 2.2a,* downloaded in sourceforge.net.

** More
Is it a bug, or my mistake in configuration?


Respect others.
***** This is a civil discussion forum.
***** Remember, the person
on the other side of the keyboard is a person too,
***** and is probably
Try to keep discussions on-topic.
Think before sending.
Bottom post and trim irrelevant parts of earlier replies.


Thread Tools

All times are GMT. The time now is 02:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org