From 08d70948505813be88514b5fb279346c0831255a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Sat, 30 Apr 2022 12:41:31 +0100 Subject: [PATCH] Upgrade to emacs27 --- dots/aliases | 2 +- dots/plank/items/emacs26.dockitem | 2 -- dots/plank/items/emacs27.dockitem | 2 ++ dots/plank/plank.ini | 2 +- dots/sakura.conf | 2 ++ scripts/setup.sh | 2 +- scripts/today.sh | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 dots/plank/items/emacs26.dockitem create mode 100644 dots/plank/items/emacs27.dockitem diff --git a/dots/aliases b/dots/aliases index 24e4c97..5f1ac34 100644 --- a/dots/aliases +++ b/dots/aliases @@ -1,5 +1,5 @@ # Emacs -alias emacs="emacs26" +alias emacs="emacs27" # Music pl(){pgrep -x cmus >/dev/null && cmus-remote -u || echo "cmus is not running"} diff --git a/dots/plank/items/emacs26.dockitem b/dots/plank/items/emacs26.dockitem deleted file mode 100644 index b781756..0000000 --- a/dots/plank/items/emacs26.dockitem +++ /dev/null @@ -1,2 +0,0 @@ -[PlankDockItemPreferences] -Launcher=file:///usr/share/applications/emacs26.desktop diff --git a/dots/plank/items/emacs27.dockitem b/dots/plank/items/emacs27.dockitem new file mode 100644 index 0000000..61061fa --- /dev/null +++ b/dots/plank/items/emacs27.dockitem @@ -0,0 +1,2 @@ +[PlankDockItemPreferences] +Launcher=file:///usr/share/applications/emacs27.desktop diff --git a/dots/plank/plank.ini b/dots/plank/plank.ini index f6fa500..0a41aae 100644 --- a/dots/plank/plank.ini +++ b/dots/plank/plank.ini @@ -2,7 +2,7 @@ icon-size=48 show-dock-item=false position='left' -dock-items=['sakura.dockitem', 'google-chrome.dockitem', 'thunderbird.dockitem', 'emacs26.dockitem', 'gimp.dockitem', 'calibre-gui.dockitem'] +dock-items=['sakura.dockitem', 'google-chrome.dockitem', 'thunderbird.dockitem', 'emacs27.dockitem', 'gimp.dockitem', 'calibre-gui.dockitem'] unhide-delay=0 items-alignment='center' theme='Frost' diff --git a/dots/sakura.conf b/dots/sakura.conf index 80cb39c..e9a9ca1 100644 --- a/dots/sakura.conf +++ b/dots/sakura.conf @@ -64,3 +64,5 @@ decrease_font_size_key=minus fullscreen_key=F11 set_colorset_accelerator=5 icon_file=terminal-tango.svg +search_accelerator=5 +search_key=F diff --git a/scripts/setup.sh b/scripts/setup.sh index fc9961d..162346e 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -25,7 +25,7 @@ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key ad sudo apt update # Install things -sudo apt install abcde arc-theme biber calibre cmus conky-all curl dh-autoreconf emacs26 evince eyed3 feh ffmpeg fonts-crosextra-carlito fonts-noto fonts-noto-color-emoji fonts-sil-andika fonts-sil-doulos geoclue-2.0 ghostscript gimp insync kid3-qt lame libcurl4-openssl-dev libnotify-dev libreoffice maildir-utils mu4e offlineimap openbox pandoc papirus-icon-theme plank pnmixer python2.7 python3 python3-venv python3-pip redshift-gtk ruby-full sakura spotify-client suru-icon-set texlive-extra-utils texlive-latex-extra texlive-xetex tex-gyre thunderbird tint2 tree vlc vlc-plugin-fluidsynth xcompmgr zsh +sudo apt install abcde arc-theme biber calibre cmus conky-all curl dh-autoreconf emacs27 evince eyed3 feh ffmpeg fonts-crosextra-carlito fonts-noto fonts-noto-color-emoji fonts-sil-andika fonts-sil-doulos geoclue-2.0 ghostscript gimp insync kid3-qt lame libcurl4-openssl-dev libnotify-dev libreoffice maildir-utils mu4e offlineimap openbox pandoc papirus-icon-theme plank pnmixer python2.7 python3 python3-venv python3-pip redshift-gtk ruby-full sakura spotify-client suru-icon-set texlive-extra-utils texlive-latex-extra texlive-xetex tex-gyre thunderbird tint2 tree vlc vlc-plugin-fluidsynth xcompmgr zsh # build-essential libsox-fmt-all sox xserver-xorg-core xserver-xlib-input-synaptics zlib1g-dev zotero # not required # google-chrome python-pip # not working in focal diff --git a/scripts/today.sh b/scripts/today.sh index 7603f7f..9325b1a 100755 --- a/scripts/today.sh +++ b/scripts/today.sh @@ -1,3 +1,3 @@ #/usr/bin/bash -emacs26 -batch -Q -l ~/.emacs.d/agenda.el -eval '(org-batch-agenda "a" org-agenda-span 1)' +emacs27 -batch -Q -l ~/.emacs.d/agenda.el -eval '(org-batch-agenda "a" org-agenda-span 1)'