Re: Emacs ignoring my settings in ~/.emacs after Debian SID Upgraded
- To: firstname.lastname@example.org
- Subject: Re: Emacs ignoring my settings in ~/.emacs after Debian SID Upgraded
- From: Marc Auslander <email@example.com>
- Date: Tue, 03 Jan 2012 10:25:05 -0500
- Message-id: <[🔎] firstname.lastname@example.org>
- In-reply-to: <if1Pr-6Ncemail@example.com>
- References: <ieqwy-2gUfirstname.lastname@example.org> <iesRIemail@example.com> <ieTyy-1fDfirstname.lastname@example.org> <ieUbh-28Semail@example.com> <if1Pr-6Ncfirstname.lastname@example.org>
Vincent Lefevre <email@example.com> writes:
> The window geometry is usually not stored in the .emacs file (that
> would be a bad idea because the window appears before this file is
> read). It is configured via the X resources. As XDM and GDM do not
> read the same X init files, here's the potential problem.
In my experience, if you set the geometry in the initial-frame-alist
the intitial window resizes to that setting.
This takes a bit of doing.
I have a helper function:
;;; useful function for modifying alists like default-frame-alist
(defun modify-alist (alist changes)
"In ALIST, modify or add entries in changes, returning new alist"
(setq next (car changes) changes (cdr changes))
(setq alist (append (delq (assoc (car next) alist) alist) (list next))))
and then do things like:
'((height . 44) (width . 81)
(left . 510)(top . 30)
(mouse-color . "white")))
'((left . 0)(top . 0))
to get my configuration as I like it.
I actually test for which window system and how I got started and have