85 lines
2.2 KiB
EmacsLisp
85 lines
2.2 KiB
EmacsLisp
;; init.el
|
|
|
|
;; GNU Emacs initialization for SDF usage.
|
|
;; 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.
|
|
|
|
;; Disable menu bar
|
|
(menu-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)
|
|
|
|
;; Automatically refresh a buffer when a change is detected
|
|
(global-auto-revert-mode t)
|
|
|
|
;; bboard
|
|
(ansi-term "/home/scm/seid/bboard.sh")
|
|
(rename-buffer "bboard")
|
|
|
|
;; com
|
|
(ansi-term "/home/scm/seid/com.sh")
|
|
(rename-buffer "com")
|
|
|
|
;; mail
|
|
(ansi-term "/home/scm/seid/mail.sh")
|
|
(rename-buffer "mail")
|
|
|
|
;; irc-fsf
|
|
(ansi-term "/home/scm/seid/irc-fsf.sh")
|
|
(rename-buffer "irc-fsf")
|
|
|
|
;; irc-sdf
|
|
(ansi-term "/home/scm/seid/irc-sdf.sh")
|
|
(rename-buffer "irc-sdf")
|
|
|
|
;; moo
|
|
(ansi-term "/home/scm/seid/moo.sh")
|
|
(rename-buffer "moo")
|
|
|
|
;; term-local
|
|
(ansi-term "/bin/bash")
|
|
(rename-buffer "term-local")
|
|
|
|
;; term-sdf
|
|
(ansi-term "/home/scm/seid/term-sdf.sh")
|
|
(rename-buffer "term-sdf")
|
|
|
|
;; vintage
|
|
(ansi-term "/home/scm/seid/term-sdf.sh")
|
|
(rename-buffer "vintage")
|
|
|
|
;; vps
|
|
(ansi-term "/home/scm/seid/term-sdf.sh")
|
|
(rename-buffer "vps")
|
|
|
|
;; www
|
|
(ansi-term "/home/scm/seid/www.sh")
|
|
(rename-buffer "www")
|