Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv13549
Added Files: mac-key-mode.info mac-key-mode.patch Log Message: Update from tracker http://sourceforge.net/tracker/index.php?func=detail&aid=1851527&group_id=17203&atid=414256 --- NEW FILE: mac-key-mode.info --- Package: mac-key-mode Description: Mac-like keybindings for emacsen Version: 0.227 Revision: 1 License: GPL Depends: emacsen, redo-el Maintainer: Jesse Alama <[EMAIL PROTECTED]> Source: http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/zenitani/CarbonEmacs/GPL/mac/mac-key-mode.el?rev=227&root=macwiki Source-MD5: 500d5ad57fe3afcc872d736d87b39f54 SourceRename: mac-key-mode.el Homepage: http://www.emacswiki.org/cgi-bin/emacs-en/MacKeyMode NoSourceDirectory: true PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1 CompileScript: << << InstallScript: << mkdir -p %i/share/emacs/site-lisp/mac-key-mode install -m 644 mac-key-mode.el %i/share/emacs/site-lisp/mac-key-mode mkdir -p %i/share/doc/mac-key-mode mkdir -p %i/lib/emacsen-common/packages/install mkdir -p %i/lib/emacsen-common/packages/remove install -m 755 fink/emacsen-install %i/lib/emacsen-common/packages/install/%n install -m 755 fink/emacsen-remove %i/lib/emacsen-common/packages/remove/%n mkdir -p %i/etc/emacs/site-start.d install -m 644 fink/50mac-key-mode.el %i/etc/emacs/site-start.d << PostInstScript: %p/lib/emacsen-common/emacs-package-install %n PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n DescDetail: << This package provides mac-key-mode, a minor mode that provides mac-like key bindings and relevant elisp functions. << DescUsage: << To use mac-key-mode, add the form (mac-key-mode) to your emacs initialization file. To turn on mac-key-mode only when not running in a terminal, consider adding the form (unless (getenv "TERM") (mac-key-mode)) to your emacs initialization file. (Thanks to Alex Schroder for the tip.) To define additional keybindings, modify mac-key-mode-map in your .emacs file: (define-key mac-key-mode-map [(alt l)] 'goto-line) When mac-key-mode is on, the command key is recognized as the 'alt' key, but the option (alt) key is also recognized as 'alt' key. If you would like to use option (alt) key as meta, add the following form to your emacs initialization file: (add-hook 'mac-key-mode-hook (lambda() (interactive) (if mac-key-mode (setq mac-option-modifier 'meta) (setq mac-option-modifier nil) ))) See the documentation for these variables for their precise meanings. << --- NEW FILE: mac-key-mode.patch --- diff -Naur --exclude='*~' mac-key-mode/fink/50mac-key-mode.el mac-key-mode.fink/fink/50mac-key-mode.el --- mac-key-mode/fink/50mac-key-mode.el 1969-12-31 18:00:00.000000000 -0600 +++ mac-key-mode.fink/fink/50mac-key-mode.el 2007-12-26 21:11:37.000000000 -0600 @@ -0,0 +1 @@ +(require 'mac-key-mode) diff -Naur --exclude='*~' mac-key-mode/fink/emacsen-install mac-key-mode.fink/fink/emacsen-install --- mac-key-mode/fink/emacsen-install 1969-12-31 18:00:00.000000000 -0600 +++ mac-key-mode.fink/fink/emacsen-install 2007-12-15 15:04:19.000000000 -0600 @@ -0,0 +1,34 @@ +#!/bin/bash -e +# +# install file for the fink mac-key-mode emacs package. + +set -o posix + +FLAVOR=${1} + +echo >&2 "install/mac-key-mode: Handling install of emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "install/mac-key-mode: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +if [ ${FLAVOR} == emacs ] +then + # Nothing to do, say nothing + exit 0 +fi + +echo >&2 -n "install/mac-key-mode: Byte-compiling for ${FLAVOR}..." +mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/mac-key-mode +ln -s -f @PREFIX@/share/emacs/site-lisp/mac-key-mode/mac-key-mode.el @PREFIX@/share/${FLAVOR}/site-lisp/mac-key-mode + +cd @PREFIX@/share/${FLAVOR}/site-lisp/mac-key-mode; + +(${FLAVOR} --no-init-file -batch -f batch-byte-compile mac-key-mode.el 2>&1) | gzip -9qf > @PREFIX@/share/doc/mac-key-mode/CompilationLog-${FLAVOR}.gz + +echo >&2 "done." +echo >&2 "install/mac-key-mode: Compilation log saved in @PREFIX@/share/doc/mac-key-mode/CompilationLog-${FLAVOR}.gz." + +exit 0 diff -Naur --exclude='*~' mac-key-mode/fink/emacsen-remove mac-key-mode.fink/fink/emacsen-remove --- mac-key-mode/fink/emacsen-remove 1969-12-31 18:00:00.000000000 -0600 +++ mac-key-mode.fink/fink/emacsen-remove 2007-12-10 18:35:39.000000000 -0600 @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# This is the Fink version of the mac-key-mode emacs package. +set -o posix + +FLAVOR=${1} + +echo "remove/mac-key-mode: Handling removal for emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "remove/mac-key-mode: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +echo >&2 -n "remove/mac-key-mode: Purging compilation log and byte-compiled files for ${FLAVOR}..." +rm -f @PREFIX@/share/doc/mac-key-mode/CompilationLog-${FLAVOR}.gz +rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/mac-key-mode +echo >&2 "done." + +exit 0 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs