Files
seid/initialize.el
2025-11-11 09:40:24 -05:00

82 lines
2.4 KiB
EmacsLisp

;; initialization.el
;; This file is part of the SEID project.
;; Copyright (c) 2024, 2025 Scott C. MacCallum (scm.sdf.org).
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU Affero General Public License for more details.
;; You should have received a copy of the GNU Affero General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;; Change this variable to the group that should be informed of a need to
;; charge the battery. On GNU/Linux distributions users are often part of
;; a group that is the same as their login name, which works well if you only
;; want your user to be informed on the console.
;; Configure GNU Emacs and load the Elisp files
;; Disable colors in the tty
(push '(tty-color-mode . no) default-frame-alist)
;; Disable menu bar
(menu-bar-mode -1)
;; Disable the tool bar
(tool-bar-mode -1)
;; Disable startup message
(setq inhibit-startup-screen t)
;; Enable column number mode
(column-number-mode t)
;; Display the time in 12-hour format
(display-time-mode t)
;; Scroll one line at a time
(setq scroll-conservatively most-positive-fixnum)
;; Load the bboard function
(let((file(concat(getenv "HOME")"/seid/bboard.el")))
(load-file file))
;; Load the com function
(let((file(concat(getenv "HOME")"/seid/com.el")))
(load-file file))
;; Load the email function
(let((file(concat(getenv "HOME")"/seid/email.el")))
(load-file file))
;; Load the irc-sdf function
(let((file(concat(getenv "HOME")"/seid/irc_sdf.el")))
(load-file file))
;; Load the term-local function
(let((file(concat(getenv "HOME")"/seid/terminal_local.el")))
(load-file file))
;; Load the term-sdf function
(let((file(concat(getenv "HOME")"/seid/terminal_sdf.el")))
(load-file file))
;; Load the vintage function
(let((file(concat(getenv "HOME")"/seid/vintage.el")))
(load-file file))
;; Load the vps function
(let((file(concat(getenv "HOME")"/seid/vps.el")))
(load-file file))
;; Load the seid-functions text file
(let((file(concat(getenv "HOME")"/seid/function")))
(find-file file))