Mobilization

by Joel Limardo

Software Developer and IT Professional

Chicago, IL

joel@joellimardo.com

SIP Phone (researching...)

Workadventure Workadventure (researching...)


Downstream Project Status

BixChange

33%

LIMSExpert.com

28%

Upstream Projects

Joellimardo.com Project Cleanup




Sat, 03 Jun 2023

Setting Emacs Windows in Code

(defun draw-up-windows (datFile)
(interactive "sPlease enter the package .DAT name: ")
(progn
(split-window-right)
(other-window 1)
(split-window-below)
(other-window 2)
(find-file datFile)
))

Above I define a function that asks the user for a file name, splits up the windows, moves around between them, and finally loads the file. For a very long time I have been doing this manually every time I open Emacs. I know there is a way to store these layouts to a file and restore them but I would rather just use code.

/technical/upstream/emacs Permanent Link Project Sitemap Top