Commit a223c6d0 authored by santu pham's avatar santu pham

fixed bug emacs26

parent 2ea7eb50
Pipeline #35800 failed with stage
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
(add-to-list 'package-archives '("ELPA" . "http://tromey.com/elpa/")) (add-to-list 'package-archives '("ELPA" . "http://tromey.com/elpa/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("MELPA" . "http://melpa.milkbox.net/packages/")) (add-to-list 'package-archives '("MELPA" . "http://melpa.milkbox.net/packages/"))
(add-to-list 'package-archives '("melpa-stable" . "http://melpa.org/packages/") t)
(package-initialize) (package-initialize)
) )
...@@ -227,7 +228,7 @@ ...@@ -227,7 +228,7 @@
'(org-time-stamp-custom-formats (quote ("<%d/%m/%Y %a>" . "<%d/%m/%Y %a [%H:%M]>"))) '(org-time-stamp-custom-formats (quote ("<%d/%m/%Y %a>" . "<%d/%m/%Y %a [%H:%M]>")))
'(package-selected-packages '(package-selected-packages
(quote (quote
(multi-term nterm powerline zenburn-theme use-package undo-tree solarized-theme sml-modeline org-journal multiple-cursors magit latex-preview-pane ido-vertical-mode hlinum highlight-indentation guide-key golden-ratio flycheck exec-path-from-shell dired-details diminish counsel color-theme browse-kill-ring autopair auto-complete auctex-latexmk))) (multi-term nterm powerline zenburn-theme use-package undo-tree solarized-theme sml-modeline org-journal multiple-cursors magit latex-preview-pane ido-vertical-mode hlinum highlight-indentation guide-key golden-ratio flycheck exec-path-from-shell dired-details diminish counsel color-theme browse-kill-ring autopair auto-complete auctex-latexmk)))
'(python-indent-guess-indent-offset nil) '(python-indent-guess-indent-offset nil)
'(sml/battery-format " [ %p ] ") '(sml/battery-format " [ %p ] ")
'(sml/show-client t)) '(sml/show-client t))
......
...@@ -4,12 +4,12 @@ function version { echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }' ...@@ -4,12 +4,12 @@ function version { echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }'
# apt-get install -y software-properties-common # apt-get install -y software-properties-common
# install emacs25 # install emacs26
if ! [ -x "$(command -v emacs25)" ]; then if ! [ -x "$(command -v emacs26)" ]; then
echo "install emacs25" echo "install emacs26"
sudo add-apt-repository -y ppa:kelleyk/emacs sudo add-apt-repository -y ppa:kelleyk/emacs
sudo apt-get update sudo apt-get update
sudo apt-get install -y emacs25 sudo apt-get install -y emacs26
fi fi
# install git # install git
if ! [ -x "$(command -v git)" ]; then if ! [ -x "$(command -v git)" ]; then
...@@ -56,15 +56,15 @@ fi ...@@ -56,15 +56,15 @@ fi
# .. for bash # .. for bash
if [ -f ~/.bashrc ]; then if [ -f ~/.bashrc ]; then
echo "make bash alias em" echo "make bash alias em"
echo "alias em=\"emacs25\"" >> ~/.bashrc echo "alias em=\"emacs26\"" >> ~/.bashrc
echo "alias emacs=\"emacs25\"" >> ~/.bashrc echo "alias emacs=\"emacs26\"" >> ~/.bashrc
. ~/.bashrc . ~/.bashrc
fi fi
# .. and for zsh # .. and for zsh
if [ -f ~/.zshrc ]; then if [ -f ~/.zshrc ]; then
echo "make zsh alias em" echo "make zsh alias em"
echo "alias em=\"emacs25\"" >> ~/.zshrc echo "alias em=\"emacs26\"" >> ~/.zshrc
echo "alias emacs=\"emacs25\"" >> ~/.zshrc echo "alias emacs=\"emacs26\"" >> ~/.zshrc
. ~/.zshrc . ~/.zshrc
fi fi
...@@ -77,4 +77,4 @@ fi ...@@ -77,4 +77,4 @@ fi
echo "Clone emacs config.." echo "Clone emacs config.."
git clone https://gitlab.version.fz-juelich.de/chraibi1/san_emacs.git $HOME/.emacs.d git clone https://gitlab.version.fz-juelich.de/chraibi1/san_emacs.git $HOME/.emacs.d
echo "start emacs ..." echo "start emacs ..."
emacs25 -nw emacs26 -nw
...@@ -65,6 +65,7 @@ Always use `C-g` when you mess up ...@@ -65,6 +65,7 @@ Always use `C-g` when you mess up
- `C-c n` search for pattern in a project (directory) - `C-c n` search for pattern in a project (directory)
- `C-xb` open list of buffers, then `x` to kill - `C-xb` open list of buffers, then `x` to kill
- 'C-x b' swith buffers - 'C-x b' swith buffers
- 'M-x' load-theme
# Spelling # Spelling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment