diff -Naur --exclude='*~' session/fink/README.fink session.fink/fink/README.fink --- session/fink/README.fink 1969-12-31 16:00:00.000000000 -0800 +++ session.fink/fink/README.fink 2005-12-14 17:11:46.000000000 -0800 @@ -0,0 +1,19 @@ +To begin using session-el, add the forms + +(require 'session) +(add-hook 'after-init-hook 'session-initialize) + +to your emacs initialization file. Thus, after emacs starts up, you +will see in the `File' menu two new items: `Open...recently changed' +and `Open...recently visited'. When selected, each produces a new +menu of files, one corresponding to recently changed, the other for +recently "visited" (which in emacs-speak means recently opened). It +will take a few sessions with emacs before these submenus get +populated with useful items. But once populated, these menus provide +a feature for emacs that you may be familiar with from other programs: +opening "recent" files. + +The customization group for session is called simply `session. Thus, +to begin customizing session, execute the key sequence + +M-x customize-group RET session RET diff -Naur --exclude='*~' session/fink/emacsen-install session.fink/fink/emacsen-install --- session/fink/emacsen-install 1969-12-31 16:00:00.000000000 -0800 +++ session.fink/fink/emacsen-install 2005-12-14 17:14:16.000000000 -0800 @@ -0,0 +1,43 @@ +#!/bin/bash -e +# +# install file for the fink session emacs package. + +set -o posix + +FLAVOR=${1} + +echo >&2 "install/session-el: Handling install for flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs ] +then + echo >&2 "install/session-el: Done." + exit 0 +fi + +if [ ${FLAVOR} == emacs20 ] + then + echo >&2 "install/session-el: Skipping unsupported flavor ${FLAVOR}." + exit 0 +fi + +if [ ${FLAVOR} == xemacs ] + then + EFLAGS="--no-site-file --no-init-file -batch -f batch-byte-compile" + else + EFLAGS="-no-site-file -no-init-file -batch -f batch-byte-compile" +fi + +echo >&2 -n "install/session-el: Byte-compiling for ${FLAVOR}..." + +mkdir -p @PREFIX@/share/${1}/site-lisp/session +cp @PREFIX@/share/emacs/site-lisp/session/session.el @PREFIX@/share/${1}/site-lisp/session/session.el + +cd @PREFIX@/share/${FLAVOR}/site-lisp/session +(${FLAVOR} ${EFLAGS} session.el 2>&1) | gzip -9qf > @PREFIX@/share/doc/session-el/CompilationLog-${FLAVOR}.gz + +rm @PREFIX@/share/${FLAVOR}/site-lisp/session/*.el + +echo >&2 "done." +echo >&2 "install/session-el: Compilation log saved in @PREFIX@/share/doc/session-el/CompilationLog-${FLAVOR}.gz" + +exit 0 diff -Naur --exclude='*~' session/fink/emacsen-remove session.fink/fink/emacsen-remove --- session/fink/emacsen-remove 1969-12-31 16:00:00.000000000 -0800 +++ session.fink/fink/emacsen-remove 2005-12-14 14:54:41.000000000 -0800 @@ -0,0 +1,28 @@ +#!/bin/bash -e +# +# This is the Fink version of the session-el emacs package. +set -o posix + +FLAVOR=${1} + +echo >&2 "remove/session-el: Removing for ${FLAVOR}" + +if [ ${FLAVOR} == emacs ] +then + echo "remove/session-el: Done" + exit 0 +fi + +if [ ${FLAVOR} == emacs20 ] + then + echo "remove/session-el: Skipping unsupported flavor ${FLAVOR}." + exit 0 +fi + +echo >&2 -n "remove/session-el: Purging byte-compiled files and compilation log for ${FLAVOR}... " +rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/session +rm -f @PREFIX@/share/doc/session-el/CompilationLog-${FLAVOR}.gz + +echo >&2 "done." + +exit 0