|
|
|
|
@ -420,6 +420,18 @@ |
|
|
|
|
(load "init-elisp.el") |
|
|
|
|
(load "init-kde-integration.el") |
|
|
|
|
#+END_SRC |
|
|
|
|
** KDE integration |
|
|
|
|
*** TODO These entries should be added to the subtree once it is split |
|
|
|
|
This function is used to raise the frame associated to the current activity |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(defun select-frame-on-current-activity () |
|
|
|
|
(select-frame-on-activity (kde-current-activity))) |
|
|
|
|
#+END_SRC |
|
|
|
|
I prefer to keep one server for each KDE activity, so |
|
|
|
|
set the server name to be the name of the current activity |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(setq server-name (kde-current-activity-name)) |
|
|
|
|
#+END_SRC |
|
|
|
|
** elisp |
|
|
|
|
*** Replace last sexp |
|
|
|
|
I use this a lot to evaluate (e.g.) quick computations in files |
|
|
|
|
@ -506,12 +518,5 @@ |
|
|
|
|
(add-to-list 'package-archives |
|
|
|
|
'("melpa-stable" . "http://stable.melpa.org/packages/") t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defun select-frame-on-current-activity () |
|
|
|
|
(select-frame-on-activity (kde-current-activity)) |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
;; * start server named after kde activity name |
|
|
|
|
(setq server-name (kde-current-activity-name)) |
|
|
|
|
(server-start) |
|
|
|
|
#+END_SRC |
|
|
|
|
|