help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [closed]Re: Saving window config using desktop globals


From: Emanuel Berg
Subject: Re: [closed]Re: Saving window config using desktop globals
Date: Wed, 16 Dec 2015 03:27:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Tim Johnson <tim@akwebsoft.com> writes:

> From further research, it appears to not be
> possible, as the window configs are in C code,
> not elisp.

Again, if one focuses on the problem, and not on the
particular technology that is perceived to be the
solution, one could do it like this in Elisp:

(defun load-homepage-project ()
  (interactive)
  (delete-other-windows)
  (cd "~/public_html")
  (find-file "style.css")
  (split-window-vertically)
  (find-file "index.html")
  (window-resize nil 5)
  ;; etc.
  
  ;; here, store the window configuration into a register
  ;; as shown in previous code in this thread
)

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]