# HG changeset patch # User Dominique Corbex # Date 1250884197 -7200 # Node ID 6aae08641f1eb2aa8de48b3c155ef50ba02de88f # Parent 3ab54080351445f0b4b9d4f6d5da2d95fe0a092f emacs: up to 23.1 diff -r 3ab540803514 -r 6aae08641f1e emacs-help/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emacs-help/receipt Fri Aug 21 21:49:57 2009 +0200 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="emacs-help" +VERSION="23.1" +CATEGORY="development" +SHORT_DESC="The GNU Emacs editor - Help files" +MAINTAINER="domcox@slitaz.org" +DEPENDS="emacs" +BUILD_DEPENDS= +WEB_SITE="http://www.gnu.org/software/emacs/" +WANTED="emacs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Help files + echo -n "Copying info files" + mkdir -p $fs/usr/share/emacs/info && \ + cp -a $_pkg/usr/share/emacs/info/em* $fs/usr/share/emacs/info && \ + cp -a $_pkg/usr/share/emacs/info/info $fs/usr/share/emacs/info + status + # Tutorial + echo -n "Copying tutorial files" + mkdir -p $fs/usr/share/emacs/$VERSION/etc && \ + cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials $fs/usr/share/emacs/$VERSION/etc + status + # Doc + echo -n "Copying doc files" + DOC_FILES=" COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \ + INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \ + NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \ + WHY-FREE compilation.txt edt-user.doc enriched.doc gnus-tut.txt grep.txt" + for file in $DOC_FILES; do + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc + done + status +} + diff -r 3ab540803514 -r 6aae08641f1e emacs-lisp-sources/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emacs-lisp-sources/receipt Fri Aug 21 21:49:57 2009 +0200 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="emacs-lisp-sources" +VERSION="23.1" +CATEGORY="development" +SHORT_DESC="The GNU Emacs editor - Lisp source files" +MAINTAINER="domcox@slitaz.org" +DEPENDS="emacs" +BUILD_DEPENDS= +WEB_SITE="http://www.gnu.org/software/emacs/" +WANTED="emacs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # lisp files + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \ + lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \ + lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" + for dir in $LISP_DIR; do + echo -n "Copying $dir sources" + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir + status + done + # Use linux term only + LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz" + echo -n "Copying lisp/term sources" + mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \ + for file in $LINUX_TERM; do + cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term + done + status + # leim files + LEIM_FILES="leim/ja-dic leim/quail" + for dir in $LEIM_FILES; do + echo -n "Copying $dir sources" + mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \ + cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \ + status + done + # Doc + echo -n "Copying doc files" + DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO" + for file in $DOC_FILES; do + cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc + done + status +} diff -r 3ab540803514 -r 6aae08641f1e emacs-pkg-lua-mode/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emacs-pkg-lua-mode/receipt Fri Aug 21 21:49:57 2009 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="emacs-pkg-lua-mode" +VERSION="20071122" +CATEGORY="development" +SHORT_DESC="An Emacs major mode for editing Lua code." +MAINTAINER="domcox@slitaz.org" +DEPENDS="emacs" +BUILD_DEPENDS="emacs" +SOURCE="lua-mode" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://lua-mode.luaforge.net" +WGET_URL="http://luaforge.net/frs/download.php/2724/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + echo -n "Byte-compilating lua-mode.el" + emacs -batch -f batch-byte-compile $WOK/$PACKAGE/$SOURCE.el 2> /dev/null + status +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + echo -n "Installing lua-mode" + mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ + cp $WOK/$PACKAGE/*.elc $fs/usr/share/emacs/site-lisp/lua-mode + status + echo -n "Installing start file" + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ + cp stuff/*.el $fs/usr/share/emacs/site-lisp/site-start.d + status +} diff -r 3ab540803514 -r 6aae08641f1e emacs-pkg-lua-mode/stuff/lua-mode-start.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emacs-pkg-lua-mode/stuff/lua-mode-start.el Fri Aug 21 21:49:57 2009 +0200 @@ -0,0 +1,16 @@ +;; lua-mode start file for SliTaz +;; +;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. +;; +;; To set up Emacs to automatically edit files ending in .lua using Lua-mode + +(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) +(autoload 'lua-mode "lua-mode" "Lua editing mode." t) + +;; If you want colorization, turn on global-font-lock or add this: + +(add-hook 'lua-mode-hook 'turn-on-font-lock) + +;; If you want to use hideshow, turn on hs-minor-mode or add this: + +(add-hook 'lua-mode-hook 'hs-minor-mode) diff -r 3ab540803514 -r 6aae08641f1e emacs/description.txt --- a/emacs/description.txt Fri Aug 21 21:17:15 2009 +0200 +++ b/emacs/description.txt Fri Aug 21 21:49:57 2009 +0200 @@ -3,5 +3,3 @@ the Lisp programming language with extensions to support text editing and much more. -Emacs has been stripped down for SliTaz: POP mail, x-window, -games, sound, info, man pages, Lisp sources are not available. diff -r 3ab540803514 -r 6aae08641f1e emacs/receipt --- a/emacs/receipt Fri Aug 21 21:17:15 2009 +0200 +++ b/emacs/receipt Fri Aug 21 21:49:57 2009 +0200 @@ -1,12 +1,15 @@ # SliTaz package receipt. +PACKED_SIZE="16.0M" +UNPACKED_SIZE="57.6M" PACKAGE="emacs" -VERSION="22.3" +VERSION="23.1" CATEGORY="development" SHORT_DESC="The GNU Emacs editor" -MAINTAINER="domcox@users.sourceforge.net" -DEPENDS="ncurses" -BUILD_DEPENDS="ncurses-dev" +MAINTAINER="domcox@slitaz.org" +DEPENDS="atk cairo dbus expat freetype fontconfig giflib glib gtk+ jpeg libgio libpng libuuid ncurses pango tiff xorg-server zlib" +BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev fontconfig-dev giflib-dev glib-dev gtk+-dev jpeg-dev \ + libgio-dev libpng-dev ncurses-dev pango-dev pkg-config tiff-dev xorg-dev xorg-dev-proto" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/emacs/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" @@ -20,69 +23,130 @@ sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' leim/Makefile.in # Configure ./configure $CONFIGURE_ARGS \ - --infodir=/usr/share/emacs/info \ - --mandir=/usr/share/man \ - --without-pop \ - --without-sound \ - --without-x \ - --with-x-toolkit=no \ - --libexecdir=/usr/lib \ - --localstatedir=/var/lib \ - --sharedstatedir=/var/lib \ - --prefix=/usr && - make && + --infodir=/usr/share/emacs/info \ + --mandir=/usr/share/man \ + --without-makeinfo \ + --with-sound \ + --with-x \ + --with-x-toolkit=gtk \ + --with-toolkit-scroll-bars \ + --with-xpm=yes \ + --libexecdir=/usr/lib \ + --localstatedir=/var/lib \ + --sharedstatedir=/var/lib \ + --prefix=/usr && \ + make && \ make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - echo "Copying files" # Binary files - mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr - # emacs-22.2 = emacs - rm -f $fs/usr/bin/emacs-22.2 + BIN_FILES="b2m ctags ebrowse emacs emacsclient etags grep-changelog rcs-checkin" + echo -n "Copying emacs binary files" + mkdir -p $fs/usr/bin && \ + for file in $BIN_FILES; do + cp -a $_pkg/usr/bin/$file $fs/usr/bin + done + status + # Lib files + echo -n "Copying emacs lib files" + cp -a $_pkg/usr/lib $fs/usr + status + strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* 2> /dev/null + # lisp files + LISP_DIR=" lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \ + lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \ + lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url" + for dir in $LISP_DIR; do + echo -n "Copying $dir files" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir + if [ `ls $_pkg/usr/share/$PACKAGE/$VERSION/$dir/ | grep -c \.el$` -gt 0 ]; then + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.el $fs/usr/share/$PACKAGE/$VERSION/$dir + fi + for file in COPYING README TODO; do + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir + fi + done + status + done + # Use linux term only + LINUX_TERM="README linux.el rxvt.elc tty-colors.elc vt100.elc xterm.elc" + echo -n "Copying lisp/term files (linux only)" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/lisp/term && \ + for file in $LINUX_TERM; do + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/$file $fs/usr/share/$PACKAGE/$VERSION/lisp/term + done + status + # leim files + echo -n "Copying leim files" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/leim && \ + cp $_pkg/usr/share/$PACKAGE/$VERSION/leim/*.el $fs/usr/share/$PACKAGE/$VERSION/leim + status + LEIM_FILES="leim/ja-dic leim/quail" + for dir in $LEIM_FILES; do + echo -n "Copying $dir files" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \ + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc $fs/usr/share/$PACKAGE/$VERSION/$dir && \ + for file in COPYING README TODO; do + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir + fi + done + status + done # Conf files - mkdir -p $fs/usr/share/$PACKAGE/$VERSION - mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc - mkdir -p $fs/usr/share/$PACKAGE/info - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.de $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.es $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/TUTORIAL.fr $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/ORDERS $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/COPYING $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/DISTRIB $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/DOC-* $fs/usr/share/$PACKAGE/$VERSION/etc - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp $fs/usr/share/$PACKAGE/$VERSION - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/leim $fs/usr/share/$PACKAGE/$VERSION - cp -a $_pkg/usr/share/$PACKAGE/site-lisp $fs/usr/share/$PACKAGE - cp -a $_pkg/usr/share/$PACKAGE/info/em* $fs/usr/share/$PACKAGE/info - cp -a $_pkg/usr/share/$PACKAGE/info/info $fs/usr/share/$PACKAGE/info - cp -a $_pkg/usr/lib $fs/usr - # Delete Lisp sources - find $fs/usr/share -name *el.gz > lisp-sources - cat lisp-sources | while read filename - do - rm $filename + echo -n "Copying conf files" + CONF_FILES="ETAGS.README charsets e emacs2.py emacs3.py emacs-buffer.gdb emacs.py forms-d2.dat \ + gnus nxml schema enriched.doc ms-kermit ps-prin0.ps ps-prin1.ps ses-example.ses \ + spook.lines yow.lines" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc && \ + for file in $CONF_FILES; do + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc done - # Delete Games - rm -rf $fs/usr/share/$PACKAGE/$VERSION/lisp/play - # Use linux term only - rm -rf $fs/usr/share/$PACKAGE/$VERSION/lisp/term/* - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/linux.el $fs/usr/share/$PACKAGE/$VERSION/lisp/term - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/rxvt.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/tty-colors.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/vt100.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term - cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/xterm.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/term - # Strip executable files - strip -s $fs/usr/bin/* > /dev/null - strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* > /dev/null + status + # Pixmaps files + XPM_DIR=" images images/custom images/ezimage images/gnus images/gud images/mail images/smilies \ + images/smilies/grayscale images/smilies/medium images/tree-widget/default images/tree-widget/folder" + for dir in $XPM_DIR; do + echo -n "Copying $dir files" + mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ + cp $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.xpm $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \ + for file in COPYING README TODO; do + if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then + cp $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file $fs/usr/share/$PACKAGE/$VERSION/$dir + fi + done + status + done + # Licence + GNU_FILES="AUTHORS BABYL CENSORSHIP COPYING DISTRIB FTP GNU ORDERS SERVICE copying.paper" + echo -n "Copying License files" + for file in $GNU_FILES; do + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file $fs/usr/share/$PACKAGE/$VERSION/etc + done + status # Install specific site file - cp -a stuff/default.el $fs/usr/share/$PACKAGE/site-lisp - # Add lua support - cp stuff/lua-mode.elc $fs/usr/share/$PACKAGE/$VERSION/lisp/progmodes + echo -n "Installing specific SliTaz file" + mkdir -p $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ + cp -a $_pkg/usr/share/$PACKAGE/site-lisp $fs/usr/share/$PACKAGE && \ + cp -a stuff/slitaz.el $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ + status + # Install desktop files for emacs + echo -n "Installing emacs menu" + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications && \ + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/ && \ + cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/emacs.png $fs/usr/share/pixmaps + status + # Add a desktop file for emacs client + echo -n "Installing emacsclient menu" + cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/emacs.desktop $fs/usr/share/applications/emacsclient.desktop && \ + sed -i 's/Exec.*/Exec=xterm -e emacsclient --alternate-editor="" %F/' $fs/usr/share/applications/emacsclient.desktop && \ + sed -i 's/Name=.*/Name=Emacsclient/' $fs/usr/share/applications/emacsclient.desktop + status # Directory workaround cd $fs/usr/share/$PACKAGE/$VERSION ln -s ../site-lisp site-lisp @@ -90,6 +154,6 @@ post_remove() { - rm -rf /usr/share/$PACKAGE - rm -rf /usr/lib/$PACKAGE + rm -rf /usr/share/emacs + rm -rf /usr/lib/emacs } diff -r 3ab540803514 -r 6aae08641f1e emacs/stuff/default.el --- a/emacs/stuff/default.el Fri Aug 21 21:17:15 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -;; SilTaz Emacs site file -;; -;; Last update: 2008-06-28 -;; -;; SliTaz receipt files -;; Force emacs in shell-script-mode -(setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist)) - -;; LUA programming Language -;; add major-mode for editing Lua scripts -(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) - (autoload 'lua-mode "lua-mode" "Lua editing mode." t) - - -;; Force emacs to use tabs -;; From Scott Hurring's HOWTO -;; Turn on tabs -(setq indent-tabs-mode t) -(setq-default indent-tabs-mode t) - -;; Bind the TAB key -(global-set-key (kbd "TAB") 'self-insert-command) - -;; Set the tab width -(setq default-tab-width 4) -(setq tab-width 4) -(setq c-basic-indent 4) - - -;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets): -;; christof sietchtabr at gmail -;; -;; the dired, list-directory, and gzip fixes all come from the -;; packager of the emacs deb and responses from other maemo community members -;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml -;; -;; make dired work -;; --dired option is not supported on busybox ls command -(setq dired-use-ls-dired nil) - -;; make list-directory work -;; -F not supported by busybox ls command -(setq list-directory-brief-switches "-C") - - -;; we *REALLY* don't want to spew file backups all over the fs. -;; code to place all backups in one location -(when (not (file-directory-p "~/.backup")) - (make-directory "~/.backup")) -(if (file-directory-p "~/.backup") - (setq backup-directory-alist '(("." . "~/.backup")))) - -;; custom variable setting to make info work using busybox gzip - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\ -ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\ -unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\ - "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\ -g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\ -\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"])))) diff -r 3ab540803514 -r 6aae08641f1e emacs/stuff/emacs.desktop --- a/emacs/stuff/emacs.desktop Fri Aug 21 21:17:15 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -[Desktop Entry] -Type=Application -Encoding=UTF-8 -Name=Emacs (Text mode) -Name[fr]=Emacs (Mode texte) -Exec=xterm -e emacs %F -Icon=emacs.png -Terminal=true -Categories=Development; -MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php*;application/xml;text/html;text/css;text/x-sql;text/x-diff; -StartupNotify=true diff -r 3ab540803514 -r 6aae08641f1e emacs/stuff/emacs.png Binary file emacs/stuff/emacs.png has changed diff -r 3ab540803514 -r 6aae08641f1e emacs/stuff/lua-mode.elc Binary file emacs/stuff/lua-mode.elc has changed diff -r 3ab540803514 -r 6aae08641f1e emacs/stuff/slitaz.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emacs/stuff/slitaz.el Fri Aug 21 21:49:57 2009 +0200 @@ -0,0 +1,59 @@ +;; SilTaz Emacs site file +;; +;; Last update: 2009-08-15 +;; +;; Add support for SliTaz receipt files +;; force emacs in shell-script-mode +(setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist)) + +;; Force emacs to use tabs +;; from Scott Hurring's HOWTO +;; turn on tabs +(setq indent-tabs-mode t) +(setq-default indent-tabs-mode t) + +;; bind the TAB key +(global-set-key (kbd "TAB") 'self-insert-command) + +;; set the tab width +(setq default-tab-width 4) +(setq tab-width 4) +(setq c-basic-indent 4) + + +;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets): +;; christof sietchtabr at gmail +;; +;; the dired, list-directory, and gzip fixes all come from the +;; packager of the emacs deb and responses from other maemo community members +;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml +;; +;; make dired work +;; --dired option is not supported on busybox ls command +(setq dired-use-ls-dired nil) + +;; make list-directory work +;; -F not supported by busybox ls command +(setq list-directory-brief-switches "-C") + + +;; we *REALLY* don't want to spew file backups all over the fs. +;; code to place all backups in one location +(when (not (file-directory-p "~/.backup")) + (make-directory "~/.backup")) +(if (file-directory-p "~/.backup") + (setq backup-directory-alist '(("." . "~/.backup")))) + +;; custom variable setting to make info work using busybox gzip + +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\ +ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\ +unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\ + "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\ +g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\ +\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"]))))