;;; voli@gmx.de's
;;; ___ _ __ ___ __ _ ___ ___
;;; / _ \ '_ ` _ \ / _` |/ __/ __|
;;; | __/ | | | | | (_| | (__\__ \
;;; (_)___|_| |_| |_|\__,_|\___|___/
;;; Time-stamp: <2023-05-28 11:39:01 voli>
;;; (version)"GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X
;;; toolkit, cairo version 1.16.0, Xaw scroll bars) of 2023-04-19"
;;; (shell-command-to-string "uname -a")"Linux marescot 6.3.0-rc7-vol+
;;; #490 SMP PREEMPT_DYNAMIC Wed Apr 19 00:05:19 CEST 2023 x86_64
;;; GNU/Linux"
(message "Hier beginnt gnu-emacs")
;;; __ _ _
;;; / _| ___ __ _| |_ _ _ _ __(_)_ __ __ _
;;; | |_ / _ \/ _` | __| | | | '__| | '_ \ / _` |
;;; | _| __/ (_| | |_| |_| | | | | | | | (_| |
;;; |_| \___|\__,_|\__|\__,_|_| |_|_| |_|\__, |
;;; |___
(setq user-emacs-source-directory (concat user-emacs-directory "elisp/"))
(add-to-list 'load-path (expand-file-name user-emacs-source-directory))
(let ((default-directory user-emacs-source-directory))
(normal-top-level-add-subdirs-to-load-path))
(mapc 'require '(blom-cred blom-bbdb blom-erc blom-eshell
blom-gnus blom-org disable-mouse
org-alert persistent-scratch package
))
;;; __ __
;;; \ \ / /_ _ _ __ ___ _ __ ___ __ _ _ __
;;; \ \ / / _` | '__/ __| | '_ ` _ \ / _` | '_ \
;;; \ V / (_| | | \__ \ | | | | | | (_| | | | |
;;; \_/ \__,_|_| |___/ |_| |_| |_|\__,_|_| |_|
;;; manuell gesetzte Variable
(setq
make-backup-files nil
;;; auto-save-default nil
;;; delete-old-versions t
auto-insert-directory "~/.emacs.d/Vorlagen"
blink-matching-paren 'jump
;;; browse-url-browser-function 'browse-url-generic
;;; create-lockfiles nil
;;; dired-auto-revert-buffer t
display-time-day-and-date t
display-time-24hr-format t
display-time-use-mail-icon t
enable-local-eval t
font-lock-maximum-decoration t
;;; history-length 2500
inferior-lisp-program "/usr/bin/sbcl"
inhibit-startup-message t
initial-scratch-message t
scroll-error-top-bottom t
switch-to-buffer-preserve-window-point t
system-name "Philosophischer-Nacht-und-Sonntagsdienst.de"
use-dialog-box nil
visible-bell t
)
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
;;; ("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
;;; _____ _
;;; |_ _|_ _ ___| |_ ___ _ __
;;; | |/ _` / __| __/ _ \ '_ \
;;; | | (_| \__ \ || __/ | | |
;;; |_|\__,_|___/\__\___|_| |_|
;;; Tastaturbelegung
;;; Barrierefreiheit für mich
;;; Standard-Größe setzen, die alles andere überschreibt. Sie ist groß.
(setq schriftgroesse 200)
(set-face-attribute 'default nil :height schriftgroesse)
(setq scale-intervall 10)
(defun font-scale-up ()
(interactive)
(setq schriftgroesse (+ schriftgroesse scale-intervall))
(set-face-attribute 'default nil :height schriftgroesse))
(defun font-scale-down ()
(interactive)
(setq schriftgroesse (- schriftgroesse scale-intervall))
(set-face-attribute 'default nil :height schriftgroesse))
(global-set-key [(control +)] #'font-scale-up)
(global-set-key [(control -)] #'font-scale-down)
(global-set-key [(control c) (m)] #'menu-bar-mode)
(global-set-key [(control q)] #'delete-frame)
(global-set-key [(control shift left)] #'bs-cycle-previous)
(global-set-key [(control shift right)] #'bs-cycle-next)
(global-set-key [(control tab)] #'hippie-expand)
;;; (global-set-key [(control s)] #'swiper)
(global-set-key [(control x) (control c)] #'delete-frame)
(global-set-key [(control x) (control f)] #'ido-find-file) ;;; ido-find-file
(global-set-key [(control x) (control r)] #'recentf-open-files)
(global-set-key [(meta tab)] #'hippie-expand)
;;; (global-set-key [(super x)] #'hippie-expand)
(global-set-key [(super tab)] #'hippie-expand)
(global-set-key [f1] #'gnus)
(global-set-key [f2] #'delete-other-windows)
(global-set-key [f3] #'ibuffer) ;;; #'bs-show) ;;; #'ido-switch-buffer )
(global-set-key [f4] #'(lambda () (interactive) (eshell "new")))
(global-set-key [f5] #'(lambda()(interactive)(insert system-name)))
(global-set-key [f6] #'other-window)
;;;(global-set-key [f7] #'mingus)
(global-set-key [f8] #'org-capture)
;;; _ _
;;; __ _| (_) __ _ ___
;;; / _` | | |/ _` / __|
;;; | (_| | | | (_| \__ \
;;; \__,_|_|_|\__,_|___/
;;;
;;; Aliase
(defalias 'yes-or-no-p 'y-or-n-p)
;;; _ _
;;; / \ _ _ ___ ___ ___| |__ ___ _ __
;;; / _ \| | | / __/ __|/ _ \ '_ \ / _ \ '_ \
;;; / ___ \ |_| \__ \__ \ __/ | | | __/ | | |
;;; /_/ \_\__,_|___/___/\___|_| |_|\___|_| |_|
;;;
;;; (set-frame-height (selected-frame) 40)
;;; Zufallsthema aus heruntergeladenen Elpa-Themen wählen:
(if window-system
(let* ((ithemes '(dark-mint
afternoon
ample arc-dark chocolate spacegray
dark-krystal abyss atom-dark darkmine
ancient-one-dark
chocolate afternoon arjen-grey dark-mint spacegray
arc-dark ample ample-flat apropospriate-dark
darktooth darkburn alect-black-alt alect-dark-alt
alect-dark alect-black forest-blue
solarized-selenized-dark solarized-gruvbox-dark solarized-dark
solarized-dark-high-contrast
solarized-wombat-dark solarized-selenized-black
solarized-zenburn soothe grandshell chocolate afternoon
birds-of-paradise-plus arjen-grey hamburg naga noctilux
dark-mint spacegray northcode gotham arc-dark ample ample-flat
gruber-darker apropospriate-dark darcula
fantom darktooth exotica darkburn atom-one-dark dakrone mood-one
humanoid-dark distinguished alect-black-alt alect-dark-alt
alect-dark alect-black flatui-dark
))
(zufallsfarbschema (nth (random (length ithemes))
ithemes)))
(load-theme zufallsfarbschema t)
(add-to-list 'mode-line-misc-info (list (concat "[Theme: " (symbol-name zufallsfarbschema) "] ")))
(message (concat "Zufalls-Theme ist: " (symbol-name zufallsfarbschema)))))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(canlock-password "c60d642e0c344ba21dcb8858299327f5d618c377")
'(connection-local-criteria-alist
'(((:application tramp :protocol "flatpak")
tramp-container-connection-local-default-flatpak-profile)
((:application tramp)
tramp-connection-local-default-system-profile tramp-connection-local-default-shell-profile)
((:application eshell)
eshell-connection-default-profile)))
'(connection-local-profile-alist
'((tramp-container-connection-local-default-flatpak-profile
(tramp-remote-path "/app/bin" tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin"))
(tramp-connection-local-darwin-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,uid,user,gid,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state=abcde" "-o" "ppid,pgid,sess,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etime,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . tramp-ps-time)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-busybox-ps-profile
(tramp-process-attributes-ps-args "-o" "pid,user,group,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "stat=abcde" "-o" "ppid,pgid,tty,time,nice,etime,args")
(tramp-process-attributes-ps-format
(pid . number)
(user . string)
(group . string)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(ttname . string)
(time . tramp-ps-time)
(nice . number)
(etime . tramp-ps-time)
(args)))
(tramp-connection-local-bsd-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,euid,user,egid,egroup,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state,ppid,pgid,sid,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etimes,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(group . string)
(comm . 52)
(state . string)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . number)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-default-shell-profile
(shell-file-name . "/bin/sh")
(shell-command-switch . "-c"))
(tramp-connection-local-default-system-profile
(path-separator . ":")
(null-device . "/dev/null"))
(eshell-connection-default-profile
(eshell-path-env-list))))
'(initial-frame-alist '((fullscreen . maximized)))
'(package-selected-packages
'(nerd-icons shell-maker chatgpt-shell osm etc-sudoers-mode systemd vertico bash-completion empv file-info ibrowse org-habit-stats desktop-environment mastodon all-the-icons all-the-icons-completion all-the-icons-dired all-the-icons-gnus dashboard dashboard-hackernews use-package package eshell-did-you-mean esh-help esh-autosuggest eshell-fringe-status dirvish websearch atom-one-dark-theme birds-of-paradise-plus-theme distinguished-theme exotica-theme fantom-theme flatui-dark-theme forest-blue-theme gotham-theme grandshell-theme gruber-darker-theme hamburg-theme humanoid-themes iceberg-theme klere-theme kooten-theme liso-theme lush-theme madhat2r-theme mood-one-theme naga-theme nimbus-theme noctilux-theme northcode-theme with-editor w3m spacegray-theme shimbun persistent-scratch org-modern org-alert doom-modeline disable-mouse darktooth-theme darkokai-theme darkmine-theme darkburn-theme dark-souls dark-mint-theme dark-krystal-theme darcula-theme dakrone-theme crontab-mode chocolate-theme calmer-forest-theme bbdb atom-dark-theme arjen-grey-theme arc-dark-theme apropospriate-theme ancient-one-dark-theme ample-theme alect-themes afternoon-theme abyss-theme)))
;;; __ __ _
;;; | \/ |_ _| | ___
;;; | |\/| | | | | |/ _ \
;;; | | | | |_| | | __/
;;; |_| |_|\__,_|_|\___|
;;; Unicode: 🎂🎂🎂 : geht mit installierten unicode + unifont-Fonts.
(prefer-coding-system 'utf-8)
(set-language-environment "utf-8")
(setq default-input-method "german")
(set-default-coding-systems 'utf-8)
;; Treat clipboard input as UTF-8 string first; compound text next, etc.
;; (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(setq
x-select-enable-clipboard t
x-select-enable-primary t)
;;; __ __ _ _
;;; | \/ | ___ __| (_)
;;; | |\/| |/ _ \ / _` | |
;;; | | | | (_) | (_| | |
;;; |_| |_|\___/ \__,_|_|
;;; Modi
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
(ido-mode 1)
(auto-compression-mode 1)
(auto-encryption-mode 1)
(auto-fill-mode nil)
(auto-image-file-mode)
(auto-insert-mode t)
(blink-cursor-mode 1)
(display-time-mode 1)
(electric-pair-mode 1)
(global-disable-mouse-mode 1)
(global-font-lock-mode 1)
(icomplete-mode 1)
(iimage-mode 1)
(menu-bar-mode 0)
(persistent-scratch-setup-default)
(recentf-mode 1)
(savehist-mode 1)
(semantic-mode 1)
(set-default 'indicate-empty-lines t)
(show-paren-mode 1)
(tool-bar-mode 0)
(tooltip-mode 1)
(transient-mark-mode 1)
(visual-line-mode 1)
;;;(electric-layout-mode 1)
;;;(file-name-shadow-mode 1)
(org-alert-enable)
(setq auto-insert-alist
(nconc '(("\\.el$" . "elisp-insert.el") ;Reihenfolge wichtig!
("\\.sh$" . "sh-template")
("brief" . "brief.org")
("\\.tex$" . "aufsatz.tex"))
auto-insert-alist))
(if window-system
(setq browse-url-browser-function (quote browse-url-generic)
browse-url-generic-program "~/bin/vol-web")
;;; (setq browse-url-browser-function (quote eww-browse-url)))
(setq browse-url-browser-function (quote eww-browse-url)))
;;; _ _ _
;;; | | | | ___ ___ | | _____
;;; | |_| |/ _ \ / _ \| |/ / __|
;;; | _ | (_) | (_) | <\__ \
;;; |_| |_|\___/ \___/|_|\_\___/
;;;
;;; Hooks
(add-hook 'before-save-hook 'time-stamp)
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
(add-hook 'prog-mode-hook (lambda ()
(setq show-trailing-whitespace t)
(show-paren-mode 1)
;;; (turn-on-eldoc-mode)
))
;;; (add-to-list 'auto-mode-alist '("\\.fish\\'" . shell-script-mode))
;;; (add-hook 'fish-mode-hook (lambda ()
;;; (add-hook 'before-save-hook 'fish_indent-before-save)))
;;; ____ __ __ __ __ _
;;; | __ ) _ _ / _|/ _| ___ _ __ | \/ | __ _ __ _(_) ___
;;; | _ \| | | | |_| |_ / _ \ '__|____| |\/| |/ _` |/ _` | |/ _ \
;;; | |_) | |_| | _| _| __/ | |_____| | | | (_| | (_| | | __/
;;; |____/ \__,_|_| |_| \___|_| |_| |_|\__,_|\__, |_|\___|
;;; |___/
;;; Dateien, die immer präsent sein sollen.
(mapc 'find-file-noselect '("~/.emacs.d/elisp/gnu-emacs"
"~/.emacs.d/elisp/blom-gnus.el"
"~/.emacs.d/elisp/blom-eshell.el"
"~/.emacs.d/elisp/blom-org.el"
"~/.emacs.d/elisp/blom-erc.el"
"~/.emacs.d/elisp/blom-bbdb.el"
;;; "~/.emacs.d/diabetes-zeugs/diabetes-daten.el"
;;; "~/.config/i3/config"
;;; "~/.config/i3blocks/config"
;;; "~/.config/i3status/config"
;;; "~/.config/fish/config.fish"
"~/.zshrc.local"
))
;;; _____ _ _
;;; |_ _|__ ___| |_(_)_ __ __ _
;;; | |/ _ \/ __| __| | '_ \ / _` |
;;; | | __/\__ \ |_| | | | | (_| |
;;; |_|\___||___/\__|_|_| |_|\__, |
;;; |___/
;; sudoers mode
;;; (use-package etc-sudoers-mode)
;; systemd mode
;;; (use-package systemd)
;;; __ __ _
;;; \ \ / /_ _ _ __ ___ ___ _ _ ___| |_
;;; \ \ / / _` | '__/ __| / __| | | / __| __|
;;; \ V / (_| | | \__ \ | (__| |_| \__ \ |_
;;; \_/ \__,_|_| |___/ \___|\__,_|___/\__|
;;;
;;; Variable via M-x customize
(setq initial-major-mode 'org-mode)
;;;
;;; ___ _ __ ___ __ _ ___ ___ ___ ___ _ ____ _____ _ __
;;; / _ \ '_ ` _ \ / _` |/ __/ __|_____/ __|/ _ \ '__\ \ / / _ \ '__|
;;; | __/ | | | | | (_| | (__\__ \_____\__ \ __/ | \ V / __/ |
;;; \___|_| |_| |_|\__,_|\___|___/ |___/\___|_| \_/ \___|_|
;;;
;;; emacs-server, schön einfach und so praktisch, emacs-Aufruf jetzt
;;; *immer* mit Batch:
;;; ,---- textedit ----
;;; | #!/bin/sh
;;; | exec emacsclient -c --alternate-editor="emacs" "$@"
;;; `----
;;; startet jetzt als emacs --daemon
;;; (server-start)
(use-package server
:ensure nil
:hook (after-init . server-mode))
;;; (org-agenda-list)
(setq initial-buffer-choice 'org-agenda-list)
(use-package dashboard
:after all-the-icons
:config
(dashboard-setup-startup-hook)
:custom
(dashboard-items '((recents . 5)
(projects . 5)
(agenda . 5)))
(dashboard-set-footer nil)
(dashboard-set-init-info t)
(dashboard-center-content t)
(dashboard-set-file-icons t)
(dashboard-set-heading-icons t)
(dashboard-startup-banner 'logo))
(message "Hier endet gnu-emacs")
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
Created: 2023-06-08 Do 21:26
Validate