installer done, not tested

This commit is contained in:
lxsameer 2011-07-22 18:46:56 +04:30
parent c1108354b3
commit f68a304492
2 changed files with 19 additions and 12 deletions

View File

@ -42,8 +42,9 @@
;; If there is more than one, they won't work right.
'(c-plugin nil)
;'(color-theme-selection "Arjen" nil (color-theme_seldefcustom))
'(developer-email "lxsameer@gnu.org")
'(developer-name "Sameer Rahmani")
'(developer-email "--EMAIL--")
'(developer-name "--FULLNAME--")
'(kuso-workspace "--WORKSPACE--")
'(face-font-family-alternatives (quote (("courier" "Monospace" "fixed") ("courier" "CMU Typewriter Text" "fixed") ("Sans Serif" "helv" "helvetica" "arial" "fixed") ("helv" "helvetica" "arial" "fixed"))))
'(inhibit-startup-screen t)
'(rng-nxml-auto-validate-flag nil))
@ -63,7 +64,7 @@
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list "~/bin/pyemacs.sh" (list local-file))))
(list "--ADDR--/pyemacs.sh" (list local-file))))
(add-to-list 'flymake-allowed-file-name-masks
'("\\.py$" flymake-pyflakes-init)))
;; flymake shortkeys
@ -81,5 +82,5 @@
))
(global-set-key (kbd "<backtab>") 'dabbrev-expand)
(load-file "~/src/kuso-ide/src/kuso-ide.el")
(load-file "--KUSOHOME--/kuso-ide.el")
(kuso-mode)

View File

@ -1,16 +1,22 @@
#! /bin/bash
echo "Enter your full name (you can change it later in top level customization): "
fullname=`read`
echo "Enter your mail: "
mail=`read`
echo "Where is your workspace directory: "
workspace=`read`
echo "Where do you want to put pyemacs.sh file: "
addr=`read`
kusohome=`pwd`
mkdir -p ~/.emacs.d
if [ -x ~/.emacs ]; then
cp ~/.emacs ~/.emacs.backup
fi
cp conf/emacs.d/* ~/.emacs.d -rv
cp conf/dotemacs ~/.emacs -v
echo "Enter your full name (you can change it later in top level customization): "
$fullname=`read`
echo "Enter your mail: "
$mail=`read`
echo "Enter your workspace directory path: "
$workspace=`read`
echo "Creating ~/.emacs"
mkdir -p $addr
cp conf/bin/pyemacs.sh $addr/ -rv
chmod u+x $addr/pyemacs.sh
sed "s/--EMAIL--/$mail/" conf/dotemacs| sed "s/--FULLNAME--/$fullname/"| sed "--WORKSPACE--" | sed "s/--ADDR--/$addrcp/" | sed "s/--KUSOHOME--/$kusohome/" > ~/.emacs