installer done, not tested
This commit is contained in:
parent
c1108354b3
commit
f68a304492
|
@ -42,8 +42,9 @@
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(c-plugin nil)
|
'(c-plugin nil)
|
||||||
;'(color-theme-selection "Arjen" nil (color-theme_seldefcustom))
|
;'(color-theme-selection "Arjen" nil (color-theme_seldefcustom))
|
||||||
'(developer-email "lxsameer@gnu.org")
|
'(developer-email "--EMAIL--")
|
||||||
'(developer-name "Sameer Rahmani")
|
'(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"))))
|
'(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)
|
'(inhibit-startup-screen t)
|
||||||
'(rng-nxml-auto-validate-flag nil))
|
'(rng-nxml-auto-validate-flag nil))
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
(local-file (file-relative-name
|
(local-file (file-relative-name
|
||||||
temp-file
|
temp-file
|
||||||
(file-name-directory buffer-file-name))))
|
(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
|
(add-to-list 'flymake-allowed-file-name-masks
|
||||||
'("\\.py$" flymake-pyflakes-init)))
|
'("\\.py$" flymake-pyflakes-init)))
|
||||||
;; flymake shortkeys
|
;; flymake shortkeys
|
||||||
|
@ -81,5 +82,5 @@
|
||||||
))
|
))
|
||||||
(global-set-key (kbd "<backtab>") 'dabbrev-expand)
|
(global-set-key (kbd "<backtab>") 'dabbrev-expand)
|
||||||
|
|
||||||
(load-file "~/src/kuso-ide/src/kuso-ide.el")
|
(load-file "--KUSOHOME--/kuso-ide.el")
|
||||||
(kuso-mode)
|
(kuso-mode)
|
||||||
|
|
22
install.sh
22
install.sh
|
@ -1,16 +1,22 @@
|
||||||
#! /bin/bash
|
#! /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
|
mkdir -p ~/.emacs.d
|
||||||
if [ -x ~/.emacs ]; then
|
if [ -x ~/.emacs ]; then
|
||||||
cp ~/.emacs ~/.emacs.backup
|
cp ~/.emacs ~/.emacs.backup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp conf/emacs.d/* ~/.emacs.d -rv
|
cp conf/emacs.d/* ~/.emacs.d -rv
|
||||||
cp conf/dotemacs ~/.emacs -v
|
echo "Creating ~/.emacs"
|
||||||
|
mkdir -p $addr
|
||||||
echo "Enter your full name (you can change it later in top level customization): "
|
cp conf/bin/pyemacs.sh $addr/ -rv
|
||||||
$fullname=`read`
|
chmod u+x $addr/pyemacs.sh
|
||||||
echo "Enter your mail: "
|
sed "s/--EMAIL--/$mail/" conf/dotemacs| sed "s/--FULLNAME--/$fullname/"| sed "--WORKSPACE--" | sed "s/--ADDR--/$addrcp/" | sed "s/--KUSOHOME--/$kusohome/" > ~/.emacs
|
||||||
$mail=`read`
|
|
||||||
echo "Enter your workspace directory path: "
|
|
||||||
$workspace=`read`
|
|
||||||
|
|
Loading…
Reference in New Issue