reddit / emacs

Issues with Displaying Fancy Diary as Initial Buffer

PersonalityOwn4076 · 2022-03-21 20:20
For some reason my emacs is launching in split screen (horizontal) with the top half being Messages and the bottom half being Fancy Diary. Nothing in my `.emacs` explains why it is launching in split screen. I also tried killing Messages on launch but it didn't work because it just brings in the scratch and Messages buffres on start. Below are the relevant pieces on my `.emacs` file. Diary info: ``` (setq initial-buffer-choice 'diary-fancy-display-mode) ;desktop notifications (require 'notifications) (defcustom appt-notification-bus :session "dbus notifications" :version "29.05" :group 'appt-notification :type '(choice (const :tag "Session bus" :session) string)) (defun user/appt-display (min-to-app new-time msg) "sends notifications" (notifications-notify :bus appt-notification-bus :title (format "Appointment in %s minutes" min-to-app) :body (format "%s" msg) :replaces-id nil :app-icon notifications-application-icon :timeout 8000 :desktop-entry "diary")) (setq appt-disp-window-function (function user/appt-display)) (setq-default diary-file "/home/alarm/.emacs.d/diary" appt-display-format 'window appt-display-duration 60 appt-audible t appt-display-interval 15 appt-message-warning-time 15 display-time-24hr-format t display-time-day-and-date t) (appt-activate t) ``` Misc launch stuff ``` (kill-buffer "*scratch*") (setq inhibit-splash-screen t) (setq inhibit-startup-screen t) (scroll-bar-mode -1) ;(kill-buffer "*Messages*") ```
iaeung · 2022-03-22 06:47
Idk exactly. Would read display-buffer docs first thing.